I'm not a web developer. I'm a designer. I put down PHP fast & easy development after 3 chapters because i couldn't get the examples right. I've gotten better since then, but i'm still no expert. It still feels odd to be releasing a plugin.
Wordpress widgets are a fantastic plugin. and a fantastic platform. the links widget, however, was rather an afterthought it seems. I'm not the first one to replace it. it's a shame. The wordpress link administratration panel offers massive customization options, but most of the wordpress template tags completely disregard them. The standard widget is much the same, completely disregarding the widget API.
Links block is interesting, and it follows the API, but it requires more effort from the user. King Links does everything the original links admin page does, but it's a replacement for the entire panel. and it requires modifying core files.
So, this is a simple replacement for the links widget. I originally released it as part of the Disconnected theme. It gives back all the functionality of the admin panel, and conforms to the widget API. This isn't some great achievement, all of this code comes straight out of the codex. Which is why the Tarski Links Widget is nearly identical. I'm still working on adding the option to use something other than a list. Since it's pretty rare that anyone changes the before and after link values, I'm going to release this now. So I can waste my brain power on other things.
Per andy's comment below, this widget is for Wordpress 2.0.x only. version 2.1+ is set to contain bugfixes that will supercede this widget
This plugin is now hosted in the wordpress plugin database. Please file any bugs or feature requests in trac.









8 Comments
Hey there! Nice work on this plugin/widget code. However, it won’t work on future versions of WordPress because you’ve queried a table that will no longer be available. Links are tricky business these days…
hmmmm,
that’s… frusterating.
You know, I don’t think I’d ever release a plugin. Not ever. Maybe on my next life, but not now. I can make original designs, but NEVER original apps! Since you say that you’re mainly a designer than a programmer, I salute you. I know how hard that is to do when you’re a designer not a coder. I’ve been doing web DESIGN for years, but the most “coding” I’ve done is HTML and CSS, and modifications / skinning / theming existing php apps. But I can’t make an app from scratch
aw, shucks.
widgets aren’t too bad, they’re just a little tiny piece of a theme (at least this one was). they’re not whole apps, they’re just a little extra function. and i still can’t make the admin panel work. (PHP fast and easy is letting me down).
although as andy points out, it’s all for naught.
You can use common API (it exists) or check for newer API functions and fork your code accordingly. That’s really all I can offer for help. It’s not all for naught to write a link-related plugin. It’s just a good idea to keep up with core development.
fair enough, i’ve got plenty of digging to do. although given my mounting list of todo items, i doubt i’ll be revisiting this before 2.1 breaks it.
_a_ link-related widget is definately not for naught. _mine_ was for naught.
a good signpost to point widget-writers in the direction of core development would be a ‘Deprecated” tag on the codex page this came from. or perhaps clearing things out of the codex that don’t meet wordpress coding standards.
I’m trying to use the DHTML Widget : Accordion Menu 2.0 (http://www.hedgerwow.com/360/mwd/accordion/demo.php?page=1)
and want the buttons to be links and also want some buttons to not expand. Are there any suggestions? I thought an option might be to redirect (for the link issue) but I’m not sure how to make it work. Any suggestions?
tx.
Hallie said:
i’m not a javascript guy, so i can only guess at the stuff. it seems to be hooking onto the <dl><dt><dd> structure.
so you’d need to dig into the widget and make the links <dt>’s, and the descriptions <dd>’s. then you could omit descriptions for the ones you don’t want to expand. i think. i’m just guessing.
2 Trackbacks/Pingbacks
28 Jan 2007 at 7:13 pm
..::| archGFX | Disconnected 1.2 |::..
[...] the arrival of wordpress 2.1, andy’s comment about database tables has finally come around and bitten disconnected and the links list. I added [...]
12 Feb 2007 at 12:19 pm
karelschiepers-online- / toegevoegd op 12-02-2007
[...] - ..::| archGFX | WPW - Linkslist |::.. (tags: plugins widget [...]
Post a Comment