Revision: 15056
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at June 22, 2009 14:42 by mlangfeld
Initial Code
/* HOME PAGE CUSTOM TEMPLATE */ function home_pagecustom() { /* check to see if homepage. has to happen inside the function */ if (is_home() || is_front_page()) { ?> ...Your custom layout goes here... <?php } } /* Now we tell Thesis to use the home page custom template */ remove_action('thesis_hook_custom_template', 'thesis_custom_template_sample'); add_action('thesis_hook_custom_template', 'home_pagecustom');
Initial URL
http://www.berchman.com/thesis-tutorial-multiple-custom-page-templates/#primer
Initial Description
In this Thesis WP tutorial for multiple custom page templates, we find code for making a custom homepage template as well.
Initial Title
Homepage Custom Template Thesis WP
Initial Tags
wordpress
Initial Language
PHP