Skip to:
Content
Pages
Categories
Search
Top
Bottom

Creating Page Template

  • Im trying to create a page template that displays regular old posts.

    Ive created a new template and given it a name. I’ve created a new page and assigned the template to the page.

    This is the code ive placed in my new template:

    <div class="page" id="blog-latest">
    
    <div class="post" id="post- ">
    
    <div class="author-box">
    
    post_author ) ) ?>
    
    </div>
    
    <div class="post-content">
    <h2 class="posttitle"><a href="" rel="bookmark" title=" "></a></h2>
    
    <p class="date"> <em>  post_author ) ) ?></em>
    
    <div class="entry">
    </div>
    
    <p class="postmetadata"><span class="tags"><php the_tags( __( 'Tags:', 'buddypress' ),'', '', ''); ?></span> <span class="comments"></span>
    
    </div>
    
    </div>
    
    <div class="navigation">
    
    <div class="alignleft"></div>
    <div class="alignright"></div>
    
    </div>
    
    <h2 class="center"></h2>
    <p class="center">
    
    </div>

    When I load this page, the posts dont load. What am I doing wrong here.

  • The topic ‘Creating Page Template’ is closed to new replies.
Skip to toolbar