Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save davechu/d67415c1df026b067adf to your computer and use it in GitHub Desktop.
Save davechu/d67415c1df026b067adf to your computer and use it in GitHub Desktop.
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