Home | Warum | WordPress Widgets & Plugins

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

wordpress widgets king text

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)

King Text Admin Screen Englisch  King Text Admin Screen German

 

 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 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 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)”

  • 1.

    [...]   King Text,在测栏输出一个文本框,可以使用html代码或者php代码,可以自定义标题和格式。 sidebar text [...]

  • 2.

    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~

  • 3.

    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!

  • 4.

    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

  • 5.

    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.

  • 6.

    [...] 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. [...]

  • 7.

    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

  • 8.

    @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)

  • 9.

    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.

  • 10.

    [...] 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. [...]

  • 11.

    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.

  • 12.

    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

  • 13.

    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

  • 14.

    whoops… i jumped here from wp widegtes page – i missed out on installing king framework!!!

    Chris

  • 15.

    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.

  • 16.

    you can use the before/after widget and title text fields under the HTML Options.

    just insert a break or some other html.

  • 17.

    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

  • 18.

    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.

  • 19.

    [...] 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. [...]

  • 20.

    [...] 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. [...]

  • 21.

    I’ve installed all files correctly but king-text doesn’t show up in the widgets menue.

  • 22.

    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!

  • 23.

    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

  • 24.

    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.

  • 25.

    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 … ;-)

  • 26.

    @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

  • 27.

    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!

  • 28.

    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

  • 29.

    @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.

  • 30.

    I look forward to the “rotator” function — of course, I’m not complaining, either. The King family of widgets is fantastic already!

  • 31.

    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.

  • 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 :-)

  • 33.

    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.

  • 34.

    Danke für den Input, führ es mir mal zu gemüte und vielleicht gibt es das dann ja bald!

  • 35.

    [...] 插件页面: 点击进入 [...]

  • 36.

    [...] This was all accomplished by embedding all the php calls and other widgets into the King Text widget. [...]

  • 37.

    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

  • 38.

    @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.

  • 39.

    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

  • 40.

    please try to use Firefox since the bug you had seems to come from IE.

  • 41.

    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

  • 42.

    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

  • 43.

    Versuchs mal mit der css eigenschaft margin-bottom.
    damit kann man einen abstand der boxen erzeugen. Ansonsten tuen es auch paar breaks -> br

  • 44.

    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

  • 45.

    :-) passiert mir auch immer wieder. Du hast den Toggle mit der ID 1 gesetzt. Die textbox hat aber die id 9. Du siehst das im code. also einfach die zahl 1 durch die nummer 9 der box ersetzen. in toggle und div id

  • 46.

    Vielen Dank Schorsch, klappt jetzt wunderbar.

    Alex

  • 47.

    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!

  • 48.

    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

  • 49.

    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!

  • 50.

    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.

  • 51.

    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!

  • 52.

    Answering my wn question :)

    nickname; ?>’s

  • 53.

    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

  • 54.

    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

  • 55.

    Exelente trabajp XD.

  • 56.

    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?

  • 57.

    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

  • 58.

    ok, last try if this does not work I know not what to do:

    searchlite();

    this should be inside a php function

  • 59.

    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?

  • 60.

    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…

  • 61.

    [...] The King Text Widget, which lets you embed functioning PHP, HTML, or plain text in a sidebar text widget. [...]

  • 62.

    [...] King Text [...]

  • 63.

    [...] King Text Jeden z moich ulubionych. Bez grzebania w kodzie pozwala dodać rożne dodatki, przyciski i zdjęcia do sidebara. [...]

  • 64.

    [...] 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 [...]

  • 65.

    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.

  • 66.

    I do have the same problem. It happened when i update IE7 and FireFox 2 :( i don’t know what to do any suggest?

  • 67.

    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

  • 68.

    [...] 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. [...]

  • 69.

    [...] 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. [...]

  • 70.

    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.

  • 71.

    [...] 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. [...]

  • 72.

    [...] install the King Text plugin (must be in widget directory)* [...]

  • 73.

    [...] Today I found my favorite widget maker, King, has made it easy, with King Text [...]

  • 74.

    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

  • 75.

    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’);

  • 76.

    [...] 另外我也取消了幾個外掛,如King Text Widget和King Categories Widget,因為它們與sidebar modules不相容,而UserOnline在後台設定時有些錯誤,但前端頁面顯示是正常的,所以繼續使用,希望下個版本就可以修正過來。 [...]

  • 77.

    Is it work with wordpress 2.1?

  • 78.

    [...] 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 [...]

  • 79.

    [...] 最近变得很懒,这里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 , 升级 . [...]

  • 80.

    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 :-D

    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 :-D

  • 81.

    [...] 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 [...]

  • 82.

    Today I found my favorite widget maker, King, has made it easy, with King Text

  • 83.

    nice text. thank you all

  • 84.

    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

  • 85.

    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

  • 86.

    my site thanks http://www.sedasiz.com

  • 87.
  • 88.

    Hi, I thing that King_Text_Widget or the frmework doesn’t work with wordpress 2.2. Best

  • 89.

    [...] 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 [...]

  • 90.

    [...] 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 [...]

  • 91.

    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…

  • 92.

    [...] 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 [...]

  • 93.

    [...] Visit [...]

  • 94.

    […] 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 ;)

  • 95.

    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.

  • 96.

    ayep, framework still activates but the rest are broken in WP 2.2

  • 97.

    thankk you First of all let me thank you

  • 98.

    Theme site lince looks nice..Thanks

  • 99.

    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!

  • 100.

    [...] 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 [...]

  • 101.

    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! :)

  • 102.

    [...] 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 [...]

  • 103.

    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! :)

  • 104.

    I’ve finally gotten this plugin but it’s not working on the currently WP version (2.2)
    Plz, plz, plz fix it soon :) It’s all i’ve been searching for!
    Thanx.

  • 105.

    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

  • 106.

    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) !

  • 107.

    [...] 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, [...]

  • 108.

    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!

  • 109.

    [...] King Text (+php) (+html) (No ha sido actualizado para que funcione con WP 2.2 pero es el mejor de los [...]

  • 110.

    [...] Added King Text plugin, which enables me insert HTML codes to side bar, I don’t need to change it in theme code [...]

  • 111.

    [...] 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. [...]

  • 112.

    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

  • 113.

    [...] 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 [...]

  • 114.

    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+

  • 115.
  • 116.

    ich bin begeistert von deine idee wann würdest du eine neue version herausbringen.
    vielendank und liebe grüsse aus der türkei.

  • 117.

    [...] 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. [...]

  • 118.

    thanks admin.

  • 119.

    [...] Caselle in cui inserire un codice di testo, oppure PHP o HTML [...]

  • 120.

    Kleiner Tipp an die CSSler unter uns: Spätestens jetzt ist der Zeitpunkt, das praktische auto-clearing floats zu erneuern

  • 121.

    Thanks..

  • 122.

    I solved the Fatal Error problem by commenting out Line 24 include_once(’widgets.php’);
    Hope this helps

  • 123.

    [...] King Text – supports php or HTML in a widget [...]

  • 124.

    Vielen Dank Schorsch, klappt jetzt wunderbar. PolitiKARS

  • 125.

    [...] King Text – supports php or HTML in a widget [...]

  • 126.

    [...] King Text – supports php or HTML in a widget [...]