Search Results for 'code'
-
Search Results
-
I want to display in WordPress search results page – 10 or less found results from BBPress (plugin) forums. I know that BBPress use custom post types (forum, topic, reply) but I don’t know how to do it. I try with WP Query, but it didn’t show nothing. I don’t want to override BBPress search page and functions, I just want to show some results in WordPress search page. Is this possible?
Thank you all in advance.
Here is the query I try:
<?php // The Query $the_query = new WP_Query( array ( 'post_type' => array('topic', 'reply'), 'posts_per_page' => 10, 's'=> $s )); // The Loop if ( $the_query->have_posts() ) { while ( $the_query->have_posts() ) { $the_query->the_post(); echo '<li>' . get_the_title() . '</li>'; } } else { // no posts found } /* Restore original Post Data */ wp_reset_postdata(); ?>Hello,
if a problem. If a group is Private and a visitor press FORUM tab is redirected to the ADMIN login.
I need to avoid this.
Please try to go here ->
http://fashionbleeker.com/groups/fashion-pioneers/ and press FORUM under avatar.Do you know the name of file and the exact code that I need to change to avoid this redirect for NON logged users?
Thanks
SimoneTopic: add new topic button on top
Hello,
WP version : 3.6.1
bbpress : 2.4Please, is there someone to clarify these :
I want to have a “new topic button” on top of each forum. I found some info here, I created a page with shortcode [bbp-topic-form].
And now ?
How can I have this link on the top of my forum ?
I’m not a develloper.Thank you
I’m running 2.4 and WP 3.6.1.
It seems that bbPress converts backticks to code tags …Can anyone please explain to me how I can post code that has backticks in it?
I mean: the backticks are part of the actual code I’m trying to post in my forum? So they should NOT be converted.