23. April, 2006
Wordpress Widget: King Text (+php) (+html)
"Another Text Widget? Why the hell would i need that?"
Well read on and it might convince you.
Features

Version 0.69 NEW Features
- Randomize Widget Content. Split the content with the <!–more–> Tag and it will shuffle the text or php code inside.
- Remote Version checking
- Option for using the Javascript Slide Open/Close function
- Where NOT to show. Select Side Area where the widget is not be shown on (i.e. everywhere but Home) this can be combined with the show in category
- changed the license type
Version 0.63:
- 20 Text Boxes
- set HTML before/after seperatly for each Widget OR takes widget before/after HTML from functions.php if left empty
- Menu in which Website Area to show the Widget on. New Options are:
- show on Home / Search / Archive or 404 page
- show on all or special single Page. You can set the id or slug of the Page where to show
- show on all or special single Article You can set the id or slug of the Article where to show
- show on all or special Category Listing You can set the id of the Category where to show
- Show if inside a special Category. If in list List or on single Article
You find all Options explained in the Wordpress Codex in Conditional Tags make sure to definitly read this if you are using those Options!
– new ajax menu
Version 0.5
- Choose whether to have php or just html in the widget. With php in the widget you can for example use any Wordpress call. So if you are missing any Wordpress or Plugin functions in widgets insert them there.
- choose in which category the widget shall appear
- 4 html fields to custmize html before/after widget and title
- based on the king widget framework
- Fully localizable with gettext Translation (German Translation included)
Screenshot
German and English Admin Screens (Version 0.6+ foldable menu, updated screens are comming)
Comming Features
- Randomly show box Content devided by <!–more–> Tag like in AdRotator. so you also rotate php code or anything else
- Option to show widget to a specific Role -> use wordpress capabilities (I will give this a priority if someone asks/pays for it)
- set initial JS Open or Close State + JS Open/Close Time
- make use of is_home / is_single or other conditional tags -> what do you think?
- What else would you like to see? Please comment!
Install
Of course you should have wordpress widgets installed and activated. If not, you can find the download and install instructions over at automattic.com
- Copy king_text.php into your plugins widget folder -> where your widgets.php is !!!
- Copy the King Widget Framework in /king-includes into /plugins if you have not already another King Widget installed
- activate in Pluginarea.
- Drag the King Text Widget on one of your sidebars and play with the options.
Usage
Show Content Randomly
- insert the <!–more–> tag between you text or php content
Use JS Slide Open/Close
- Hint: When used together with Random Content the Javascript does not instantly recognize the new height of the box. After toggling it the height is ok.
Here are the steps to be taken. If you don´t understand those you can simply forget about this function
1. Go into the new King Framework Options Panel and activate the "Insert Sliding Javascript to Head"
2. go to the text widget html options and activate "Use Sliding Box"
3. The difficult part:
You have to fill the custom html options fields(or use this inside the textbox). The Box needs to be wrapped in a collappsible elemet(div/li/p) with aspecial ID and you have to give the click event to some element. Since this can vary with your blogtemplate i left this up to you.
Standart Options which should work with the default Template: (please check the " when copy/paste)
HTML Before Widget: <li>
HTML before widget Title: <h2 onClick="textslide1.toggle();" ><li>
HTML after widget Title: </h2><div id="text1">
HTML after widget: </div></li>
When you have multiple Boxes you just have to adapt the numbers in textslide1.toggle -> textslide2.toggle and of course the id text1 -> text2
Upgrade
For Version 0.69 you also need to get the changed King Widget Framework which is now available separate.
After upgrading your framework just replace king-test.php with the new one. Your textboxes content should remain unchanged.
Download
Version 0.69
king-text_0.69.zip (05.07.2006 01:13)
don´t forget to get the king-widget framework Version 0.68 or greater.
Version 0.63
king-text_0.63.zip (09.05.2006 16:13)
Please don´t hesitate to give me a feedback if this is usefull or if you think you found a bug!
Have fun!
Georg Leciejewski
Verwandte Artikel:



126 Kommentare zu “Wordpress Widget: King Text (+php) (+html)”
Pingback von Blogging Pro China » Blog Archive » WordPress Widget: King Text am 24. April, 2006 um 15:34
[...] King Text,在测栏输出一个文本框,可以使用html代码或者php代码,可以自定义标题和格式。 sidebar text [...]
Kommentar von ss am 25. April, 2006 um 14:54
Suggestion:
1.show customed title bit king text1 text2…,etc.
2.number of text box can be over 10.
Thanks, it is a good plugin~
Kommentar von Administrator am 25. April, 2006 um 15:13
thanks for the feedback:
1. yeah i´ve thinking about that. Since the boxes are indentified by the name, kind of tricky. but actually a must.
2. no problem, i will increase it in the next version to 20!
Kommentar von PurpleRain am 26. April, 2006 um 9:12
Oh my god, king plz help:
Warning: widget_king_categories_register(widgets.php): failed to open stream: No such file or directory in /home/../../../wp-content/plugins/king-categories.php on line 471
Kommentar von MP:Schorsch am 26. April, 2006 um 9:56
Here comes the brave knight …
1. you have to have the widgets plugin by Automattic installed first!
2. put my widgets into the folder you have your widgets in. (most likley plugins/widgets/..)
3. Put the Kings framework folder into plugins/king-includes
The king widgets in your case can´t find the widget.php wich belong to the widget plugin.
Pingback von WordPress Widgets » Blog Archive » King Text am 28. April, 2006 um 20:35
[...] Yes, another Text Widget. This one accepts PHP code and can be assigned to specific categories so it doesn’t have to always show up on the page. [...]
Kommentar von bob am 2. Mai, 2006 um 19:39
i have this problem with king text:
Warning: widget_king_text_register(widgets.php): failed to open stream: No such file or directory in /var/www/sdb/8/9/moax/MOA/wp-content/plugins/king-text.php on line 281
Warning: widget_king_text_register(): Failed opening ‘widgets.php’ for inclusion (include_path=’/var/www/sdb/8/9/moax/include:.’) in /var/www/sdb/8/9/moax/MOA/wp-content/plugins/king-text.php on line 281
Kommentar von MP:Schorsch am 2. Mai, 2006 um 23:06
@Bob
This is not the problem of my widget:
you are missing the widgets plugin, or did not put the king-text.php in the same directory as the widgets.php (the widgets plugin)
Kommentar von peb am 8. Mai, 2006 um 3:21
Really a great plugin, and greatly expands the versatility of widgets.
I’d like to give some users access to these, but I’m unwilling to give them the capability to use php in scripts unless I know that they know what they’re doing.
So, it would be nice to have a feature to set a minimum level for including php in any widget. Just a thought for the future.
In any event this is a really nice effort that is very much appreciated.
Pingback von Chintz Cottage | King Widgets am 9. Mai, 2006 um 1:09
[...] I decided to give King Text a plug and preserve the link for myself. I would not be using widgets without this excellent text widget that allows for php. I think I have used it four times in my sidebar. [...]
Kommentar von peb am 9. Mai, 2006 um 15:21
I ran into a small problem with King Text.
The widget does not seem to populate many parameters with defaults. In particular, default WIDGET HTML code is simply blanked rather than being filled with default values. I’ve been able to work around this by manually inserting the values. The widget code assigns actually assigns these defaults initially, but never populates the form so that when the form is updated, the resulting fields are blank, and do not contain the default data.
I don’t have King Categories loaded now, but I think there’s a default location that triggers display that is supposed to be index.php that suffers the same fate.
Neither of these are serious problems, but I had to scratch my head a few times trying to figure out why the “default” values never showed up, and I have to manually enter everything rather than modifying a default when I use the widget. OTOH, these widgets allow me to do things I couldn’t do with any other widget, so I still gladly use them.
Kommentar von MP:Schorsch am 9. Mai, 2006 um 16:20
thanx 4 the feedback, i had some probs with the defaults too, so this morning i recoded the widgets html fields so that they would use the presets from the functions.php (like the original widgets) if left empty.
Anyway, because the text widget is so versatile i took the defaults switch out.
But concerning the other widgets:
I might take the html fields out of my default setting switch, so that they are left empty when the defaults are choosen.
With such i can concetrate on the other default settings and will revise them too.
Please check out the new text widget version 0.63 + framework
Kommentar von chrisblack am 12. Mai, 2006 um 16:16
help please??
Warning: require_once(D:\webworld\bantryyouth\bantryyouth.net\www\wordpress/wp-content/
plugins/king-includes/library/king_widget_functions.php) [function.require-once]: failed to open stream: No such file or directory in D:\webworld\bantryyouth\bantryyouth.net\www\wordpress\wp-content\plugins\widgets\king-text.php on line 360
Kommentar von chrisblack am 12. Mai, 2006 um 16:41
whoops… i jumped here from wp widegtes page – i missed out on installing king framework!!!
Chris
Kommentar von German am 25. Mai, 2006 um 11:40
Hi guys,
how I can place the title of text widget and the text on different rows? (I use your king text widget and put in it the UTW cloud). You can look what I mean on my blog.mobilet.ru – the very bottom widget on sidebar. There “Теги” is Titie, and cloud is php text.
Kommentar von MP:Schorsch am 25. Mai, 2006 um 12:07
you can use the before/after widget and title text fields under the HTML Options.
just insert a break or some other html.
Kommentar von chrisblack am 25. Mai, 2006 um 12:12
I’m using the hemingway theme, that incorporates blocks rather than widgets… (discussion board @ discuss.warspire.com )
Is it possible to incorporate king text etc.. into this?
Chris
Kommentar von MP:Schorsch am 25. Mai, 2006 um 12:26
It should be possible, but you have to check that for yourself. I haven´t had a chance to look into hemmingway.
it only depends on how you define your sidebars in the templates.
Pingback von La Bitácora del Tigre · Disfrutando con Tarski am 4. Juni, 2006 um 23:58
[...] Para empezar, el hecho de que Tarski permita trabajar con los Widgets me ha liberado de la ingrata tarea de editar “a pedaleta” el código PHP de la barra lateral. Gracias al plugin King Text Widget, puedo arrastrar allí todos los fragmentos de código que me apetezcan (HTML o PHP o una mezcla de ambos, indistintamente), porque Widgets y sus plugins asociados se encargan de dejarlo todo en orden y bien compuesto; “niquelao”, que diría un castizo. [...]
Pingback von Chris White » Blog Archive » Now Reading Is Great am 8. Juni, 2006 um 22:57
[...] Now if only I could get the widget working as well, for some reason it doesn’t seem to want to figure out that the Now Reading is actually installed and working. I’m using Rob’s alternative for hard-coding it right into the sidebar but executing the code in a King Text Widget that allows for PHP and gives me at least some of the flexibility of Rob’s widget, but I’d love to figure out why the widget isn’t working. I have tried the usual uninstall and reinstalls, even in different orders, to no avail. The odd thing is that after doing some browsing it doesn’t look like anyone else is having this problem. [...]
Kommentar von Chris am 9. Juni, 2006 um 22:07
I’ve installed all files correctly but king-text doesn’t show up in the widgets menue.
Kommentar von anshul am 10. Juni, 2006 um 0:09
I have 2 feature requests!
1) is NOT in the following areas
– can be useful to show some text on all pages but the home page!
2) Add is_author to the list of areas.
Great plugins! Thanks a lot!
Kommentar von anshul am 10. Juni, 2006 um 9:29
Instead of 1) in #22, I want to make the following suggestion.
Use checkboxes insted of a dropdown list for areas where the wisget should be shown.
One should be able to select multiple areas where the widget can be displayed rather than restriciting it to a single area.
This would be a great feature in almost all king widgets! Thanks a lot
Kommentar von Dennis am 10. Juni, 2006 um 11:52
Thanks for a great plugin! It is one of the most useful plugins I am using. It is hard a at work on http://www.xeep.net.
Kommentar von Nimue Sionnach am 15. Juni, 2006 um 11:46
besteht eigentlich die möglichkeit, das widget so umzustricken, daß zb. die anzeige auf
home
archiv der category 3
allen einzelseiten der category 3
möglich ist?
Beispiel: http://www.spiegelland.de.hm
der mondkalender soll auf der Startseite in der kategorie “Jahresrad” (http://www.sternengarten.info/fauna/?cat=48) und bei bei der artikelansicht (http://www.sternengarten.info/fauna/?p=160) in dieser kategorie angezeigt werden.
Das gleiche wäre beim king catgories widget nötig.
ja… ich weiß… frauen und sonderwünsche …
Kommentar von MP:Schorsch am 15. Juni, 2006 um 13:28
@Nimue:
na gegen so einen weiblichen Sonderwunsch habe ich nichts einzuwenden
ich habe bereits versucht ein widget so umzubauen, es aber nicht hinbekommen (ist damn tricky).
Dafür habe ich gestern einen Schalter gebaut welcher die Anzeige “überall ausser in XY” erlaubt. XY kann dann eine der bekannten auswahlmöglichkeiten unter “wo anzeigen?” sein.
..krasse Mondphase
Kommentar von donzacharias am 21. Juni, 2006 um 18:43
Hi, thanks for making such a useful plugin! I’m having trouble using the results of a custom select query inside a King Text widget. Here is the page:
http://wp.sacrag.com/
the area in question is the error in the second SELECT in the right column. The following PHP is in the HEAD:
$authorsArchives = $wpdb->get_results("SELECT * FROM $wpdb->users");and then the following PHP is used in a King Text widget:
`
user_nicename; ?>">display_name; ?>
and you see what that does on the above link. I’m guessing it has something to do with the scope of $wpdb but I don’t really understand how to fix that. Can anybody help?
Thanks!
Kommentar von donzacharias am 21. Juni, 2006 um 19:09
sorry for the junk code… that second section should read
<code><?php foreach ($authorsArchives as $authorArchiveLink): ?>
<option value=”<?php echo $authorArchiveLink->user_nicename; ?>”><?php echo $authorArchiveLink->display_name; ?></option>
<?php endforeach; ?></code>
thanks again
Kommentar von MP:Schorsch am 21. Juni, 2006 um 20:47
@donzacharias:
Sorry i don´t have a quick answer on that. (maybe try setting global $wpdb; before using it)
I´m bussy proggin a remote version check for all of my king widgets.
Maybe you should take some internal wp call to get the authors (check codex)and than populate the dropdown with that.
What i take from your problem is that i might implement an author/Date dropdown in my King Search Widget.
Kommentar von Josh am 28. Juni, 2006 um 18:06
I look forward to the “rotator” function — of course, I’m not complaining, either. The King family of widgets is fantastic already!
Kommentar von Roland am 28. Juni, 2006 um 21:03
Großartiges Ding.
Ich habe jetzt einen Spezialfall, und zwar verwende ich Gengo, ein Plugin, womit man zweisprachige Seiten betreiben kann. Der URL wird dann jeweils für jede Version ein “?language=Ländercode” angefügt. Sehr praktisch.
Jetzt würde ich gerne für die Startseite in der Sidebar einmal einen deutschen Text und einmal einen englischen Text haben, der je nach URL in der korrekten Sprache angegeben (also bei URL language=de ->deutscher Text und entsprechend beim Englischen).
In den Optionen von King-Text gibt es ja die Option
Spezieller Bereich und dann “Bereich ID/URL/Titel”. Ich hoffte, wenn ich dort den obigen URL-Teil eingebe, dann wird der King-Textblock tatsächlich nur dort angezeigt, klappt aber nicht.
Gibts da vielleicht eine Möglichkeit, die Dir einfiele?
Merci im voraus.
Kommentar von MP:Schorsch am 28. Juni, 2006 um 21:32
@Roland:
ja wirklich ein spezialfall, der aber wichtig ist. ich habe leider bisher noch keine multilang site mit wp wegen fehlender funktionalität der verfügbaren plugins gebaut. bin eher auf der schiene zwei wp´s dafür zu nutzen.
Um dir eine passende Antwort geben zu können müsste ich mir gengo tiefer ansehen. Die info´s über die Seitenbereiche findest du im Wordpress Codex unter “conditional Tags” ausführlich erklärt.
habe
leider gerade kein projekt was in diese richtung geht. Wenn du eine spezielle implementierung erwerben willst, kann ich dir aber durchaus zur hand gehen
Kommentar von Roland am 28. Juni, 2006 um 22:21
Gengo kann ich nur empfehlen. Sehr gut (wie der King Text
.
Alternativ kann man das mit den Textblöcken für die Sidebar auch mit Gengo lösen, weil es eine Funktion für zweisprachige Textblöcke gibt. Allerdings wäre das wahrscheinlich mit King Text ein bisschen komfortabler zu verwalten gewesen, deshalb fragte ich.
Muss ich in dem Fall halt auf die Widget-Lösung verzichten. Na, macht nix.
Kommentar von MP:Schorsch am 29. Juni, 2006 um 0:37
Danke für den Input, führ es mir mal zu gemüte und vielleicht gibt es das dann ja bald!
Pingback von King Text Widget · WordPress插件中文站 am 6. Juli, 2006 um 3:16
[...] 插件页面: 点击进入 [...]
Pingback von Time flies » Blog Archive » More site updates wheeeee! am 25. Juli, 2006 um 3:55
[...] This was all accomplished by embedding all the php calls and other widgets into the King Text widget. [...]
Kommentar von Rich Tatum am 5. August, 2006 um 13:31
Hi, what a great set of widges, and King Text serves my needs very nicely.
Only one problem … when I check the box to allow PHP, close the widget screen, and click to save my PHP-enhanced text box, everything works fine. But, then, when I add more widgets or update some other widget, the King Text seems to revert back to disabled PHP. Things mysteriously disappear on my weblog.
Any ideas what could be the problem? At the time I write this I am not behind a firewall, and it’s not a caching issue.
Regards,
Rich
BlogRodent
Kommentar von MP:Schorsch am 5. August, 2006 um 13:50
@rich
i checked the code again and did some testing but could not locate a problem.
Maybe you can try to disable some other widgets to make sure it comes from the king text.
Kommentar von Rich Tatum am 6. August, 2006 um 19:06
Thanks for your quick reply, and for taking the time to look into it. For some reason, today everything worked beautifully. When I left my comment I could only manage the Widgets using IE, as well, and King Text was acting oddly. However, since then, I’ve flushed my WordPress cache, reinstalled a few plugins, flushed my FireFox cache, and generally restarted everything. So, today, when it works beautifully, I conclude the problem was probably client-side.
Thanks, again, for looking into this. I’m delighted to use KingText. It’s a great, useful tool. The exact kind of thing the WordPress developers should’ve put in, but didn’t.
Regards,
Rich
BlogRodent
Kommentar von MP:Schorsch am 6. August, 2006 um 19:14
please try to use Firefox since the bug you had seems to come from IE.
Kommentar von Rich Tatum am 7. August, 2006 um 0:47
Unfortunately, it was Firefox that was giving me problems and I had to resort to IE to make things work at all. But, as I mentioned, it was probabably something on my end (laptop, session management, site caching?) since it has been a non-repeating problem so far.
Regards,
Rich.
BlogRodent
Kommentar von Alex am 14. August, 2006 um 22:56
hallo Schorsch,
wie kann ich eine Extrazeile zwischen den einzelnen Widgets machen. die Widgets, ob Login Widget oder Textwidgets, die ich von dir einsetze sind immer gleich untereinander angesetzt. Waere super wenn ich zwischen den einzelnen widgets eine Leerzeile einfuegen kann. Ich habs schon im Widget mit / vor und nach dem widget probiert, aber nichts funzt.
waere fuer ein Beispiel sehr dankbar.
Ach ja, nur zur Info, auf deiner Seite wo du alle Widgets Symbole als Uebersicht aufgelistet hast, hast du das TextWidget Symbol garnicht dabei.
Alex
Kommentar von MP:Schorsch am 15. August, 2006 um 22:53
Versuchs mal mit der css eigenschaft margin-bottom.
damit kann man einen abstand der boxen erzeugen. Ansonsten tuen es auch paar breaks -> br
Kommentar von Alex am 19. August, 2006 um 22:53
Hallo Schorsch, sorry das ich dich schon wieder nerve. Ich habe in der Sidebar ein Textwidget meiner Top 3 eingefuegt und auch die Funktion “Used Slide Open Box” aktiviert. Ich habe auch den noetigen html Code eingefuegt. Leider funktioniert es nicht. Beim Login Widget funzt es ohne Probleme, hoffe du kannst mir da weiterhelfen.
Vielen Dank im Voraus
Alex
Kommentar von MP:Schorsch am 20. August, 2006 um 12:24
Kommentar von Alex am 21. August, 2006 um 8:31
Vielen Dank Schorsch, klappt jetzt wunderbar.
Alex
Kommentar von Valerie Williams am 21. August, 2006 um 16:33
Alex, thank you so much for these great widgets. They solved a lot of problems I was having getting my site to work the way I wanted to. I didn’t list it here, because it’s not ready for public view yet. The Text widget works great for plugging in non-widget plugins in an easy, quick way. Thanks again!
One quick comment – on the Text Widgets, the only problem I have had is that if I open the widget in my control panel to check something or change something, whether I make any changes or not, the “Use PHP in Text” box always automatically unchecks itself, which effectively breaks the plugin I’ve put there until I realize what happened and fix it.
You might consider setting that to stay checked (if it was previously checked), rather than always defaulting back to unchecked, if possible.
But, that’s a minor item. Just wanted to say thanks a bunch! Really appreciate your work!
Kommentar von Alex am 21. August, 2006 um 18:04
Hey Valerie,
first of all, it’s not me who did this widget, it’s Schorsch, I’m just a fellower like you. But to answer your problem, you have to open the widget admin in Firefox, not in Internet Explorer. Schorsch tried to fix it for hours and it didn’t work. So you have to open it in Firefox, which is anyway much better than IE. Try it out for yourself.
Have a great day
Alex
Kommentar von Valerie Williams am 22. August, 2006 um 18:39
Okay thanks! I use Firefox at home, but at work we are only allowed to use IE, so I’ll just have to be resigned to re-checking that PHP box if I do anything at work. Thanks again!
Kommentar von Kellie am 20. September, 2006 um 3:34
Awesome widget. Thank you so much!
As per comment # 23… I too would like to see the dropdown list as checkboxes and re-programmed to allow for more precise placement of where I want my boxes.
Let us know when you create such magic!!!
Take care.
Kommentar von David Bovill am 26. September, 2006 um 6:52
I am trying to put the nickname of the currently displayed author page into the widget.
Is this possible? What is the php I would use? Tried a bunch of stuff and failed – help appreciated!
Kommentar von David Bovill am 26. September, 2006 um 7:09
Answering my wn question
nickname; ?>’s
Kommentar von T_S_Kimball am 5. Oktober, 2006 um 22:03
Great set of widgets, thank you.
I sent an email out, unsure if it made it over, so my question:
I’m trying to get a text widget (actually any widget using the framework) to display *only* in the catagory page it’s linked to. However, if posts are in more than one catagory, there are issues.
Take my weblog, for example. I have one King Text Widget trying to stay in page of catagory 3 (Second Life), but if the top post in the Main (is_home) page is also catagory 3 it shows there too. This also goes for the other catagory pages where the top post in the sequence is also catagory 3.
If this is a Wordpress limitation I’ll just give up, but I hope not. I’m using 2.0.4 btw.
Thanks,
–TSK
Kommentar von leo am 20. Oktober, 2006 um 16:22
hallo schorsch.
ich habe 10 Text Widgets und und zeige diese auf verschiedenen Seiten an.
nun habe ich zwei Seiten wo ich 2 gleiche Text Widgets anzeigen möchte, in der Beschreibung steht das ich die Seiten ID’s getrennt mit Komma angeben kann, leider funkioniert das nicht.
hast du einen Tipp für mich?
mfg, leo
Kommentar von Fidel Ixcoy am 24. Oktober, 2006 um 1:41
Exelente trabajp XD.
Kommentar von ovidiu am 30. Oktober, 2006 um 11:52
hello,
I have just tried to display a certain php code with this widget. I insert the code, check the php check box, update, and when I check again the widget teh php code disappeares…
here is one example I am trying to get to display:
I introduced some spaces in the php code so that it gets not filtered, after saving the widget settings, I open them again and the php code has disappeared….
can you help please?
Kommentar von ovidiu am 30. Oktober, 2006 um 13:11
sorry the code completely disappeared.
I’ll try again:
I tried inserting a lot of spaces, hopefully it works this time here in the coment
Kommentar von ovidiu am 30. Oktober, 2006 um 13:13
ok, last try if this does not work I know not what to do:
searchlite();this should be inside a php function
Kommentar von ovidiu am 31. Oktober, 2006 um 13:43
well, the behaviour can be described like this: I enter my php/html text, save and edit the widget again and it has forgotten his text
– did I mention I use wpmu? where does the widget store its info?
Kommentar von ovidiu am 4. November, 2006 um 17:15
hallo,
ich sehe gerade, daß die bevorzugte Sprache hier deutsch ist. Ich habe eine dringende Bitte um Hilfe:
ich würde wirklich gerne dieses Widget benutzen, weil es eines der besten ist aber wie gesagt, ich gebe z.b. eine php zeile im widget ein, hake php code an, speichere, und wenn ich das widget wieder öffne ist es leer.
das bringt mich zum verzweifeln, bitte gebt mir einen tipp. weiter oben sagte jemand was von wegen lokalen cache löschen und so aber das bringt mir nichts, es geht weder von daheim noch von der arbeit aus obwohl ich den cache gelöscht habe…
Pingback von A Fair Weather Blog at ten billion butterfly sneezes am 13. November, 2006 um 2:25
[...] The King Text Widget, which lets you embed functioning PHP, HTML, or plain text in a sidebar text widget. [...]
Pingback von KrainaMarzen.pl » SuperWordPress! - Najlepsze dodatki am 19. November, 2006 um 14:10
[...] King Text [...]
Pingback von KrainaMarzen.pl » SuperWordPress! - Najlepsze dodatki am 27. November, 2006 um 19:49
[...] King Text Jeden z moich ulubionych. Bez grzebania w kodzie pozwala dodać rożne dodatki, przyciski i zdjęcia do sidebara. [...]
Pingback von Anne Helmond » Wordpress problems #3 am 28. November, 2006 um 0:08
[...] Adding tags to my posts was easy, but creating a tagcloud wasn’t. I was able to create a tag archive page which would display a tagcloud (following the instructions), but that wasn’t quite what I was looking for. I wanted to display my tagcloud in my dynamic sidebar which uses widgets. So I put the php code in the (empty) Text1 widget, but it turned up empty. So I tried adding list HTML tags, which didn’t help either. After some googling it turns out that you cannot put php code in your widgets. But of course there is a widget to help me fix this widget problem [...]
Kommentar von ASU Service am 29. November, 2006 um 18:28
Hi,
Thanks for the great plug-in. I’m having one small problem I hope someone can help with.
I got everything working but when I try to configure the King Text box in the sidebar widget the window will show with all items collapsed. When I click each item it will expand then immediately collapse and it wont open again.
Any thoughts?
Thanks in advance for your time.
Kommentar von Mari am 1. Dezember, 2006 um 16:54
I do have the same problem. It happened when i update IE7 and FireFox 2
i don’t know what to do any suggest?
Kommentar von John Pozadzides am 2. Dezember, 2006 um 13:23
First of all, thanks for all of the work on these great little plugins for Wordpress.
I also wanted to report that I’ve experienced the issue with the PHP checkbox coming unchecked whenever I make a change to any of the plugins.
I saw your previous comments about using FireFox, but I just don’t have that option most of the time. If there was any way to get that option to stay checked it would be the best modification I could suggest for this plugin.
Thanks again for everything.
John
Pingback von Amanita.net » Blog Archive » Mission Accomplished: Widgets! am 4. Dezember, 2006 um 18:38
[...] I did it! Almost entirely by myself, with just a bit of help from Mark of Weblog Tools Collection, I widgetized my design. I now have 13 instances of the King Text plugin running, each containing the code from my original sidebar. I was not able to find a way around the problem of the title falling inside the widget, so I had to stick with modifying the plugin code, but the King Text plugin accepts both PHP and HTML so I can put whatever I like in there. If I want to add additional widget plugins, I will have to edit those too, but for now I got everything running how I want it. [...]
Pingback von Amanita.net » Blog Archive » Tagging the Years am 5. Dezember, 2006 um 1:19
[...] Now that I have got Postie working for e-mail postings, and my theme widget-ready thanks to King Text, I am focusing my full attention on tagging with Ultimate Tag Warrior. I’ve already eliminated categories from my theme, replacing them with tags. [...]
Kommentar von Meredith am 5. Dezember, 2006 um 20:37
I notice that this was already mentioned at the beginning of the thread, but it doesn’t seem to be implemented yet. I have 13 King Text widgets running on my theme. When I am editing the sidebar, I have to remember which is which because they don’t have distinct names. It would be nice to have the ability to do that.
Pingback von - www.ChrisMerriman.com - Chris’ Blog - I Never Could Get The Hang Of Thursdays am 8. Dezember, 2006 um 11:53
[...] King Text Widget – VERY, VERY useful widget. It allows you to basically convert any script or normal plugin into a widget. Currently used extensively on this site, at least until ‘proper’ widgets are found for each purpose. [...]
Pingback von RSS Chicklets in Sidebar Widget | Real Estate Blog Lab am 18. Dezember, 2006 um 22:33
[...] install the King Text plugin (must be in widget directory)* [...]
Pingback von Lei Lei’s Blog - » Widgetizeing for Idiots am 13. Januar, 2007 um 23:17
[...] Today I found my favorite widget maker, King, has made it easy, with King Text [...]
Kommentar von Halina Goldstein am 17. Januar, 2007 um 15:32
Hi
I use your King Text widgets A LOT on my blogs – it has helped me so much along the way.
However, I’ve just installed Internet Explorer 7.0 and have encountered a major problem. Although my widgets still work, I’m not able to open them in my sidebar widgets editor. Only titles appear, on a blue background (Basic Features, Where to show, Widget HTML). When I click on the title, it slides down showing the form and then immediately slides back again, so that I cannot work with the form.
Your help (as soon as possible) will be greatly appreciated
Thank you
Halina
Kommentar von Dan am 27. Januar, 2007 um 19:18
Great plugin! I needed to be able to put php in a text widget, and this does the trick.
When I installed your plugin with WP2.1, I got an error message and had to change line 24 of king-text.php. It includes widget.php, which is now in the widgets folder. I changed it to:
include_once(ABSPATH . ‘wp-content/plugins/widgets/widgets.php’);
Pingback von 西瓜田裡的牛 » [WP] 改用sidebar modules am 30. Januar, 2007 um 7:41
[...] 另外我也取消了幾個外掛,如King Text Widget和King Categories Widget,因為它們與sidebar modules不相容,而UserOnline在後台設定時有些錯誤,但前端頁面顯示是正常的,所以繼續使用,希望下個版本就可以修正過來。 [...]
Kommentar von sonika am 4. Februar, 2007 um 21:27
Is it work with wordpress 2.1?
Pingback von Gizcore Labs - Webdesign, Front-End Development, XHTML, CSS am 11. März, 2007 um 18:46
[...] your sidebar modules but you are not able to use HTML or PHP Code that easy thats why I found the King Text Plugin. Valid Lightbox [...]
Pingback von 丁丁·志 » Blog Archive » 更新到了wordpress2.1 am 16. März, 2007 um 8:12
[...] 最近变得很懒,这里N久都没更新一下,前天打开后发现主页显示竟然出现问题。可是把整站下载到本地测试一点事都没有,那就只可能是服务器的事了。不过还好,最开始买的那个国外的空间还在,虽然速度不如国内的快,但是因为控制面板是CPANEL,而且最重要的是mysql的版本是4.1.1,刚好可以装wordpress2.1,于是就把整站搬过去了,并趁此机会升级了一下wordpress。 虽然用wordpress也有半年时间了,可是之前wp一直用的是2.0.4版,一是因为自己太懒,二是怕出现问题。上次搬家时出现的乱码问题还让我心有余悸。不过听说wp2.1与2.0.x相比对于mysql方面进行了比较大的优化,速度提升不少,刚好现在的空间主要的缺点就是速度慢,因此任何能够提升速度的方法我都是乐于实现的。 在网上看了不少用户的升级经验,发现还比较简单,把wp2.1上传并覆盖原来的文件,然后运行http://lovetech.cn/wp-admin/upgrade.php,一切就是这么简单。不过由于上传速度的限制,升级还是花了不少时间。虽然cpanel的文件管理支持在线解压,但是却不能选择解压缩的目录,而且目录不能覆盖,所以基本上没有什么用。(关于cpanel,这是我用过的最强大的控制面板,远非国内那些主机商提供的简陋的控制面板可比)。 全部更新如下 1.wordpress更新到了2.1.2版; 2.主题MistyLook升到3.2版,很喜欢这个主题; 3.导航栏插件PageNavi更新到2.10,之前的版本会出现不能正确计数的错误; 4.tag插件Ultimate Tag Warrior更新到3.14159265(呵呵,有趣的版本名字),据说以前的版本在wp2.1下会出现评论导致tag消失的情况,不过自己还没碰到过,因为我的blog很少有人评论,呵呵,不过防范于未然,还是更新一下吧。 5.重新设置了永久链接,以前的服务器不支持rewrite,blog的链接只能使用http://lovetech.cn/?123这样简陋的形式,现在可以http://lovetech.cn/year/month/post-name这样的链接了 6.禁用了中文WordPress 工具箱,当初装他是因为要用他的最新回复功能,不过后来觉得用的并不是太多,就禁用了; 7.禁用了King Text Widget,这个是为了中文工具箱才装的,既然工具箱用不着了,这个也就连带失业了; 8.禁用了Ajax Comments-Reply,因为wp升到2.1后发现它会导致侧边栏显示不正常; 9.升级WordPress Database Backup到2.0.1版,虽然wp一直自带这个插件,但好像wp2.1以后就分开了; 10.禁用了WP-Cron,因为Database Backup2.0.1版已经有了定时备份的功能,所以Database Backup也就用不着了。 tags:cpanel , wordpress , 升级 . [...]
Kommentar von Tom am 21. März, 2007 um 16:46
Ich habe bei mir (WP2.1) alle Widgets aus der functions.php übernommen in das King Text Widget und ich muss sagen..einfach Königlich
Wobei dann bei mir leider die SQL Abfrage Zeit nach oben geschossen ist auf 3-4 Sekunden…was vorhin nicht war.. muss sich wohl erst noch ein schwingen
Ich würde aber gerne wissen ob auch für das Text Widget ein lazy loading möglich ist… das ist meines Erachtens eines der wichtigsten Features beim RSS und beim Text Widget, gerade wenn man excesive mit php arbeiten kann
ach, das könnte auch die erhöhte abfrage Zeit erklären. dass die calls der functions.php nun anderst gehandhabt werden
Aber ansonsten..echt sensationell … vielen Dank
Pingback von La Bitácora del Tigre · Disfrutando con Tarski am 1. April, 2007 um 20:48
[...] tarea de editar “a pedaleta” el código PHP de la barra lateral. Gracias al plugin King Text Widget, puedo arrastrar allí todos los fragmentos de código que me apetezcan (HTML o PHP o una mezcla de [...]
Kommentar von burçlar am 12. April, 2007 um 16:39
Today I found my favorite widget maker, King, has made it easy, with King Text
Kommentar von msn adresleri am 16. April, 2007 um 11:56
nice text. thank you all
Kommentar von Davide Maggio am 23. April, 2007 um 17:37
Hi, I’m not able to use your plugin. I correctly put the king-includes in the plugin directory e the king-test.php in the same directory in which is widgets.php.
The problem is that i’m not able to move “king test sidebar” in the sidebar widgets menu from the admin panel. Could You help me? Thanks a lot in advance
Kommentar von Berabere am 7. Mai, 2007 um 4:21
Ich würde aber gerne wissen ob auch für das Text Widget ein lazy loading möglich ist… das ist meines Erachtens eines der wichtigsten Features beim RSS und beim Text Widget, gerade wenn man excesive mit php arbeiten kann
Best
Kommentar von Eğlence am 8. Mai, 2007 um 2:04
my site thanks http://www.sedasiz.com
Kommentar von Chat am 8. Mai, 2007 um 11:27
thanks my site http://www.itirafchat.com
Kommentar von marco am 16. Mai, 2007 um 8:38
Hi, I thing that King_Text_Widget or the frmework doesn’t work with wordpress 2.2. Best
Pingback von LBnuke » WordPress 2.2 am 17. Mai, 2007 um 0:41
[...] than one PHP widget in wordpress 2.2. This widget rocks! Endless possibilities. I used to use the King Text widget to include PHP in widgets, but was too afraid to activate it after the trouble with King [...]
Pingback von LBnuke » WordPress 2.2 Upgrade am 17. Mai, 2007 um 0:44
[...] than one PHP widget in wordpress 2.2. This widget rocks! Endless possibilities. I used to use the King Text widget to include PHP in widgets, but was too afraid to activate it after the trouble with King [...]
Trackback von Testing 1 2 3.... am 17. Mai, 2007 um 4:12
Wordpress 2.2 and King Text don’t play nice?…
Well I was thinking it would be a 5min upgrade to WordPress 2.2, and thought it would be a good thing to work on this morning while I waited for my sinuses to settle down a bit… Turns out that wasn’t the case…. my biggest issue though…
Pingback von // to be different than the Tellerrand » Blog Archive » Dinge die man über Wordpress 2.2 Upgrade wissen sollte am 18. Mai, 2007 um 11:18
[...] PHP-Widgets, allen voran das berühmte King-Text-Widget, funktionieren nicht mehr. Sie erwarten das Sidebar-Widget-Plugin von Automattic welches es ja nun [...]
Pingback von WP Plugins DB » Blog Archive » King Text Widget am 20. Mai, 2007 um 9:52
[...] Visit [...]
Kommentar von msn adresleri am 24. Mai, 2007 um 14:13
[…] PHP-Widgets, allen voran das berühmte King-Text-Widget, funktionieren nicht mehr. Sie erwarten das Sidebar-Widget-Plugin von Automattic welches es ja nun […]
Thanks You
Kommentar von MXV am 25. Mai, 2007 um 17:48
Hello.
Upon upgrading to WP 2.2 this plug in does not work. When you try and activate it, it breaks. The King Framework still activates.
How can I make this work again? I rely on it heavily for things in my sidebar that I wasn’t able to do in regular txt widgets. Please help.
Kommentar von mike am 26. Mai, 2007 um 21:46
ayep, framework still activates but the rest are broken in WP 2.2
Kommentar von şarkı sözü am 27. Mai, 2007 um 18:24
thankk you First of all let me thank you
Kommentar von güzel sözler am 29. Mai, 2007 um 23:39
Theme site lince looks nice..Thanks
Kommentar von Meredith am 31. Mai, 2007 um 2:31
Count me in as another who is having problems with King-Text and WP 2.2. I hope we can get a fix from the author soon, because I’ve tried multiple workarounds and nothing has been successful. King-Text was a major component of my site design and I’ve had to switch themes as a result. Please help us, Georg!
Pingback von Amanita.net » Blog Archive » I Fucked Stuff Up am 31. Mai, 2007 um 2:46
[...] to make any backups of the site files or the database before I upgraded. It turns out that the King Text widget is not compatible with WP 2.2, and without it my entire site design is hosed. So I’ve [...]
Kommentar von Rich am 31. Mai, 2007 um 8:21
Crap! I just upgraded to WP 2.2 and didn’t check first to see if these plugins would work. I hope the author (or someone) gets a fix in soon, because I really don’t want to downgrade and run an old & vulnerable version of WP.
That’ll teach me to upgrade without checking the plugins first!
Pingback von Baz Web Development: AJAX, Joomla, CSS » Blog Archive » Wordpress Widgets am 1. Juni, 2007 um 5:02
[...] this purpose we have the King Text + PHP Widget Plugin. This plugin enables you to define empty plugins that you can paste text, HTML, or even PHP [...]
Kommentar von mehter am 2. Juni, 2007 um 20:36
thankssCrap! I just upgraded to WP 2.2 and didn’t check first to see if these plugins would work. I hope the author (or someone) gets a fix in soon, because I really don’t want to downgrade and run an old & vulnerable version of WP.
That’ll teach me to upgrade without checking the plugins first!
Kommentar von Cibele am 5. Juni, 2007 um 8:04
I’ve finally gotten this plugin but it’s not working on the currently WP version (2.2)
It’s all i’ve been searching for!
Plz, plz, plz fix it soon
Thanx.
Kommentar von Diego am 7. Juni, 2007 um 18:19
Hi King-Georg,
First, let me thank you for your plugins. I’ve been using several of them and they delivered, and greatly. Until now…
I have the same issue than many other players here:
WP 2.2 does not like your framework!
So, I’ve seen you haven’t left any replies yet, I guess you are working on it.
Anyway, could you please tell us if you plan to upgrade you Kings Plugins, or if we should start looking for some other solution?
Thanks,
Diego
http://www.secretia.com
Kommentar von Sex hikaye am 12. Juni, 2007 um 2:00
Resizable columns : Très bonne idée !
Vous gardez plusieurs longueurs d’avance sur tous vos “concurrents” (j’ai essayé pageflakes, et les versions de google et microsoft) !
Pingback von EntreGeeks.com » Blog Archive » PHP y HTML en tus widgets con King Text Widget am 15. Juni, 2007 um 7:48
[...] ahora hay una solución para este problema que me hará volver a utilizar los widgets en un futuro, os hablo de King Text Widget, un plugin para WordPress con el que podrás poner sin problemas código HTML y PHP en tus widgets, [...]
Kommentar von weimingqing am 7. Juli, 2007 um 11:30
Hi, I got a problem when using King Text. I have already actived the widget and King Framework. When I try to active King Text (it’s in the ../plugins/widgets/), it turns out warning message:
Warning: Invalid argument supplied for foreach() in E:\My Home\xampplite\htdocs\blog\wp-admin\widgets.php on line 30
Warning: Invalid argument supplied for foreach() in E:\My Home\xampplite\htdocs\blog\wp-admin\widgets.php on line 36
And after that, it turns out fatal error:
Fatal error: Call to undefined function wp_get_current_user() in E:\My Home\xampplite\htdocs\blog\wp-includes\capabilities.php on line 446
BTW, I install wordpress on my local machine.
Any help about this problem? Thanks!
Pingback von DigiZen: Un blogfesor aprendiendo » Formas de incluir código PHP mediante widgets en blogs de WordPress am 14. Juli, 2007 um 13:58
[...] King Text (+php) (+html) (No ha sido actualizado para que funcione con WP 2.2 pero es el mejor de los [...]
Pingback von -Yuan².源@远方™- 不抛弃,不放弃! | new face and some updates of my blog (15/7/7) am 15. Juli, 2007 um 15:54
[...] Added King Text plugin, which enables me insert HTML codes to side bar, I don’t need to change it in theme code [...]
Pingback von Plugins Gone Wild! | The Habitation of Justice am 16. Juli, 2007 um 1:12
[...] King_Text_WidgetAdds a Text widget Options are: in which category or Site Area to show + php/Html output + the html before and after the Widget. By Georg Leciejewski. [...]
Kommentar von oyun am 19. Juli, 2007 um 18:26
Kleiner Tipp an die CSSler unter uns: Spätestens jetzt ist der Zeitpunkt, das praktische auto-clearing floats zu erneuern. inline-block is the new-and-improved method for auto-clearing floats.” Use it to replace display: inline-table;.) …Quelle
Pingback von alanguilan dot com weblog » Blog Archive » post upgrade notes ii am 23. August, 2007 um 10:41
[...] king text 0.69 — i really liked this widget but unfortunately it was throwing warnings all over the place [22-Aug-2007 12:40:33] PHP Warning: main(widgets.php): failed to open stream: No such file or directory in /blog/wp-content/plugins/king-text.php on line 24 [...]
Kommentar von Jan Bosman am 23. Oktober, 2007 um 22:08
I fixed the problem (in comment 108) by deleting line 25 of the king-text.php file. Including widgets.php is redundant in Wordpress 2.2+
Pingback von foRumCuQ » Google kelıme ve pr Yukselt… am 6. Januar, 2008 um 12:43
[...] http://saunderslog.com/2006/09/07/io…opers-program/ http://www.blog.mediaprojekte.de/cms…get-king-text/ ++ http://www.smashingmagazine.com/2006…-of-css-tools/ [...]
Kommentar von hudais am 22. Januar, 2008 um 17:05
ich bin begeistert von deine idee wann würdest du eine neue version herausbringen.
vielendank und liebe grüsse aus der türkei.
Kommentar von Oyunlar am 28. August, 2008 um 19:45
[...] Yes, another Text Widget. This one accepts PHP code and can be assigned to specific categories so it doesn’t have to always show up on the page. [...]
Kommentar von mirc am 31. August, 2008 um 17:19
thanks admin.
Pingback von Worpress Plugin | Creattivamente am 5. September, 2008 um 14:46
[...] Caselle in cui inserire un codice di testo, oppure PHP o HTML [...]
Kommentar von alışveriş am 15. Oktober, 2008 um 15:16
Kleiner Tipp an die CSSler unter uns: Spätestens jetzt ist der Zeitpunkt, das praktische auto-clearing floats zu erneuern
Kommentar von Hack am 1. November, 2008 um 23:48
Thanks..
Kommentar von None am 18. November, 2008 um 2:56
I solved the Fatal Error problem by commenting out Line 24 include_once(’widgets.php’);
Hope this helps
Pingback von WordPress Widget List | WordPress Blog Design SEO - Customizations - Websites - Tutorials am 31. Januar, 2009 um 22:25
[...] King Text – supports php or HTML in a widget [...]
Kommentar von PolitiKARS am 15. Februar, 2009 um 23:19
Vielen Dank Schorsch, klappt jetzt wunderbar. PolitiKARS
Pingback von DAFTAR WIDGET UNTUK WORDPRESS « Ilhensa’s Blog am 2. Juni, 2009 um 8:25
[...] King Text – supports php or HTML in a widget [...]
Pingback von Dellemente Net-Magazine - Where Web Technology Means Business. am 5. Juli, 2009 um 15:38
[...] King Text – supports php or HTML in a widget [...]