This plugin allows to highlight used categories – when you're browsing a post (or ev. a page) filed under some categories, these are (in the category list) marked by adding specific class.
Home page
-
Kahi’s Highlight Used Categories, a plugin
Published: On Saturday, March 7, 2009
-
My little experience with the queue of scripts
Published: On Monday, February 16, 2009
- Sometimes you might be surprised, that WordPress/eventually a plugin (from
an unknown reason) enqueued jQuery (not speaking about administration but public
template!). De-queuing is simple: Call
wp_deregister_script('jquery');beforewp_head();is run, where the scripts are usually printed out from the queue.
- Sometimes you might be surprised, that WordPress/eventually a plugin (from
an unknown reason) enqueued jQuery (not speaking about administration but public
template!). De-queuing is simple: Call
-
Who owns the function? [from Plugins development series]
Published: On Thursday, February 12, 2009
Once again, I find useful to
recommendremind one important practice, when writing a plugin.Be sure, that user will notice, he's using functions of your plugin.
Life example: In the first project, user did use the
get_metafunction and expected, it's a core function. It didn't do anything specific. Why should he ever expect, it's part of a plugin? But once he tried to use this function elsewhere, it surprisingly failed, function wasn't found. The (in other ways great) plugin called More fields was missing.Two ways how to emphasize function's owner:
- prefix function-name with your unique signature (will also
lower the risk of name-collision):
get_meta⇒mf_get_meta - use a bundling class:
get_meta⇒MoreFields::get_meta
Actually, WordPress itself should practise this habit too – since any function is in fact a part of a bigger unit.
- prefix function-name with your unique signature (will also
lower the risk of name-collision):
-
Introducing WP “Notes” plugin
Published: On Sunday, January 18, 2009
I had free hour and half today and God knows why I decided to do this plugin. Simple, but extremely useful, in my opinion. For me, it's place to leave notes about future articles, possible topics, ToDos connected with that particular WP site.
-
Localhost / Web switch function
Published: On Tuesday, January 13, 2009
Sometimes happens to me, that the (db) content of WP site is simply out-of-sync with the copy running on localhost. I'd like to do some changes, let's say add Pages and since I want to do it fast, I don't care about synchronisation (which means 1. sql dump download 2. sql import 3. modifications in wp_options).
In these cases of unsynchronized databases, I often encounter the fact of different IDs: a new page created on localhost first won't finally have the same post-ID online. Now, I need to use in template a condition like
is_page(...)— but I know, it will work either on localhost or on the web. Following simple switch-like-working function can be the solution. -
Dashboard’s Right now / WordPress interface elements
Published: On Tuesday, January 6, 2009
Dmitry at Usability Post started quite interesting discussion to his article A Slip in the WordPress 2.7 Dashboard Interface in which he lightly critisized Right now box, one of the new items on 2.7's improved dashboard. He correctly pointed out, that separation between rows but not columns can easily lead to a misinterpretation of contained information. His thought was confirmed by optinions of a few commenters who indeed were confused by actual graphical implementation of the box.
-
And why do *you* need the dashboard?
Published: On Saturday, January 3, 2009
… might sound like a stupid question. Truth is, I don't need the WordPress dashboard and therefore I don't use it. For me, it's simply useless. (That's why I made Dashboard Skip plugin.)
I am quite interested in which point are my needs different in comparison with yours, what is your motivation to use the dashboard (I presume, most people do have a reason to use it). Please tell me, what is the meaning of dashboard – for you.
-
Independent Links, a plugin
Published: On Monday, December 29, 2008
What it does
Also means: when you're inserting a link into your post's/page's content and the editor asks you for URL of the target page, you can give it just the number – ID – of that page. Why to do it? Because URLs change, IDs do not.

-
How did I vote in “Prioritizing Features” survey
Published: On Friday, December 26, 2008
Who had read anything here before, would probably answer „predictably“. :-) WP.org team is collecting users' opinions of most wanted features. This is how I'd like to see the next big version of WordPress.
-
Please, don’t force us to download plugins’ screenshots
Published: On Sunday, December 14, 2008
Can anybody tell me what is the sense in including plugin's screenshots into its main ZIP archive? Does anybody need this, has anybody ever appreciated it?
My opinion is directly the oposite. Not only that I have never appreciated this feature yet, but also it's quite uncomfortable to me – regularly.
- more files in plugin's directory make it less clear
- these screenshots can mean hundrets of kilobytes to download/upload
Until managers of WordPress official plugin repository decide to fix these unnecessary inclusions, I'd like to please plugins' authors to spend a minute with optimizing size of screenshots. Remember. JPG is better for photos, PNG/GIF (8-bit) is great for screenshots. Wrong. Wrong.
Right(too hard to find).
