I'm creating a customised forums front page for bbPress, by listing forums in a different way to the bbPress default. Essentially what I'm trying to do is replace the use of bbp_list_forums() with a ...
I'm trying to get the ID of a post in the first loop (using <?php $postid = get_the_ID(); ?> ) and use it in a variable ($postid) to exclude that very post from a second loop (using ...
It is possible to encounter horrible bugs if I place a main loop that uses `query_posts` right above the main bbPress loop?
This is the code: <?php get_template_part( 'pagination', 'bbp_replies' ); ?> <?php query_posts('gdsr_sort=thumbs&post_type=bbp_reply&posts_per_page=2'); ...
How to make the following loop break/stop when it reaches 2 posts (custom post types called Topics)?
This is the topic loop of the bbPress plugin. How can I make it stop when it reaches two posts? (Topics custom post types)? <?php /** * Topics Loop * * @package bbPress * @subpackage Theme ...