What is the best way to move a plugin´s subdirectory+files to wp-content/uploads-directory?
Line 756 is $dirlist = $wp_filesystem->dirlist($from);. The argument is ok. I think that the object $wp_filesystem is not globally available for your plugin.
Line 756 is $dirlist = $wp_filesystem->dirlist($from);. The argument is ok. I think that the object $wp_filesystem is not globally available for your plugin.
I’m assuming this is mostlikly a hiearcy problem. For example, your stylesheets load in the order of child theme then plugin. What you need is to load the plugin styles first then your child theme. You have a few options: Add the Css for your plugin manually after wp_head() in your header.php Unregister the plugin … Read more
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/