Template does not show content
-
Need some help from the code-savvy with this one…
The theme I am using has two alternate page templates included, one of which is exactly what I want…same page setup, but with full page width available for content and no sidebar.
However, when I use this template for the page and preview or publish all I see is the empty template…none of the content I have entered is visible.
I am thinking this is somehow to do with the fact that this template is called “Links” and when I look at the code for it I see the following:
<?php /* Template Name: Links */ ?> <?php get_header(); ?> <div id="content" class="widecolumn"> <h2>Links:</h2> <ul> <?php get_links_list(); ?> </ul> </div> <?php get_footer(); ?>
Is the line “<?php get_links_list(); ?> the reason why it does not function in the way that I want?
If so, can I just delete the line, or do I need to add something to make it function as a normal page?
Apologies for sounding clueless here, but php is not my normal habitat and I am a WP newbie.
- The topic ‘Template does not show content’ is closed to new replies.