What does is_page_template() compare against?
Looking through the WordPress documentation, it says that is_page_template() compares against a “template name”, if one is provided.
Looking through the WordPress documentation, it says that is_page_template() compares against a “template name”, if one is provided.
In the past Media Library window could be called like this:
Good to hear that Sonny (wordpress3.3) has the new editor API wp_editor() that gives us the ability to use multiple instances of the editor in our custom fields with ease.
I have a simple custom widget that asks for its width (that is used later in the front end). The width field is a select dropdown, so a user have predefined options.
I’ve setup a CPT to act the same ways as posts but used to post event details.
I’m getting nags on google speed test regarding the querystrings in my scripts. So, I’m trying to remove them by passing false as the argument for that parameter. However, it does not seem to have effect:
I want to add custom button “Send for correction” somewhere near the “Publish” button. This custom button must change a post status from “Pending” to my own created status named “On correction”.
Is it possible to add a Page in WordPress, so that none of the header or the menus of the site appears on that page?
Does anyone know of a way to add code to the functions.php file which will automatically force all posts belonging to a custom post type to be “private” and/or “password protected” with a default password set?
I’m following this to make my plugin auto-create a table when the plugin is activated, but what happens is that while all the tables (the whole db) are utf8_general_ci, the newly created table is latin1_swedish_ci… Why isn’t it also utf8? I thought it would also be utf8 by default since I have: