Have Page Content in Query_Var template
-
So im still learning the ins and outs of wordpress so im hoping there is an easy solution to my problem. Im using wordpress as CMT. I would like my homepage to have the latest post on top of the page and below that to have page content. I have created a single page that uses a theme I created with this query_var code:
<?php
$page = (get_query_var(‘paged’)) ? get_query_var(‘paged’) : 1;
query_posts(“cat=-0&showposts=1&paged=$page”);
load_template( TEMPLATEPATH . ‘/index.php’); //loads index
?>This displays the latest post fine but no content below. Is there a simple line I can ad to make sure the content I want is displayed below?
Also, if possible I would like for the single post to be cut off by a “Continue Post” link which will link to it’s post URI.
Anyone have any suggestions?
-Patrick
- The topic ‘Have Page Content in Query_Var template’ is closed to new replies.