Skip to content

Instantly share code, notes, and snippets.

@vanaf1979
Last active January 3, 2020 19:55
Show Gist options
  • Save vanaf1979/375cea6d3678b9756255aa6f76eb3344 to your computer and use it in GitHub Desktop.
Save vanaf1979/375cea6d3678b9756255aa6f76eb3344 to your computer and use it in GitHub Desktop.
A custom template header gist for my WordPress: tutorial "Multiple Custom Templates for Posts and Custom Post Types" at https://since1979.dev/wordpress-multiple-custom-templates-for-posts-and-custom-post-types/
<?php
/*
Template Name: Full-width page layout
Template Post Type: product
*/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment