Home page functionality on another page

1 view
Skip to first unread message

Khaled Abou Alfa

unread,
Feb 12, 2010, 1:34:22 PM2/12/10
to habari...@googlegroups.com
So I'm trying to display my posts in normal chronological order as formatted on my home page. I up and copied the code from home.php and made a page.journal.php. Then I created the journal page in the admin. 

Unfortunately nothing was 'printed' except for the number of pages available - the code for that is this:

<div id="PageNav">
    <?php $theme->prev_page_link('&laquo; ' . _t('Newer Posts')); ?> 
      <?php $theme->page_selector( null, array( 'leftSide' => 2, 'rightSide' => 2 ) ); ?> 
    <?php $theme->next_page_link('&raquo; ' . _t('Older Posts')); ?>
</div>

Any ideas why the loop wouldn't print anything out? Does it only work in the home.php?

I'm still on 0.63 (having moved away from trunk because it broke too much stuff for me). Is there any way to do this using the current stable version?

Thanks,

-----------------------------------------
Khaled Abou Alfa
www.brokenkode.com
Reply all
Reply to author
Forward
0 new messages