Skip to:
Content
Pages
Categories
Search
Top
Bottom

Calling Loop in custom Page template?

Viewing 4 replies - 1 through 4 (of 4 total)

  • brentcee234
    Participant

    @brentcee234

    also this isn’t a MS or MU site… Just a single blog :D

    It would help if you showed what you had attempted rather than link to a guide for WP templates, then someone will be able to spot where you are going wrong, also tell us what loop you are trying to query and output.


    brentcee234
    Participant

    @brentcee234

    thanks for the response! I just want the regular loop, I am going to add Thumbnails to it like in the guide above. Here is what I’ve been using, like i said it works on non bp themes perfect without bp installed. The first part works, but not the query for the loop

    `<?php
    /*
    Template Name: blog_in_blog
    */

    get_header(); ?>


    <?php // get the content of our "my blog page"
    if ( have_posts() ) while ( have_posts() ) : the_post(); ?>

    <div id="post-” >


    <?php
    query_posts(‘posts_per_page=3’);
    rewind_posts();

    get_template_part( ‘loop’, ‘archive’ );
    ?>


    `

    Thanks again

    You’re not calling any BuddyPress-specific tags in that code sample, so you might have better luck asking for support on the WordPress.org forums. However, you say that you “can’t query up the loop!” What output are you getting, and what output do you expect?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Calling Loop in custom Page template?’ is closed to new replies.
Skip to toolbar