How do I know which plugin uses the most resource?
Try this plugin: http://wordpress.org/extend/plugins/p3-profiler/
Try this plugin: http://wordpress.org/extend/plugins/p3-profiler/
Yes, but you need to use a custom walker. You must modify the function that traverse the page and output the HTML. Extend the basic wordpress class and implement your function. See this stackechange post for a code example. Note: I suggest you to use wp_nav_menu (custom menus) instead of wp_list_page and use the item … Read more
Wrote a script myself, along with a blog post. Contributions for improvements are appreciated. Refer to this link for answer: Set WordPress Featured Image For All Post Slugs Matching Image File Name in Specified Directory
WP is not really interested in what you add to the url string. But you could extract the url with native php functions and add your parts to the global wp_query; object using add_query_arg(). Then you can receive it via get_query_var() anywhere you need it. You could also use a hook to do the adding-job: … Read more
There’s register_theme_directory() to … well register additional theme directories. For plugins, we don’t know how to get around it (so far). If you want, then you can jump into the discussion here and add your thought, share your try-outs and maybe we all together will come to an solution 🙂
You might like to try Event Organiser (disclaimer: I’m the plug-in author). This plug-in handles event and venues management. Events are a custom post type, and venues are a custom taxonomy. All it would lack for your needs is the ‘artist’ – this could be handled by adding a metabox to an event which allows … Read more
The code you posted is looping through all the categories that the post is assigned. The foreach constructs a string representing every possible template file that it wants to check for and assigns them all to $template. The locate_template() function will go through the $templates array and return the first one of them that actually … Read more
You can use this plugin http://wordpress.org/extend/plugins/s2member/
I’ve been thinking about this as a feature to add to DBC Backup 2 (my plugin). Currently the plugin will backup the WordPress database for your entire multisite. The problem I found with wanting to backup a subsite is that it is impossible for the subsite ‘owner’ to restore from that backup. The plugin could … Read more
Some underlying functionality borrowed from http://wordpress.org/extend/plugins/auto-expire-passwords/ , and tweaked. Untested, but along the lines of what you are looking for, so YMMV. function custom_forced_password_reset( $user ) { update_user_meta( $user->ID, ‘password_was_force_reset’, true ); } add_action( ‘password_reset’, ‘custom_forced_password_reset’ ); // Ensure all new register users have the flag set function custom_forced_password_user_register($user_id){ update_user_meta( $user_id, ‘password_was_force_reset’, true ); } … Read more