Custom Page Template (3 posts)

  1. Dani-Girl
    Posted 2 years ago #

    I've created a custom page template so that I can choose it from the edit page/add new page in the CMS.

    Its pretty much just a copy of the default page template, with 2 added details and some special CSS styling.

    I can't get the content to appear.

    I have content in my main editor (have some custom fields, and those are showing up), but the main editor content is not

    <?php the_content(); ?>

    Nothing is appearing where this code is.

  2. Dani-Girl
    Posted 2 years ago #

    I reduced the code down to the basics for the page, and yes, the main content is not showing up

    Here is my code currently on the custom page template page

    Template Name: custom Page Template
    <?php the_content(); ?>
    <?php get_footer(); ?>

    Header appears fine. Footer appears fine. I'm not getting anything from the_content();

  3. Michael
    Forum Moderator
    Posted 2 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic