There used to be great plugin called WPLite. Now, it's beeing publicly reborn. Hide from your administration functions you don't need!
Home page
-
WP Lite, a new plugin - English
Published: On Friday, February 26, 2010
-
Removing & disabling all trackbacks - English
Published: On Sunday, January 3, 2010
If you find trackbacks on your WordPress site useless or even annoying, this simple manual how to kill 'em all is going to help you.
-
Plugin development tip: Analyse your database queries - English
Published: On Friday, September 11, 2009
If you are an advanced plugin developer, you certainly know, you should keep number of db queries made by your plugin as small as possible. Getting the total number of database queries made when generating page is obvious:
get_num_queries()returns the number.What is not so obvious, is how to display actual performed MySQL queries (strings) – which might be useful in various scenarios of performance optimization. WordPress is prepared for that task:
1. step: Add into your wp-config.php file this constant/value which enables remembering of all performed queries.
define ('SAVEQUERIES', true); -
Too many upgrades these days? Not really a problem. - English
Published: On Wednesday, August 12, 2009
Another minor WP version is out and guys in (WP)Tavern are discussing whether it's O.K. or it isn't and how they feel about it and so on. I will prefer pin my humble opinion here, so that it will seem like this site is still alive :-).
For me, it's pretty much OK that the new version was released immediately after fixing the issue. „The problem“ of new release are the implications. Which means:
- „new version available“ announcement method
- upgrade distribution method
-
Single wp-config for web and localhost - English
Published: On Saturday, August 8, 2009
Pretty usual routine is to develop site on localhost server and after some progress move it online. This transfer is complicated by three not-always-necessary steps.
- database settings in wp-config.php file are different
- settings of home- and site- URLs are different (defaultly located in wp_options table)
- eventually the base-path in .htaccess file is different
First two points can be easily solved by using single wp-config. Especially is the benefit visible at the point #2, when you don't have to browse phpMyAdmin for that 2 particular rows, because these paths are written into wp-config.php file.
-
Voted for media features in 2.9 - English
Published: On Thursday, July 9, 2009
On topic of the recent (and today still running) survey on media handling / library / related settings and similar stuff I want to say a little word.
I don't fully understand all of the proposed enhancements, although they were „explained“ in the announcing article as well as at beginning of the survey itself. I think it's sometimes possible to imagine various (quite different) things under each of the definitions.
I can't say how much I a particular feature want, since each feature can be implemented in many ways and the way of implementation can influence my „desire“ for feature very much (I suppose). That makes answering even more complicated.
-
Kahi’s Highlight Used Categories, a plugin - English
Published: On Saturday, March 7, 2009
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.
-
My little experience with the queue of scripts - English
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] - English
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 - English
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.