I saved a new template as follows:
<?php /* Template Name: splash-page */ ?> <?php get_header(); ?> <div id="container"> <div id="content"> <?php the_content(); ?> </div><!-- #content --> </div><!-- #container --> <?php get_sidebar(); ?> <?php get_footer(); ?>
[Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your posted code may now have been permanently damaged/corrupted by the forum’s parser.]
When I Add New Page and enter some content, the content does not show up when I View Page. Is ‘the_content()’ responsible for displaying content and if yes why isn’t it working?
- The topic ‘the_content() ?’ is closed to new replies.