I am using wordpress as a CMS. I have created a custom page template to have a page specific side bar. The only problem I am encountering is that I cannot find how to display the content from the actual ‘wordpress page publishing tool’.
Here is what the custom page code looks like:
<?php /* Template Name: Day Tips */ ?> <?php get_header(); ?> <?php include (TEMPLATEPATH . '/sbdaytrips.php'); ?> <?php the_content(); ?> <?php get_footer(); ?>
I assumed that
<?php the_content(); ?>would fetch the content that I create in the wordpress dashboard, but it does anything.
- The topic ‘How Display Content on a Custom Page’ is closed to new replies.