Adding Additional Attributes in Script Tag for 3rd party JS
I ran into this when attempting to integrate Dropbox’s drop in chooser API to a plugin I’m writing.
I ran into this when attempting to integrate Dropbox’s drop in chooser API to a plugin I’m writing.
I’d like to cause a plugin to restrict its loading of CSS stylesheets and JavaScript JS files to only those pages for which they are needed.
I have a plugin and I would like to be able to run the post content through some filters before it is saved to the database. From looking at the plugin api, I see that two hooks that look like they might be helpful:
I’m wondering what the preferred method is for dealing with AJAX calls. Should one use the same plugin php file to process the POST or a separate one? Which is cleaner or safer?
I’d like to offer my custom post type as a Plugin, so that people can use it without touching their theme folder. But custom post type templates — such as single-movies.php — reside in the theme folder. Is there a way to get WP to check for a single-movies.php in the plugin’s folder? Hooking a function into the Filer Hierarchy? Or get_template_directory(); ?
Provided you have a 404 page defined in your theme, WordPress will display a 404 page if “tag” is defined in $wp_query->query_vars, and there are no posts matching that tag.
Should I use the function add_filter In my plugin’s init action hook or just the in the main plugin script?
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.
i’ve installed a LAMP server on my ubunutu 11.04.
i’ve installed wordpress and hooked it right with the MySQL db.
i’ve changed the permissions of the www-data group to read and write files.
Is there a way to disable update notifications for specific plugins?