I attempted adding a frontpage.php file towards the content directory, but that wasn't being loaded. Now, I have added the next snippet to make sure I am obtaining a context of 'frontpage':

add_filter('cfct_context', 'scompt_front_page_context');

function scompt_front_page_context($context) {
    if( is_front_page() )
    	return 'frontpage';
    return $context;

That's permitting me to produce a frontpage.php file informed directory, but I am still not able to have it to utilize a my apply for this content.

The right title from the file required to replace the leading page template is front-page.php not frontpage.php

you'll need two pages to get this work.

  1. page_example.php (make newfile in same directory as page.php)

  2. pages/page_example.php (copy and relabel page_default.php)

page_example.php should have this header only

Template Name: Page example

if (__FILE__ == $_SERVER['SCRIPT_FILENAME']) { die(); }
if (CFCT_DEBUG) { cfct_banner(__FILE__); }




pages/page_example.php may be the page it calls so really all of your changes have to be in here. ie take away the side bar, get_sidebar()

now choose this site as always when you're developing a page.

The index.php file can be used around the top of the page of the wordpress blog. Edit (or create) the index.php file to create changes for that top of the page of the blog.

Not exaclty sure what you are attempting to do, but to be able to make use of a page template in Wordpress, you'll want this towards the top of the file:

Template Name: mypage

which goes before

<?php get_header(); ?>

And to ensure that Wordpress to make use of web site, you need to choose it within the page editing area in admin.

So, for any "frontpage," make use of a template named home.php - using the template title as above - and choose it as being web site to make use of within the page editor.