Create custom page templates with plugins?
Is it possible to make custom page templates available from a plugin?
Is it possible to make custom page templates available from a plugin?
I have a client who’s site will be making heavy use of custom post types to configure their site. But I’m between a rock and a hard place for their requested home page.
I want to execute custom jquery code which shows login dialog to user if he clicks a button and he is not logged in. How could I do that?
UPDATE: My original question has been solved, but this is turning into a valid discussion about why not to use global variables, so I am updating the question to reflect that. The solution was <?php global $category_link_prop; echo esc_url( $category_link_prop ); ?> as @TomJNowell suggested.
For some reason I’m finding it a struggle to grab any posts using a custom taxonomy… can anyone unravel my stupidity?
I am running a site for a German NGO under the domain sub.example.org.
Recently, I added sub.example.ch for its Swiss spin-off.
Seems like a simple enough requirement, but I’m struggling:
I created a child theme according the WP docs and added the requisite function
I have a custom-post type with the standard meta boxes and some custom fields. How could I edit a post through a form in the frontend?
Does anyone know how to remove the WordPress JSON API links in the header tag?