WordPress Widget: King Links

Wordpress Widgets king linksMy weekly Widget release is going on .. the Link Widget is a damn advanced Version of the build in Link Widget. If you want to go the neerdy road, this might be a nice companion.

If you are a normal WordPress user, this Widget gives you enough power over the linklists to keep you out of the template code.

About 20 switches should give you all of the control you´ve ever dreamt of.



Version 0.65

Bugfix : duplicate output when category filter was set. Sort order did not show the set value in adminform. Thanks to  Jeremy Douglass.

– Remote Version Check. Colours the Plugin in Plugin-Admin List if there is a new Version. 

Version 0.64

– Bugfix: sql error when linit was not set. Thanks to MrPapa for pointing this out in detail!!

– NEW Option to Copy Options from another Widget. Save the time to set all Option again!

Version 0.62 Bugfix:

– the before and after widget/Title was always shown even when only a special site area was selected 

Version 0.6 features: 

– up to 10 Link Widgets

– set all Options like in Link Category Manager or use already set Link Category options

– Set Link Box Standard Options and forget about all the other fancy switches -> for Beginners

– 4 HTML fields to customize HTML before/after widget and title or leave empty and use defaults from functions.php

– Fully localizable with gettext Translation (German Translation included in framework)

– Set on which Website Area to show the Widget. 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 js admin menu

– based on the king widget framework



German + English Admin Screen

king links admin screen german king links admin screen english

Comming Features

– advanced "where to show" with Option to not show in special Area and combination between "in category" and "sitearea", resulting in f.ex. show only in Home and Category XY.

– show only to selected group 

– What else would you like to see? Please comment!  


Of course you should have wordpress widgets installed and activated. If not, you can find the download and install instructions over at

– Copy king-links.php into your plugins widget folder -> where your widgets.php is !!!

– Copy the widget Framework in /king-includes into /plugins, if you have not already another King Widget installed

– activate in Pluginarea.

– Drag the King Link Widget on one of your sidebars and play with the options.

– HINT: set the "Standart Options" Checkbox in the advanced panel to get an easy start


Version 0.64 (22.06.2006 08:36)

don´t forget to get the king-widget framework if you don´t have it already (from 22.06.06 or newer)


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

65 Comments to WordPress Widget: King Links

  1. Ger's Gravatar Ger
    20.04.2009 at 14:17

    Yep, it doesn’t work (anymore) since 2.7.1. Same here, may we expect a fix..?

  2. Andrew's Gravatar Andrew
    21.03.2009 at 7:16

    This doesn’t work in 2.7.1. When I activate the plugin it gives me an error message: „Fatal error: Call to undefined function: get_admin_page_title() in /my_domain/wp-admin/admin-header.php on line 12″. This makes the plugin.php page not functional.

  3. 23.02.2009 at 23:03

    Hi! I am trying to use your plugin. I have installed the King Framework and have Sidebar widgets and both are activated just fine.

    When I drag „king-links.php“ into my /widgets folder, then when I activate it any page in my admin reads this error:

    Fatal error: Call to undefined function get_admin_page_title() in /home/theresident/ on line 12

    Do you have any idea how to fix that? Any help would be greatly appreciated!

  4. Jan's Gravatar Jan
    14.04.2008 at 12:45

    Does this widget work with WP v2.5?

  5. 23.10.2007 at 7:19

    I had the „Fatal error: Call to undefined function get_admin_page_title()“ problem but’s code fix did the trick. Cheers!

  6. 25.09.2007 at 19:17

    I fixed this plugin, so it can be used in WP v2.3! Open the king-links.php & navigate to line 519.

    It looks like this: include_once(‚widgets.php‘);

    You have to comment it out of, since WP v2.3 uses its on widgets now. Simply alter the content so it looks like: /* include_once(‚widgets.php‘); */

    Try again! Thank me by visiting my blog @ 😀

  7. Iain's Gravatar Iain
    18.09.2007 at 14:07

    Is this widget still supported? There doesn’t seem to have been a release in a long time.

  8. Darren's Gravatar Darren
    28.06.2007 at 8:28

    Hi I get this error
    (Fatal error: Call to undefined function get_admin_page_title() in C:\xampplite\htdocs\wordpress\wp-admin\admin-header.php on line 12)
    when I try to activate your links plugin. I’ve installed your framework plugin and activated it already but I still get this message.

  9. 15.03.2007 at 18:45

    I’m using the Links Widget (I love being able to separate links on my page). I also love the display on certain pages. Here’s my question:

    I would like a certain set of links to be displayed when you are in a specific category OR it’s sub-categories (children). Is there a way to choose something like is_category () with multiple category IDs listed? Otherwise I could set up a separate widget for each subcategory, but I will likely run out of available widgets pretty quickly.

    Thanks for any feedback!

  10. 08.03.2007 at 18:27

    Greetings! Does this work with WordPress 2.1.2? I can’t seem to get any links to display.

  11. 05.03.2007 at 14:24


    ich versuche gerade die king links 0.65 zu intsallieren, aber bekomme eine Fehlermeldung, dass die widgets.php nicht gefunden wird.

    Diese liegt bei mir in ../plugins/widgets/ und demnach klappt in /plugins/ der Aufruf include_once widgets.php natürlich nicht.

    Wie muss das denn richtig aussehen ?


  12. Kay's Gravatar Kay
    01.03.2007 at 21:53

    Are you still maintaining these widgets and the framework?

    I am trying to use it with 2.1.1 and a tweaked chameleon theme, but I can’t move the widgets into the sidebar fields as soon as I activate either the framework or the widget.

    Help please :-)

  13. joker's Gravatar joker
    16.02.2007 at 22:40

    Ooops, sorry, I meant to say I was using king-includes_0.70, NOT king-includes_07_05_2006

  14. joker's Gravatar joker
    16.02.2007 at 22:38

    Is King Links compatible with WordPress 2.1? I just upgraded to WP-2.1, king-includes_07_05_2006, and king-links_0.65, and though the King Links sidebars do still show up where they were, and are named correctly (as I set them up to be named in the Presentation->Sidebar_Widgets options), they’re no longer showing any of the links they’re supposed to be showing. I checked the database and the wp_links/link_category ids correspond to what I configred King Links to use, so could it be that King Links just doesn’t work right with WP-2.1 ?

  15. 21.12.2006 at 22:54

    In King Links habe ich mit diesen Funktionen Probleme.

    1.) Bild wird immer angezeigt auch wenn es deaktiviert wurde.
    2.) Beschreibung und Bewertung wird nicht angezeigt.
    3.) Es ist mir nicht gelungen einen Abstand zwischen zwei Link Banner zu setzen, offenbar geht diese Funktion nicht.
    Bitte schaue mal, woran das liegen könnte.

    Viele Grüße Klaus

4 Trackbacks to WordPress Widget: King Links

  1. By on 05.07.2009 at 15:37
  2. By on 02.06.2009 at 8:24
  3. By on 31.01.2009 at 22:25
  4. By on 03.01.2008 at 14:01
  5. By on 20.12.2007 at 23:42
  6. By on 02.11.2007 at 19:29
  7. By on 09.08.2007 at 6:11
  8. By on 12.02.2007 at 19:19
  9. By on 23.01.2007 at 4:17
  10. By on 14.11.2006 at 5:33
  11. By on 21.10.2006 at 13:55
  12. By on 18.08.2006 at 10:36
  13. By on 08.07.2006 at 23:50
  14. By on 15.06.2006 at 1:55
  15. By on 03.06.2006 at 5:10
  16. By on 02.06.2006 at 7:43
  17. By on 25.05.2006 at 19:52
  18. By on 24.05.2006 at 10:42