Page Templates from plugin not working after upgrading WP to 4.7 or upper version
I am working on a plugin which we need for education website. I have added 3-4 Page templates within my plugin so that we can call when plugin is activated.
I am working on a plugin which we need for education website. I have added 3-4 Page templates within my plugin so that we can call when plugin is activated.
I’ve been trying to use the “featured image” from the home (the blog index) with no luck. It’s working for every single page, but it’s not working for the home.
WordPress is quite a memory hog, and I’ve been thinking of using nginx rather than apache.
I’d like to add a meta box to my posts and page editor that will allow me to upload an image and use it as sort of a SECOND featured image. The idea is that my client will be able to upload an image to this meta box to customize the page/posts header image.
When I use the settings API in a multisite installation and the options page sits at the network level, posting the options to options.php does not work, because the administration page sits at wp-admin/network and WP expects the page to be at wp-admin.
I would like to add a separator to the admin submenu section, NOT in the top level section.
Thanks to Rarst’s clever answer, I’m succesfully using these bits to remove the classes from the custom menu markup…
I am attempting to change the name format that WordPress uses to rename uploaded files. For example, when I upload an image with filename cat-picture.jpg WordPress will create scaled versions and rename the filename to variations of cat-picture-{WIDTHxHEIGHT}.jpg. Is there a way I am able to move this width & height attribute to the beginning of the filename so instead I get variations of {WIDTHxHEIGHT}-cat-picture.jpg? So, in the context of this example, I’d like the filename to be renamed to 600x400-cat-picture.jpg. Thoughts?
I wonder if is it possible to have a shortcode inside another one?
I’m trying to figure out how to display a list of specific taxonomy (categorycourses).