The form presented after a search in bbPress allows to refine the results indicating the forum at which to search. The combo with the list of forums, unfortunately, has a "gross" error at the kernel level. invece del corretto forum_id . The tag select , in fact, is appointed by forum-id instead of the correct forum_id . This issue has already been reported on the development team! Nine months ago.
Articles Tagged 'bbPress'
bbPress: wrong forum search
WordPress: Display the last topic of bbPress
We have seen how the integrated kernel WordPress bbPress , for example, to use or share some function WordPress theme. Now we will see the contraio, namely how to display the information in bbPress forum home page of WordPress. To do this there are some plugins (some working and others not). Here we shall see how we write a - really - simple function that, in the case, can be improved and perfected in all cases.
bbPress: integrate and use the features of WordPress
bbPress is a simple but complete forum written in PHP and MySQL that provides excellent integration with WordPress .
The integration with WordPress is built on several levels, so that we analyze later. To start here is a simple snippet to be included in the configuration file to bbPress: bb-config.php .
1 2 3 4 5 6 | / / Load the Wordpress engine / / The double call to dirname () is, of course / / A "../" and depends on where it is positioned bbPress / / Than the root Wordpress dirname ( dirname ( __FILE__ ) ) . '/wp-blog-header.php' ) ; require_once ( dirname ( dirname (__FILE__)) '. / wp-blog-header.php'); 'WP_BB' , true ) ; define ('WP_BB', true); |
This code allows the kernel to use WordPress inside bbPress environment. ) nelle pagine facenti parte del tema del Forum. In practice, therefore, you can put features like get_bloginfo() (or any other function as get_header() ) in the pages that are part of the theme of the Forum. This will make it easier, for example, standardizing the layout, allowing access to bbPress theme WordPress pagination.






Latest Comments
Simon : It annoys disturbed again and use that space for these things ... however it does not work ...
Giovambattista Fazioli : @ Simon: what could be due to the syntax I used, specifically for PHP 5 +,...
Simon : I tried last night putting everything into functions.php, okay, jquery forms, and tabs jQueryUI them ...
Giovambattista Fazioli : @ Simon: I recommend cleaning to enter a code like that in ...
Simon : @ Giovambattista Fazioli: Thank you for your patience, it's all clear ... now I feel now, ...