How to hide a page in wordpress made for menu

Just create a custom template template-redirect-home.php and assign it to that page and redirect to homepage on load with sth like this: add_action( ‘template_redirect’, function(){ if(is_page_template(‘template-redirect-home.php’)){ wp_safe_redirect( get_home_url(), 301, ”); } }); You can also use Custom links in the menu to not access the page directly from the menu.

Template field missing in page attributes

I encountered something similar a few days ago when doing changes on my custom theme. If you put a file directly in the folder of your theme themes |_ bt |_ contact-me.php The contact-me.php structure <?php defined(‘ABSPATH’) || exit; // Template name: Contact me It will be available If you put it into a folder … Read more

Make Audio Element Persistent Across Pages

Maybe the “normal” wordpress themes are not the right tool here, and what you need is a “headless” wordpress with {insert JS framework} to get the content via the json API and handle the page routing without performing actuall page refresh. Another possible solution is to turn it from audio to video as browsers now … Read more