9. April, 2006
Wordpress Widget: King Categories
First 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 )
Version 0.7 English and German Admin Screen.Please Klick to enlarge.
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 (05.09.2006 09:47)
Version 0.92
- needs the King Widget framework from version 0.70 and up
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 (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 (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 (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”
Kommentar von jpfieber am 9. April, 2006 um 5:12
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!
Kommentar von erik am 10. April, 2006 um 16:01
sehr feine sache. da werd ich dann doch neugierig was sich hinter dem wohlklingenden fremdwort widgets verbirgt. sieht gut aus!
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)?
ps: aber bitte bitte baut euch mal ein king_spellchecker (mit einer king_rechtschreibung.mo) natürlich
hrhrhr … nevermind the klugscheissers
Kommentar von MP:Schorsch am 10. April, 2006 um 20:34
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..)
Kommentar von jpfieber am 15. April, 2006 um 16:49
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?
Kommentar von MP:Schorsch am 15. April, 2006 um 16:55
no, this widget is basicly just generating the list_cats() call and has no influence on the category count intelligence.
Pingback von WordPress Widgets » Blog Archive » King Categories am 15. April, 2006 um 23:57
[...] 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! [...]
Pingback von Blogging Pro China » Blog Archive » WordPress Widget: King Categories Widget am 22. April, 2006 um 15:01
[...] King Categories Widget,用于显示分类的widget,可以控制各类显示分类的选项。 categories widget [...]
Kommentar von Peter am 27. April, 2006 um 13:12
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.
Kommentar von MP:Schorsch am 28. April, 2006 um 8:08
@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.
Kommentar von Peter am 28. April, 2006 um 14:19
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.
Kommentar von peb am 13. Mai, 2006 um 22:29
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
Kommentar von MP:Schorsch am 14. Mai, 2006 um 9:21
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.
Kommentar von peb am 14. Mai, 2006 um 15:48
OK, I got it now. And I can use it that way.
Thanks,
Kommentar von DLE am 19. Mai, 2006 um 8:58
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?
Kommentar von MP:Schorsch am 19. Mai, 2006 um 8:59
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.
Kommentar von Nimue Sionnach am 21. Mai, 2006 um 16:34
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?
Kommentar von MP:Schorsch am 21. Mai, 2006 um 22:58
bin bis zum 6.6 im urlaub danach schauen wir mal
Kommentar von Alex am 31. Mai, 2006 um 6:27
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
Kommentar von mp:schorsch am 1. Juni, 2006 um 6:55
@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
Kommentar von Alex am 1. Juni, 2006 um 7:11
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
Kommentar von Alex am 13. Juni, 2006 um 2:35
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
Kommentar von Constantin am 13. Juni, 2006 um 23:26
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!
Kommentar von bodsham am 13. Juni, 2006 um 23:30
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/
Kommentar von MP:Schorsch am 13. Juni, 2006 um 23:59
@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/
Kommentar von bodsham am 14. Juni, 2006 um 10:07
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.
Kommentar von Constantin am 14. Juni, 2006 um 15:10
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!
Kommentar von Metis Online am 25. Juni, 2006 um 15:11
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/
Kommentar von MP:Schorsch am 25. Juni, 2006 um 17:06
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)
Pingback von » 10 SEO tips for WordPress : SEO Portal am 9. Juli, 2006 um 21:25
[...] 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 [...]
Kommentar von Pramudita am 11. Juli, 2006 um 16:34
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
Kommentar von MP:Schorsch am 12. Juli, 2006 um 9:09
@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??
Kommentar von Pramudita am 13. Juli, 2006 um 20:47
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
Thanks
Kommentar von MP:Schorsch am 14. Juli, 2006 um 0:50
@pramudita: Sorry i´m the wrong address for that
. This function comes from the wordPress Core.
Kommentar von ttancm am 15. Juli, 2006 um 3:25
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.
Kommentar von MP:Schorsch am 15. Juli, 2006 um 10:11
I already prepared a major Update and will see what i can do.
Pingback von Superbil.info » Wordpress Plugins am 15. Juli, 2006 um 22:50
[...] King Categories Widget – 可以自訂輸出分類方法的Widgets [...]
Kommentar von agrias am 2. August, 2006 um 7:49
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
Kommentar von MP:Schorsch am 2. August, 2006 um 11:05
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.
Pingback von » Optimizing WordPress blogs for the search engines am 14. August, 2006 um 10:37
[...] You can make use of the King Categories Widget to organize your categories. [...]
Pingback von 10 SEO Tips for WordPress IT Articles am 2. September, 2006 um 5:46
[...] 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/ [...]
Kommentar von Matt am 3. September, 2006 um 8:29
“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!
Kommentar von Administrator am 3. September, 2006 um 13:36
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.
Pingback von Wordpress widgets at Eddie Adams’ weblok am 3. September, 2006 um 13:42
[...] King Categories [...]
Kommentar von Matt am 3. September, 2006 um 16: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
Kommentar von Administrator am 3. September, 2006 um 18:28
Please update the framework too. There is a new function.
Kommentar von Klaus am 3. September, 2006 um 23:24
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
Kommentar von Kim am 4. September, 2006 um 8:14
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
Kommentar von Klaus am 4. September, 2006 um 12:07
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
Kommentar von Klaus am 4. September, 2006 um 15:47
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
Kommentar von Klaus am 5. September, 2006 um 0:25
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
Kommentar von Administrator am 5. September, 2006 um 9:54
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.
Kommentar von Klaus am 5. September, 2006 um 12:20
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
Kommentar von Administrator am 5. September, 2006 um 21:02
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
Kommentar von Klaus am 5. September, 2006 um 23:38
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
Kommentar von Alex am 6. September, 2006 um 0:06
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
Kommentar von Marcus am 16. September, 2006 um 7:22
I can’t seem to find my widgets.php. Please help
Kommentar von GreyDuck am 21. September, 2006 um 17:43
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?
Kommentar von Julia am 29. September, 2006 um 9:22
Lieben Lieben Dank!
Grosses Lob: Nap-freundlich, funktionierend, faszinierend!
Kommentar von MP:Schorsch am 30. September, 2006 um 17:45
@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
Pingback von TwiddleGeek » Blog Archive » Tools of the Trade am 2. Oktober, 2006 um 18:27
[...] King_Categories_Widget – Far better than the default categories widget. [...]
Kommentar von Klaus am 3. Oktober, 2006 um 17:16
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
Kommentar von Schorsch am 3. Oktober, 2006 um 17:25
Danke für das feedback, werde es überprüfen. Habe die letzte Zeit an einem neuen Event Calender Plugin gearbeitet.
Kommentar von Knight am 4. Oktober, 2006 um 18:58
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 ?
Kommentar von Administrator am 4. Oktober, 2006 um 22:55
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.
Kommentar von Knight am 5. Oktober, 2006 um 7:25
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.
Kommentar von Knight am 5. Oktober, 2006 um 9:07
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 ?
Kommentar von Knight am 6. Oktober, 2006 um 12:38
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.
Kommentar von Administrator am 7. Oktober, 2006 um 10:56
@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.
Kommentar von meinhard am 8. Oktober, 2006 um 18:32
mal schauen, ob sich daraus etwas nützliches und bedienbares für unser blog einsteiger & anfänger drinnen steckt.
Kommentar von Si Hill am 10. Oktober, 2006 um 17:32
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
Kommentar von GreyDuck am 12. Oktober, 2006 um 23:11
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!
Kommentar von Jim am 22. Oktober, 2006 um 3:10
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.
Kommentar von Toby am 25. Oktober, 2006 um 13:59
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
Kommentar von Jim am 27. Oktober, 2006 um 2:59
IGNORE post 72. I had a bunch of stuff wrong in my loop. Thanks again for the widgets.
Kommentar von Jim am 27. Oktober, 2006 um 18:35
Still messed up. Is this how it is supposed to work? (post 72)
Pingback von Jeff » Blog Archive » Starting Genesis am 14. November, 2006 um 5:33
[...] About [...]
Pingback von KrainaMarzen.pl » SuperWordPress! - Najlepsze dodatki am 19. November, 2006 um 13:49
[...] King Categories [...]
Kommentar von cyrano am 23. November, 2006 um 14:47
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
Kommentar von cyrano am 23. November, 2006 um 15:40
cool, got it now working.
very nice stuff. thank you!!
Pingback von KrainaMarzen.pl » SuperWordPress! - Najlepsze dodatki am 27. November, 2006 um 19:48
[...] King Categories Rozbudowany system do wyświetlania kategorii postów. [...]
Pingback von frag-den-nerd.de » Blog Archive » Categories verwalten in Wordpress :: wordpress am 7. Dezember, 2006 um 3:00
[...] 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. [...]
Pingback von Zakadamy Bloga | Blog Iwanka am 11. Dezember, 2006 um 0:56
[...] King Categories Rozbudowany system do wywietlania kategorii postw. [...]
Kommentar von Free Templates am 20. Dezember, 2006 um 18:40
Great plugin! Thanks! This is superb..
Pingback von 10 SEO Tips for WordPress | Articlexpose.com am 26. Dezember, 2006 um 15:33
[...] Posted in Computer and Internet, Wordpress and Blogging | Trackback | del.icio.us | Top OfPage [...]
Kommentar von Martin Cleaver am 27. Dezember, 2006 um 18:35
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.
Kommentar von TAN WebMaster am 6. Januar, 2007 um 8:23
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
Kommentar von Mark S. Meritt am 10. Januar, 2007 um 3:02
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.
Kommentar von Tyler am 30. Januar, 2007 um 7:56
Same here. nothing available to activate under plugins
Kommentar von fabs am 17. April, 2007 um 20:07
moin,
kann man den kategorien irgendwie li id tags geben, damit man das gut formatieren kann?
viele grüße,
fabs
Kommentar von karlg am 29. April, 2007 um 15:05
hi
aktivire ich das frameworg in den plugins, sind die ganzen widgets blockiert, dh ich kann keines mehr aktivieren.
Ursache?
Kommentar von Mark am 10. Mai, 2007 um 3:57
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)
Kommentar von Martin am 15. Mai, 2007 um 23:41
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
Kommentar von Lori am 16. Mai, 2007 um 18:59
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.
Pingback von LBnuke » WordPress 2.2 am 17. Mai, 2007 um 0:41
[...] 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 [...]
Pingback von LBnuke » WordPress 2.2 Upgrade am 17. Mai, 2007 um 0:42
[...] 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 [...]
Kommentar von tonitox2 am 18. Mai, 2007 um 2:29
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.
Pingback von WP Plugins DB » Blog Archive » King Categories Widget am 20. Mai, 2007 um 9:51
[...] Visit [...]
Kommentar von jim am 23. Mai, 2007 um 8:11
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
Kommentar von lea am 28. Mai, 2007 um 18:44
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
Kommentar von web widget boy am 4. Juni, 2007 um 21:49
cool, i love widgets form http://www.widgipedia.com
Kommentar von Tim Lockwood am 5. Juni, 2007 um 14:32
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)
Kommentar von Andy am 25. Juni, 2007 um 1:29
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
Kommentar von derblogger am 6. Juli, 2007 um 3:53
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
Kommentar von Yvi am 8. Juli, 2007 um 13:56
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
Pingback von WP Plugins DB » Plugin Details » King_Categories_Widget am 14. Juli, 2007 um 9:14
[...] Visit [...]
Kommentar von Marty am 16. Juli, 2007 um 5:30
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?
Kommentar von Marty am 16. Juli, 2007 um 16:22
This is bad, basically WordPress has been disabled due
to activating the categories plugin. I hope someone can
help?!?!?
Pingback von 10 SEO Tips for WordPress » Freebestlive.com am 18. Juli, 2007 um 18:23
[...] 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/ [...]
Kommentar von Philip am 24. Juli, 2007 um 2:32
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
Kommentar von Sebastian am 24. Juli, 2007 um 6:46
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
Kommentar von marco am 24. Juli, 2007 um 14:35
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.
Kommentar von slava am 29. Juli, 2007 um 5:04
I got Kings categories widget to work in 2.2 by commenting out
include_once(’widgets.php’); on lines 11 and 562
Kommentar von Pete am 31. Juli, 2007 um 8:07
Thanks for the tip guys!!
Just removed those 2 lines and now can finally make use of this awesome plugin!!
Cheers.
Kommentar von Mint-Tree am 5. August, 2007 um 1:38
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.”
Kommentar von SEO Blogger am 5. August, 2007 um 1:40
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.”
Kommentar von SEO Blogger am 6. August, 2007 um 8:52
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!!!
Kommentar von mnrmn am 16. August, 2007 um 19:48
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
Trackback von Leonaut.com am 7. Dezember, 2007 um 17:37
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 …
Kommentar von Seth am 22. Dezember, 2007 um 23:36
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
Kommentar von Torn am 14. Mai, 2008 um 6:28
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?
Kommentar von Neeraj am 2. Juli, 2008 um 0:18
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.
Pingback von King Categories Widget - WP Plugin Archive am 15. September, 2008 um 18:57
[...] King Categories Widget von Georg Leciejewski ersetzt das in WordPress eingebaute Widget und verfügt über [...]
Pingback von 10 SEO Tips for WordPress | Yiğit Korkmaz Kişisel Web Sitesi am 12. Oktober, 2008 um 14:06
[...] You can make use of the King Categories Widget to organize your categories:‘ + title + ‘ – ‘ + basename(imgurl) + ‘(’ + w + ‘x’ + h +… [...]
Pingback von Dellemente Net-Magazine - Where Web Technology Means Business. am 5. Juli, 2009 um 15:36
[...] King Categories – acts a front-end to the abilities of the list_cats function [...]