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.Topic: Multiple Forums
My goal is to make multiple forums (around 10 when its all said and done). Each forum will be for different subjects but all related with each on a different page.
Per example… one forum will be on a specific fruit. So apple, oranges, etc. but would all fall under the umbrella Fruit (not my actual plans, but this was easier to explain).
Is this possible?
I’m currently running one bbpress install on the twenty-13 theme. I know there is a shortcode to show specific topics on a page, but I want each forum to show on just one page.
Note: ive been on wordpress.com for a little while and started over on the .org. So I’m completely knew to screwing around with php files. Not asking you to hold my hand through it all, but clear directions would be great. Sorry if this question is a repost and/or very basic and im just over thinking it.
Thanks in advance,