There’s a simple way to get hold of previous versions of your WordPress plugins, for example if a current version breaks your setup. Continue reading …
WordPress 3.8 introduced one new action and five new filters:
Action triggered after all automatic updates have run.
Filter the debug email that can be sent following an automatic background core update.
Filter whether to notify comment authors of their comments on their own posts.
Include additional elements in the ‘At a Glance’ dashboard widget. This widget was previously ‘Right Now’.
Filter a user contactmethod label.
A list of all new hooks can you also find in the hot list of WP Seek.
To embed custom CSS styles and scripts in WordPress you should use the
wp_register_style() functions. Each of these functions allows you to define a version. By default it’s the version of WordPress. The version identifier will be in the URL to the script as a query string.
The version identifier is used to expire the URL. Since the browser detects the new URL as a new resource, it will use the new instead of the cached resource.
Sadly not all endpoints respect the query string. From Google Developers:
Most proxies, most notably Squid up through version 3.0, do not cache resources with a “?” in their URL even if a
Cache-control: public headeris present in the response. To enable proxy caching for these resources, remove query strings from references to static resources, and instead encode the parameters into the file names themselves.
So the goal is to encode the version identifier into the filename without renaming the resource on the filesystem. This is where the following plugin comes in.
Continue reading …
Anyone who works in his WordPress blog with a picture and always wants or need to put one on his post – depending on the layout implementation, might like this small Plugin, which can do the setting automatically.
If not a Featured Image is set it grabs the first image that was uploaded to the article.
Continue reading …
The use of WordPress for several blogs in the network can be useful to simplify several steps and is becoming increasingly popular. Whether you want the classical scenarios of blog hosting service or like to create multilingual websites or other ideas. Therefore, it is also important for plugin developers to use the functions and to expand or develop their own Plugins for it specifically.
Much is the same, but not all, and in this small article I would like to briefly explain how you set settings in the database when you activate a Plugin. Continue reading …