Please Help Me with Page Template
-
Hi,
I’m using a static page as my website’s front page. I’d like to have the same structure as page.php:
<?php get_header(); ?>
<?– code to display text read from the attaching static page –>
<div>
…………
</div><?php get_sidebar(); ?>
<?php get_footer()); ?>I tried php include to get the text. Problems are:
1. I don’t know where to get the text of the attaching page so I added a text file to provide the text;
2. no formatting on the text; The theme defines the page setting I guess, I need to learn how to get them.Can experienced users help? I’ve seen a lot of you in actions helping newbies. Give me a hint, I don’t mind digging into the code. Many thanks in advance,
Warren
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Please Help Me with Page Template’ is closed to new replies.