Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Calling Loop in custom Page template?

@brentcee234

Participant

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

Skip to toolbar