How to rearrange fields in comment_form()
Im using a custom filter to change the fields, but can´t figure out how to change the order of the fields in the comment form.
Im using a custom filter to change the fields, but can´t figure out how to change the order of the fields in the comment form.
I’m trying to put search results into a div with ajax. The issue is I’m getting errors saying undefined function have_posts() when the the search template is accessed. It also took issue with get_header() which was in the search-results.php but I took it out. Here’s how I have it setup.
This answer provides the code for a query that returns an OR match on a taxonomy term:
I have a custom post type called movies and I need to quickly switch the template that displays the movies cpt on the front end via a link. How can this be done?
Is it possible to make custom page templates available from a plugin?
I am working on a custom theme for a network of sites that are deployed under a WordPress MultiSite installation.
(Moderators note: Title was originally “How can I add the “Page Attributes” and/or “Page Attributes > Template” selector to POSTS editor”)
Is there any possibility to pass some PHP variables in javascript so I can use them later?
I am looking for WordPress chart/diagram system design.
I’m in the midst of building a WordPress Plugin that adds a custom post type, for which I’d like to include a default template to display. Essentially, this is an event management plugin, and the custom post type is for the Events. There’s a handful of custom meta fields, as well as a child post type (Performances), so without a default template to display them, using it would be pretty unfriendly. But I would like theme designers to be able to create their own templates for these post types if desired.