Q&A
Where is the best place to use add_filter
Should I use the function add_filter In my plugin’s init action hook or just the in the main plugin script?
How can I make add_image_size() crop from the top?
I have a series of posts, all with featured images, but I need to be able to customise the crop top right corner. In this instance, I need them to be cropped from top right, but it would be useful to also know how to position that point myself.
Display list of most used tags in the last 30 days
I am looking for a way to display the most used tags over the last 30 days. I am no coder, but I have come up with this mashup to display a list of the most used 28 tags (preference to fit my theme). I cannot, for the life of me, figure out how to limit the tags to the most used in the last 30 days.
How Do I Configure Automatic Updates in WordPress 3.7?
WordPress 3.7 added automatic updates. How does this work, and how can I configure this feature?
Allow Editors to edit pending posts but not draft ones
I have a large number of users with Editor Capabilities that help to go through the post submissions. This is my current setup for this role:
WordPress Multisite – global categories
Setting up a WP multisite instance – the client has an existing ontology / set of categories that they want to classify all content across the set of blogs. Also the desire is that any new categories would be added at the ‘network blog’ level and synced to the other blogs.
framework for plugin/theme options panel?
JeffreyWay /
WordPress-Theme-Options-Page –
open source class the project is hosted on github aimed at theme developers,
looks nice, haven’t used it. (link dead)
.
What is the correct way to map multiple domains in a WordPress 4.1 multisite install?
I’m aware of this question and others but have not found a definitive answer to how a domain should be set up with multisite so that www and non-www variants behave correctly. I believe I have wildcards set up correctly at the DNS level and the suggested solution to add define( 'NOBLOGREDIRECT', 'http://www.example.com' ); works for my main site but not other networks in the same install.
Setting WPLANG from a plugin
For a single site wordpress, the language must be set from wp-config.php‘s WPLANG, but is it possible to set from my plugin which override the default value?