Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
This will include the file something.php, which may contain any desired HTML and PHP. It's cleaner than using a huge bunch of remove_action statements, and is especially nice if you don't want lots of unnecessary empty markup. Obviously you'll want to make sure the HTML in something.php is complete and valid. :)
<?php
/*
Template Name: Landing
*/
get_template_part('something');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.