Home | Warum | WordPress Widgets & Plugins

9. April, 2006

Wordpress Widget: King Categories

wordPres Widget King CategoriesFirst off i must say that the wordpress widgets plugin deeply impressed me. In fact, half an hour after MP:Ole pointed me to it, i had my first widget written.

Widgets will revolutionize the way normal users can interact with wordpress.

Therefore i wanted to write a plugin for one of the most used  (and at least by me, most hated) wordpress template placeholder … the list_cats() It´s used for the category listing in the sidebar or somewhere else in your Website.
This function has a big ass eighteen Variables long parameter list, which let me struggle again and again. Also because there are big differences between setting a var to "false" or "0" (nicely mixed up in template-functions-category.php Line: 277 ).
I always ended up in an hour of trial and error until i had my custom category navigation build.

Anyway this Wordpress Widget will hopefully wipe away your fear of the list categories function and makes it easy to screw around in the category navigation.

Features / Changelog 

Version 0.93

– BUG when selected show only in xy Category widget would show everywhere (thanks Klaus)

 

Version 0.92

– NEW Remote Version check

- NEW Complete "Where To Show" Options. With the new option to have a comma seperated list of siteArea´s (single Pages/ID/Slugs) where to show

- NEW copy Options from another category widget
– NEW Options dumper
 

Version 0.85

- small fixes to ensure compatibility with new framework structure
– nicer JS Menu using moofx (framework improvement)
– Help Titles are now shown only in widget area (framework improvement)
– changed widget admin title back to "King Cat xy" because with my widget title hack you need the place to show the real title

Version 0.8

- Enhanced JS Navigation for Widget Options. It now fits better on small Monitors and does not overwelm you that much :-)

- Option to use the Fold Category Navigation if installed

- Bugfix in Setting of Default Option

- renamed widget header to "King Category Menu xx" 

- Moved Framework into new Folder ->plugins/king-includes/ 

- moved Admin Head includes into framework 

Known Issues:

- The JS Accordeon Admin Menu is now closing the right way if multiple instances of the widget are used. But not in IE..the settings are not influenced by this! Read more in the Framework Article.

Maybe some JavaScript Pro can assist me with that … Help!

————– 

Version 0.71

- MULTIPLE Category Menu´s

- 4 HTML fields to customize before/after Widget and Title 

- Option to insert default category menu options 

- enhanced underlying Framework (If you don´t want to change the engine .. no need to look under the hood) 

Version 0.6 

- 15 Option fields to set all Category List options – list_cats() in Admin Widget Area resulting in a fully customizable Category menu without coding.

- option for debugging output in Frontend

- js help tooltips

- full gettext translation currently available languages: German / English

Screenshots

Version 0.8 Widget Admin Area with new AJAX Foldable Menu (this has slightly changed with version 0.85 and look a bit nicer..screens will follow )

 

King Category Admin Screen Ajax Menu

 

 Version 0.7  English and German Admin Screen.Please Klick to enlarge.

 King Category Admin Screen WordpressKing Category Admin Screen Wordpress

Multiple Wordpress category Menu

 Comming Features

- Option to show a Category menu only under a given Category. Very usefull if you have deeply nested Categories… if you need this urgendly write me because it´s nearly finished

- copy Options from another category widget

- Options dumper

- option to toggle help titles on/off because they apply to every label elemet in admin area or maybe different implementation method (Ajax)

- fold the admin menu to group the options into smaller sets because the popup is kinda big right now on small monitors and might be confusing for beginners 

- Foldable category list 

- more than one Category Navigation like text or rss widget fields

- before and after fields for layout can be set in Admin Area

 

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_categories.php into your plugins widget folder -> where your widgets.php is !!!

- Copy king-includes (the widget Framework) into plugins 

- activate in Pluginarea.

- Drag the King Categories Widget on one of your sidebars and play with the options. In the Advanced Options Tab you´ll find a switch for inserting Wordpress Defaults to get a Start.

Update 

- Copy king_categories.php over your existing File.

- Since the Framework was moved you should delete the existing king-includes folder and copy the new king-includes into the /plugins Rootfolder

- The name of the Widget has changed (again sorry) so you need to drop it again onto your sidebar

Download

 


Version 0.93

king-categories_0.93.zip king-categories_0.93.zip (05.09.2006 09:47)

 

Version 0.92

 - needs the King Widget framework  from version 0.70 and up

king-categories_0.92.zip king-categories_0.92.zip (03.09.2006 14:50)

 

Version 0.85 

 - the King Widget framework is now keept seperate, make sure you get it too

king-categories_0.85.zip king-categories_0.85.zip (07.05.2006 03:35)

 

Old Versions

Version 0.8

-  including king-includes (the widget framework) svn Version 102
– german mo and po files 

king_categories_0.8.zip king_categories_0.8.zip (23.04.2006 19:38)

 

Version 0.71

– including german po and mo files
– including king widget framework in king_widgets_inc

king_categories_0.7.zip king_categories_0.7.zip (15.04.2006 15:34)

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:

124 Kommentare zu “Wordpress Widget: King Categories”

  • 1.

    I went in and hacked my widgets.php to show the RSS icons, but this is much nicer, and will survive when they update the widgets plugin. Thanks!

  • 2.

    sehr feine sache. da werd ich dann doch neugierig was sich hinter dem wohlklingenden fremdwort widgets verbirgt. sieht gut aus!
    ps: aber bitte bitte baut euch mal ein king_spellchecker (mit einer king_rechtschreibung.mo) natürlich ;-) ich les jetzt schon ein paar artikel (structured micro blogging, etc…) und muss mich nur wundern, dass ihr (alle?) auf englisch schreibt, vermutl. nur weil es sich halt nicht so flüssig liest… hat das einen besonderen grund? oder sprechen medial-schaffende :-O alle so (englisch)?

    hrhrhr … nevermind the klugscheissers ;-)

  • 3.

    oh sorry für das englisch. aber die plugins stehen natürlich nicht nur der deutschen community zur verfügung. Da ich mir nicht die doppelte arbeit machen will, was das übersetzen angeht, bleibe ich bei englisch. ich bin übrigens der einzige und mache das nur bei artikeln die “international” angesurft werden.

    Ein widget beinhaltet code der normalerweise ein teil einer seitenbox ist. also z.B. navi elemente oder die suchbox. es kann aber auch je nach Layout an irgend einer anderen stelle im template untergebracht werden(Header, footer, content..)

  • 4.

    One of the problems with list_cats() is that it counts scheduled posts in the post count (a post scheduled to appear in the future that is not visible yet in the category still is counted in post count). I believe this bug has been submitted to WordPress, but we have to wait until who knows when to get a fix. Any chance your widget can override this bug and show the correct post count?

  • 5.

    no, this widget is basicly just generating the list_cats() call and has no influence on the category count intelligence.

  • 6.

    [...] When you write a plugin or a widget, you have to decide what to put in and what to leave out. From looking at the screenshots, the King Categories Widget has a case of Option Fever. Nothing was left out. You can do it all with this widget. If it were trimmed down to the essentials I'd call it great and maybe drop it into the Widgets plugin. As it is, this widget's greatest appeal is to elite category geeks. To you, enjoy! [...]

  • 7.

    [...]   King Categories Widget,用于显示分类的widget,可以控制各类显示分类的选项。 categories widget [...]

  • 8.

    Eine super Sache, dieses Plugin.
    Was ich noch bräuchte, wäre jedoch die Möglichkeit, die Kategorien sortiert nach einer eigenen Reihenfolge auszugeben. Man könnte eigentlich das Beschreibungsfeld dafür “missbrauchen”.
    Wie könnte man nun im Kind Categories Plugin die Sortierreihenfolge so festelegen, dass zusätzlich (oder statt) ID und Name das Beschreibungsfeld anwählbar wäre?

    Vielen Dank im voraud für jegliche Tipps.

    Peter.

  • 9.

    @peter:
    king categories nutzt nur die möglichkeiten des list_cats() aufrufes. wenn du diesen erweiterst (so wie z.B. der dropdown categories plugin) kann ich ein weiteres sortierfeld einfügen. vorher macht das keinen sinn, da list_cats() leider nicht zu einer anderen sortierung fähig ist.

  • 10.

    Danke für die Antwort.
    Aber das ist mir leider zu hoch; ich wüsste gar nicht, wo ich da ansetzen muss. Ich werde mich damit behelfen, die IDs manuell zu ändern; es sind ja nicht so viele.
    Vielen Dank nochmal für Dein Plugin und alles Gute,
    Peter.

  • 11.

    I’m trying to use King Categories for a category listing only on the main page using file=index.php. The setting seems to change as I change the file name, but categories show up regardless everywhere.

    I thought the categories could be set for pages, for example, by using the file=page.php, which I use for pages.

    Debugging shows the name is actually getting changed, but nothing happens as a result.

    Any clues? Am I misinterpreting something?

    Thanks

  • 12.

    Yes you are misinterpreting this switch in the advanced features! This determines which template is used to show the article-listing.
    You can find the full documentation in the wordpress codex

    The whole “Where to show”-Menu is not yet implemented in king categories.

  • 13.

    OK, I got it now. And I can use it that way.

    Thanks,

  • 14.

    First, I want to say that I love King Text–it drives my entire sidebar.

    Sadly, I’ve never been able to get King Categories to work. Even with them enabled, it won’t show the hierarchy, children, li markers…nothing. I have the foldable navigation enabled and that plugin activated and that feature doesn’t work either.

    Yes, when your widget is operating it does show up and shows the title and all top parent categories, but that’s it.

    No idea how to fix this. I recently updated to 8.5 and that fixed nothing. I’ve reset the cache and tried re-installing everything, but nothing makes the features of the King Categories widget work.

    Any ideas?

  • 15.

    1. set the default switch for the start.

    2. slowly digg your way throught the switches.

    3. use the debugging output ->if you are using king-text you could use it´s PHP feature to insert the list_cats() call with the debugging output manually.

    4. check the Wp-Codex for list_cats() to better understand the Options and switches. There are some options that don´t work with each other.

    5. maybe there is a conflict between two widgets so you could dragg some widgts temp. off the sidebar, to make sure.

    6. if it still won’t work you can write me an email and provide me with a temp. login so i can check if it is a problem with the widget. Since my widgets very diverse you can imagine that i can´t test all possible combinations of all widgets. So i need this kind of feedback.

  • 16.

    Zitat: Comming Features

    - Option to show a Category menu only under a given Category. Very usefull if you have deeply nested Categories… if you need this urgendly write me because it´s nearly finished /zitat

    darauf freu ich mich schon…. steht schon ein veröffentlichungsdatum fest?

  • 17.

    bin bis zum 6.6 im urlaub danach schauen wir mal :-)

  • 18.

    Hallo Schorsch,

    ich kann mich den anderen nur anschliessen, echt ne super Sache deine plugins, Ich habe auch King Category Menu eingesetzt, funzt auch wunderbar, der einzige Hacken, meine Untermenues werden nach links versetzt angezeigt, nicht nach rechts. Irgendeine Idee? Auf das Feature “show a Category menu only under a given Category” freu ich mich auch schon, aber ich goenn dir ja auch den Urlaub.

    Noch ne Frage haette ich, ist es auch moeglich ein widget fuer “Pages” zu machen. Das jetzige vorhandene Widget zeigt leider alle Pages auf einmal an. Waere super wenn man da auch eine Option haette, wo Pages nur auf bestimmten pages angegeben waeren. Waere toll wenn du da auch ein Widget rausgeben wuerdest.

    Schoene Gruesse aus den sonnigen Texas

    Alex

  • 19.

    @alex: king-pages habe ich schon wie von dir gewuenscht fertig, aber noch nicht released. es muss j noch ein wenig spannung bleiben ;-)

    greatings aus peking

  • 20.

    Ach echt!? ist ja genial, du treibst die Spannung ja in die Hoehe ;-) . Waere super wenn du das plugin bald released. wollte meine Webseite liebend gerne fertig haben, bevor ich nach Deutschland zur WM fahre.

    Viel Spass noch in Peking

    Vielen Dank im Voraus

    Alex

  • 21.

    Hallo Schorsch,

    wollte nur mal checken ob du deinen Chinaurlaub gut ueberstanden hast und wie der Stand der Dinge ist wegen dem King Pages.

    vielen Dank im Voraus

    Alex

  • 22.

    I uploaded the King Widgets Framework, then the King Categories, but when I’m trying to activate the plugin I get an error message:


    Warning: widget_king_categories_register(widgets.php): failed to open stream: No such file or directory in /wp-content/plugins/king-categories.php on line 471

    Warning: widget_king_categories_register(): Failed opening 'widgets.php' for inclusion (include_path='.:/usr/local/lib/php') in /wp-content/plugins/king-categories.php on line 471

    Am I doing something wrong? Thank you!

  • 23.

    For some strange reason with King Categories I get one category alone indented each time. i have tried deleting it and recreating it but this category always comes up with the same indent – style=”margin-left:1em. None of the others have it. I’m baffled. http://davidhewson.mydaisy.info/

  • 24.

    @Constantin: You are missing the widgets plugin, please check the install notes from the framework.

    @bodsham: Please check your sidebar. there is some wrong html in there -> get yourself this firefox plugin to check your sourcecode:
    http://users.skynet.be/mgueury/mozilla/

  • 25.

    Thanks for the tip about the plugin. The html errors don’t seem to be in that error – it seems to be some other problem, maybe a conflict with the theme. Anyway, on reflection it’s easier to do this as html in a text box – easier to reorder. Thanks again for your help and interesting widgets.

  • 26.

    Georg, thank you for your prompt response! The problem was that I didn’t activated the Widgets plugin (duh!). Now I did activated the Widgets plugin, and the King Category plugin, but I’m not able to see the full customizing menu that you’re describing. I only have access (in Presentation > Sidebar Widgets) to a short King Category Menu that’s asking “How many Category Menus would you like?”

    I have the framework installed in /plugins/ – but I can’t find the option to activate it from the Plugins menu. Is that the cause I’m not seeing the full menu for the widget?

    Thank you!

  • 27.

    Hi,

    i’ve some problems to get the categories work with folding; I installed the Fold Category List plugin, but it doesn’seem to work. When I check the box; Use Foldable Navigation in the King Cat widget, it just doesn’t show the children, but nottin is folding;)

    is this a known problem?.. what am i doing wrong?
    Im setting op the blog on http://www.outbox.nl/blog/

  • 28.

    I did not encounter that till now. To test you can also try to use the direct folding cat-list call: wswwpx_list_cats(); inside your templates or the king text widget (using php).(to see if the problem is with my widget or not)
    You should also try with all other widget switches disabled to find the problem.
    Another point is to have content in all of the categories and of course enable the folding plugin (sorry but some people forget)

  • 29.

    [...] You can make use of the King Categories Widget to organize your categories: http://www.blog.mediaprojekte.de/cms-systeme/wordpress/wordpress-widget-king-categories/ Tags [...]

  • 30.

    Found wrong date for my categories (1970-01-01 must be 2006-06-07), but it’s OK for child categories.

    how to solve this ?

    Thank You

  • 31.

    @Pramudita
    I don´t think this comes from the widget since it is using just the normal wp_list_cats() function and is not changing anything in your categories.
    The date is representing the Date of the last article, so if there is no new article inside it might show 1970??

  • 32.

    Yes…is show 1970 if there is no post at that category. maybe for future version the date can representing the date of category was created if there was no new article at that category…just my suggestion :D
    Thanks

  • 33.

    @pramudita: Sorry i´m the wrong address for that :-( . This function comes from the wordPress Core.

  • 34.

    Is it possible to use your “sliding box” effect from the king text widget with king categories as well?

    I know that king categories can collapse categories other than the current category but I’d really like to be able to hide the entire category list (except for the title) until it’s needed.

  • 35.

    I already prepared a major Update and will see what i can do.

  • 36.

    [...] King Categories Widget – 可以自訂輸出分類方法的Widgets [...]

  • 37.

    thanks for this plugins but i want to know, if it’s possible, how manipulate my CSS to show hierarchical ?

    sorry for my english … i’m french ;)

  • 38.

    when hirachical is in the subcategirues are shown under the main inside their own ul/li .. this can be formated whith css.
    hava a look into your html code to see the differences. then get yourself firefox + the webdeveloper plugin and start playing with the css.

  • 39.

    [...] You can make use of the King Categories Widget to organize your categories. [...]

  • 40.

    [...] You can make use of the King Categories Widget to organize your categories: http://www.blog.mediaprojekte.de/cms-systeme/wordpress/wordpress-widget-king-categories/ [...]

  • 41.

    “Coming Features: Option to show a Category menu only under a given Category. Very usefull if you have deeply nested Categories… if you need this urgendly write me because it´s nearly finished”

    IM URGENTLY WIRTING YOU! These features would create the ultimate navigation plugin.

    1. If you could select to show the category menu only while browsing a specific category, or the children of that category, or both.

    2. The same thing, only with pages. If you could select to show a certain category menu only while browsing a specific page, or the children of that page, or both. Ive seen this done with a drupal category module by using /page_name/* , with the * acting as a catch all for any page under /page_name/ .

    This flexability would solidify these already rock-solid plugins.

    Thanks for the great work!

  • 42.

    Thanks for your feedback matt. i´m was kina busy the last month, so my pdates are a little behind. I´ll just updaed the King Categories widget to suit your requests.

  • 43.

    [...] King Categories [...]

  • 44.

    Simply amazing! I request a feature while late nite browsing, sleep, wake up, and its there! Knowing that you worked this quickly bring me chills! It seems to be the perfect addition, except I am getting an the following error. I tried various settings, each returning an error, even with the most basic settings : “Show only on special page area, and is_home”

    “Fatal error: Call to undefined function: king_in_site_area() in …/king-categories.php on line 112″

    HELP! Thanks, Matt

  • 45.

    Please update the framework too. There is a new function.

  • 46.

    Ein tolles Plugin, habe es soeben eingebaut da es das derzeit einzige ist welches hervorragend die Aufklappmenu unterstützt.

    Bin aber auf einen Bug gestoßen. Undzwar klappt es mit dem aufklappen nur bis zur 2. Ebene, danach schleicht sich ein Fehler ein.
    Es fehlt offenbar ein , dadurch werden alle folgenden Menue der 2. Ebene zu weit nach rechts verschoben.

    Siehe Beispiel. Wie bekommen ich am Ende der dritten Ebene ein zusätzliches Schließ Tag hinein ???

    Herzliche Grüße

    | – IPP Top Partner

    | – | – Webseite eintragen

    | – | – | – Jens Test Kat

    http://test.ipptravel.com/?cat=82

  • 47.

    Can you please tell me if i can stop posts showing unless user nagivates to that category?
    IE not all the posts of the children to show up in the main parent.

    please advise what options i have to use if its possible..

    thanks!! having fun with all ur widgets

  • 48.

    Leider gibt es offenbar weitere Bugs im Kings Framework 0.7. Bekomme haufenweise Fehlermeldungen seit der Installation im Zusammenhang mit Plugin Post_Level und aLink.
    Nach dem abschalten von Kings Framework läuft alles normal wie zuvor.

    Beste Grüße

  • 49.

    Wollte nochmal nachfragen an welcher Stelle es möglich ist den falschen /li tag gegen einen /ul Tag auszutauschen.

    so sieht es jetzt aus
    | – 1 Ebene

    | – | – 2 Ebene

    | – | – | – 3 Ebene

    2x /ul nötig !! aber nur 1x vorhanden

    | – | – 1 Ebene

    so sollte es aber sein
    | – 1 Ebene

    | – | – 2 Ebene

    | – | – | – 3 Ebene

    | – 1 Ebene

  • 50.

    Leider gibt es noch einen Fehler.
    Die Funktion zeige nur in dieser Kategorie an, als Button aktivieren und die Ziffer der Kat eintragen, bleibt ohne Wirkung.
    Das Menue wird trotzdem in allen Kat angezeigt….

    Grueße Klaus

  • 51.

    hi klaus, vielen dank für dein feedback.
    dein problem mit dem aufklappmenue ist nicht an das widget gebunden, sondern in dem entsprechenden plugin zu finden.
    DIe Probleme mit den anderen Plugins konnte ich noch nicht lokalieiseren. du musst das framework aber nicht aktivieren. das ist nur für den versionscheck sinnvoll.

  • 52.

    Hallo Admin,

    habe gerade festgestellt das es immer noch hakt…
    Gebe ich jetzt an nur in z.B.Kat 25 oder 26 anzeigen, wird es überhauptnicht mehr angezeigt.
    Weder in der ausgewählten noch in einer anderen Kat.

    Schaue mal test.ipp-travel.com ( Suchen=25 Info=26 ) da sollte dann jeweils ein eigenes Menue erscheinen.

    Grüße Klaus

  • 53.

    check mal die anzeigeoptionen im wordpress codex unter “conditional_tags”. da sind die auswahloptions erklärt und vielleicht hackt es daran. ich hab es ausprobiert mit schalter is_category + 30,9 (also nur diese cat id´s) und es klappte ohne probs

  • 54.

    Kann es sein wir reden da von zwei verschiedenen Dingen. Du schreibst +30,9. Feld Bezeichung Category ID. An dieser Stelle läßt sich aber nur eine ganzzahlige Ziffer max 3 Stellen eintragen !
    Es handelt sich um das erste Eingabefeld von oben, NICHT um das ganz unten.
    Also Feld Show only inside Category: aktiv
    Feld Category ID=25
    alle weiteren Felder nicht aktiv.
    Dann wird dieses Menue nirgends mehr angezeigt, auch nicht in Kat 25.

    Grüße

  • 55.

    Hallo Schorsch,

    das King-Kategorie Plugin klappt soweit jetzt wunderbar, das einzige was es noch perfekter machen wuerde, wenn die Oberkategorien die Anzahl der Beitraege in den dazugehoerigen Unterkategorien zusammenzaehlen wuerden. Z.B. Auf meiner Seite die Kategorie “Gallery” (0 Beitraege) hat eine Unterkategorie “00er” (0 Beitraege) und diese hat unter anderem die Unterkategorie “‘06″ (2 Beitraege) es waere super, wenn die Ueberkategorien “00er” und “Gallery” auch eine 2 in der Beitraganzahl dahinter anzeigen wuerde anstatt einer 0. Also sprich die Unterkategorien zusammenzaehlt.

    Ich hoffe du konntest mir folgen

    Danke

    Alex

  • 56.

    I can’t seem to find my widgets.php. Please help

  • 57.

    Bah! I’m so close… but the “Children of” feature isn’t working. I get the children AND all of the top-level categories, including the “empty” parent category of the children I’m trying to show (”Review”).

    Help?

  • 58.

    Lieben Lieben Dank!

    Grosses Lob: Nap-freundlich, funktionierend, faszinierend!

  • 59.

    @Alex: diese funktionen bietet wordpress leider nicht und dieser plugin nutzt lediglich die vorhanden funktionen des kategorie listings

    @Marcus: must be in the same directory as the king widget

    @greyDuck: finding such special setup takes a little trying out. you might also want to check out the codex.wordpress.org for some more hints.

    @Julia: vielen dank für die blumen

  • 60.

    [...] King_Categories_Widget – Far better than the default categories widget. [...]

  • 61.

    Wollte nochmals auf den BUG aufmerksam machen, siehe mein Schreiben 54, da noch keine Antwort gekommen ist.
    Der BUG äußert sich dahingehend das die Funktion zweites Eingabefeld von oben, Show only inside Categorie nicht funktionsfähig ist. Trägt man dort etwas ein, dann wird das Menue nicht mehr angezeigt.

    Grüße Klaus

  • 62.

    Danke für das feedback, werde es überprüfen. Habe die letzte Zeit an einem neuen Event Calender Plugin gearbeitet.

  • 63.

    Having trouble with fatal error on line 589

    function widget_king_categories_version() {
    king_version_head ‘King_Categories_Widget’,KINGCATEGORIESVERSION);

    add_action(’admin_head’,'widget_king_categories_version’

    Any solutions ?

  • 64.

    this is the function for the remote version check. maybe your server security settings don´t allow this. you can comment out the function and see if it works.

  • 65.

    I tried commenting it out and it did work but the widget seems to be running rather flakey and the advance settings can’t be clicked on.

  • 66.

    Got it working now, turns out the FTP upload had corrupted or cut out and all the files weren’t there.

    Anyways my only question now is how to get blue fonts instead of white ?

  • 67.

    Still can’t get blue fonts for the links in the category list.

    I created a h5 in the style sheet and messed around with it but it only turns the post counts blue not that links.

    This is the exact opposite of what I want.

    The old way was blue links with white post counts.

  • 68.

    @knight:
    get yourself the webdeveloper extension + tidy html validator for firefox . with those you can easiely check if your html / css is korrekt and those tools will ease your programming.

  • 69.

    mal schauen, ob sich daraus etwas nützliches und bedienbares für unser blog einsteiger & anfänger drinnen steckt.

  • 70.

    hi there,

    i’m trying to replicate the following web site’s category function http://random-international.com/ i was wondering if you might be able to tell me how to do this. For example, i have played around with this widget and i don’t think i can get the same affect with it…. i.e. when you press the category link, nothing is shown in the left hand side and the children are displayed below, it is only when you click on the children that the post is placed in the main area of the site..

    please help!!

    desperate simon

    x

  • 71.

    For what it’s worth:

    children|1
    child_of|17
    hierarchical|1

    The trick was to turn on both “show children” and “hierarchical”. I had the first, not the second. I hope this helps someone else out there!

  • 72.

    Thanks for your widgets, these are great! I do have one problem, I am trying to use the Show Only In Category and it works great except when the first post on the main page is in that category. Then both the King RSS and King Category widgets display (even if I check the DO NOT show in special area). I am using .93 categories, .52 rss and .70 frame. Any ideas?

    My Category Dump:
    title|Inside Essentials
    sort_column|name
    sort_order|asc
    empty|1
    child_of|13
    hierarchical|1
    show_category|1
    category_id|13
    show_not_on_site_area|1
    site_area|is_home

    Thanks.

  • 73.

    Fantastic set of widgets. A very comprehensive and feature filled option-set.

    On your Category Widget, the tooltip (in the “where to show” section) states: “The ID of the category the box is to be shown on. Sorry only one for now….”

    My question is: Will this option be improved upon soon?

    I want to pass more than one argument (categories).

    Until then I’m going to have to hard code it, I guess it’ll be good for me, as it’ll help me to learn PHP the old fashioned way!!

    Again thank you

    Toby

  • 74.

    IGNORE post 72. I had a bunch of stuff wrong in my loop. Thanks again for the widgets.

  • 75.

    Still messed up. Is this how it is supposed to work? (post 72)

  • 76.

    [...] About [...]

  • 77.

    [...] King Categories [...]

  • 78.

    Hi,
    new to wordpress for deaper working with.
    found your great additional scripts, nice designed pages!

    my question:
    I have installed widgets, king framework, also some king widgets, all activated, but still don’t see them.

    You wrote: “- Drag the King Categories Widget on one of your sidebars and play with the options. In the Advanced Options Tab you´ll find a switch for inserting Wordpress Defaults to get a Start.”

    Where i can drag them to where?
    I only see in “Options / Einstellungen” “King Plugin Options”. After chjeck or uncheck the JS button and save, i don’t see any of the widgets appearing.

    do i do more? means including in themes etc?
    Guess i thought it’s for backend feature, is it?

    Would be great to get a hint how to get them working.

    Thank you in advance.

    cyrano

  • 79.

    cool, got it now working.
    very nice stuff. thank you!!

  • 80.

    [...] King Categories Rozbudowany system do wyświetlania kategorii postów. [...]

  • 81.

    [...] um aufklickbare Kategorien zu bekommen, braucht man dreierlei: das Widget-Interface als Rahmen, FoldCategoriesList für die Funktion selbst, und das Widget King Kategories, um die Funktion sauber einbinden zu können. [...]

  • 82.

    [...] King Categories Rozbudowany system do wywietlania kategorii postw. [...]

  • 83.

    Great plugin! Thanks! This is superb..

  • 84.

    [...] Posted in Computer and Internet, Wordpress and Blogging | Trackback | del.icio.us | Top OfPage [...]

  • 85.

    Can this be used to implement http://www.elsua.net/2006/09/19/feedburner-plugin-21-keeping-track-of-all-of-your-syndication-needs/ ?

    I want per-category RSS feeds, but I don’t want to have to edit the template.

    Thanks, Martin.

  • 86.

    I am using most of the King Widgets on my site with great results so far. I do have one question:

    How do I list the categories in the sidebar list in the order that I choose? I understand I can sort by name or ID, but where do I list the order I want them to be in?

    Thanks, Max

  • 87.

    I just installed King Framework and King Categories according to the instructions, but nothing at all is showing up under plugins for me to activate. I have widget installed and activated, with various other widgets running. I can’t imagine what’s wrong. Would really appreciate some help! Thanks.

  • 88.

    Same here. nothing available to activate under plugins

  • 89.

    moin,
    kann man den kategorien irgendwie li id tags geben, damit man das gut formatieren kann?
    viele grüße,
    fabs

  • 90.

    hi
    aktivire ich das frameworg in den plugins, sind die ganzen widgets blockiert, dh ich kann keines mehr aktivieren.

    Ursache?

  • 91.

    It doesnt work :( when I activate it, I get a long page of error codes. This is with the newest version of wordpress (2.1.3)

  • 92.

    This Plugin is awsome, but is there a way to make it display the feed images before the category title rather than after it?

    How could I do this..

    Many Thanks

    Martin

  • 93.

    I get a fatal error when activating this plugin in wordpress 2.2. It worked fine in 2.1.3. Error has something to do with wp-includes/capabilities.php file. Thank you.

  • 94.

    [...] then testing to make sure nothing went wrong. Everything was going smoothly until activating the King Categories widget. Another fatal error. This time, I emptied the active_plugins field from the wp_options table and [...]

  • 95.

    [...] then testing to make sure nothing went wrong. Everything was going smoothly until activating the King Categories widget. Another fatal error. This time, I emptied the active_plugins field from the wp_options table and [...]

  • 96.

    I got it to work it shows up on the sidebar widget. Problem, I can’t drag the widget or any of the widgets unto sidebar widget. It only happens when I enable either the framework or the widget itself. Any help would be appreciated it.

  • 97.

    [...] Visit [...]

  • 98.

    I am having serious issues with all the plug-ins. I have sidebar widgets installed, frameworks up and running, and I changed the syntax error with the prototype-lite.js…. so any suggestions as to why I get this error everytime I try to activate the categories plugin???

    Warning: main(widgets.php) [function.main]: failed to open stream: No such file or directory in /home/designta/public_html/blog/wp-content/plugins/king-categories.php on line 11

    Warning: main() [function.include]: Failed opening ‘widgets.php’ for inclusion (include_path=’.:/usr/lib/php:/usr/local/lib/php’) in /home/designta/public_html/blog/wp-content/plugins/king-categories.php on line 11

    Warning: Cannot modify header information – headers already sent by (output started at /home/designta/public_html/blog/wp-content/plugins/king-categories.php:11) in /home/designta/public_html/blog/wp-includes/pluggable.php on line 275

    I get similar errors for all the other plugins also. All help is welcome and needed. Thanks

  • 99.

    Hallo,

    ich versuche gerade King_Categories zu installieren, leider bekomme ich immer folgende Fehlermeldung:

    Fatal error: Call to undefined function wp_get_current_user() in /is/htdocs/wp1042553_IZ2JPQG6FU/www/wordpress/wp-includes/capabilities.php on line 446

    Ich nutze die neueste WP Installation 2.2. mit “eingebauter” Widgets-Funktion. Kann es daran liegen und wenn ja, gibt es Abhilfe?
    Ich wäre sehr sehr dankbar für die Hilfe…

    Grüsse, Lea

  • 100.

    cool, i love widgets form http://www.widgipedia.com

  • 101.

    I’m having some problems with the King Cat plugin, basically, I can’t style the category links properly because the main widget ‘li’ gets closed immediately after the title (not at the end of the widget as it should).

    Any suggestions, I have “Show Hierarchical” and “Show as List” selected. If it matters, I’m only showing children of a specific category (not all of them)

  • 102.

    Hallo,

    Leider erhalte ich folgende Fehlermeldung wenn ich es aktivieren möchte:

    Fatal error: Call to undefined function: wp_get_current_user() in /home/www/web19/html/hech/wp/wp-includes/capabilities.php on line 446

    Ich verwende WP Version 2.2.1, wo finde ich das File widgets.php? (Copy king_categories.php into your plugins widget folder -> where your widgets.php is !!!)

    Hab schon alles probiert und wäre sehr dankbar für eine Hilfe.

    Gruss
    Andy

  • 103.

    habe auch probleme mit der 2.2.0 und 2.2.1 version. wann kann man mit einem update rechnen, der blog ist ohne eure plugin halb zerschossen :-(

  • 104.

    Hallo,

    ich habe Framework installiert und aktiviert. Jetzt wolle ich Categories installieren und aktivieren.
    Habe auch WP Version 2.2.1 und bekomme die gleiche Fehlermeldung wie Andy.

    Kann mir bitte einer weiterhelfen-

    Gruss
    Yvi

  • 105.

    [...] Visit [...]

  • 106.

    I uploaded files per install instructions, activated
    framework, then activated categories. After activating
    categories I received this error:

    Fatal error: Call to undefined function: wp_get_current_user() in /home/content/c/o/u/cougrrpaw/html/rob/wp-includes/capabilities.php on line 446

    And now none of the other WordPress pages are working.
    Including signing out, or loggin in!

    Is there a way to manually deactivate a plugin?

  • 107.

    This is bad, basically WordPress has been disabled due
    to activating the categories plugin. I hope someone can
    help?!?!?

  • 108.

    [...] You can make use of the King Categories Widget to organize your categories:http://www.blog.mediaprojekte.de/cms-systeme/wordpress/wordpress-widget-king-categories/ [...]

  • 109.

    I use WP v. 2.2. I uploaded Kingframework into the plugin folder. I uploaded KingCategories into the includes folder where the widget.php is.

    I activated the Kingframwork ok. but nothing happened. I don;t see Kingcategories anywhere.

    What did I do wrong? Please help

    Philip

  • 110.

    It seems like there is a serious bug in this version concerning the path during includes at line 11 and 562.

    Georg: Manually setting the path to the include_once(’widget.php’) removes the widget tab from the administrator’s menu, of course.

    In any case this version is *NOT* compatible with Wordpress 2.2

  • 111.

    Bei anderen king widgets hat es genügt, die Code-Zeilen, in denen das alte widgets.php eingebunden wird zu löschen. Dieses ließ sich bei mir auch so installieren.

    The King widgets haven’t been updated for some time. Meanwhile the widgets-functionality has been incorporated into WP 2.2, so open up the plug-ins in your text editor, do a search for ‘widgets.php’ (without quotes) and delete the whole lines where it says smth. like “require once(’widgets.php’)”, as this searches for the old plugin.

  • 112.

    I got Kings categories widget to work in 2.2 by commenting out
    include_once(’widgets.php’); on lines 11 and 562

  • 113.

    Thanks for the tip guys!!
    Just removed those 2 lines and now can finally make use of this awesome plugin!!

    Cheers.

  • 114.

    Hmn, I couldn’t activate the plugin. Here’s the message on the “Plugins” interface:

    “Plugin could not be activated because it triggered a fatal error.”

  • 115.

    I forgot to mention above that I also have about 70 plugins activated. Don’t know if this is incompatible with other plugins or if it’s fatal to the core file:

    “Plugin could not be activated because it triggered a fatal error.”

  • 116.

    Hey, I’ve just taken a look this plugin code and was wondering where if you had uploaded incomplete file (this is because I only download the latest .93 version :) .
    …king-includes/library/form.php’);
    and
    …king-includes/library/king_widget_functions.php’);

    So, basically, it would help a lot if you add another ” – needs the King Widget framework from version 0.70 and up” link just below the latest version or at the very top of all version, pointing out that this plugin needs the Frame Work?

    Heheh, I have almost not going to use this plugin (I’ve tried 5-7 other similar plugins). But since I now know how to use it, THANKS A LOT FOR THE WORK!!!

  • 117.

    dear everyone, sorry to interrupt but i’m looking for a simple widget which would show a number of posts from a certain category.

    I have a blog that sometimes does reviews of music (which is categorised as “reviews”), so i just wanna have a part of the sidebar which would show a list the recent reviews done (with links to each post/review).

    anyone can point me to a good place for that?

    thanks you in advance.

    mnrmn

  • 118.

    Wordpress Widget: King Categories…

    Widgets will revolutionize the way normal users can interact with wordpress. Therefore i wanted to write a plugin for one of the most used (and at least by me, most hated) wordpress template placeholder … the list_cats() It´s used for the category …

  • 119.

    I can’t get this to install, your instructions are not very specific.
    The plugins directory shows King_framework and does nothing when activated.
    Please tell me with WP 2.3.1 What directory do I put the framework folder, and what directory do I put king_category.php?

    Thanks

  • 120.

    I am trying to install King Category on Wordpress 2.5.1. I did copy the latest version of king-categories.php and king includes in to wp-content/plugins/ folder. The framework can be perfectly activated. However, when I tried activate the king-categories.php files, Wordpress say “Plugin could not be activated because it triggered a fatal error.”

    Any suggestions?

  • 121.

    I get the same “Plugin could not be activated because it triggered a fatal error.” when activating king-categories.php. I have to place it in the wp-content/plugins/ folder else it does not show up in the Plugins area. And then it gives the error stated above. Note that the plugins directory does does not have a widgets.php file which you seem to include in the code of king_categories.php.

  • 122.

    [...] King Categories Widget von Georg Leciejewski ersetzt das in WordPress eingebaute Widget und verfügt über [...]

  • 123.

    [...] You can make use of the King Categories Widget to organize your categories:‘ + title + ‘ – ‘ + basename(imgurl) + ‘(’ + w + ‘x’ + h +… [...]

  • 124.

    [...] King Categories – acts a front-end to the abilities of the list_cats function [...]