Show bbPress content inside WordPress

One way is to deep integrate both WordPress and bbPress so that one’s function can be called into another as both WordPress & bbPress are loaded every time a page is being generated either by WordPress or bbPress. However I am strictly against it as the overhead is not worth it. Its not at all recommended for busy sites because this will amount to increase in resources consumption and degradation in performance.

A good approach would be to mimic the functionality offered by one into another. First of all I would recommend integrating WordPress with bbPress so that they share the same database and then we can use SQL queries to fetch data from the database. The idea is to get the data by our queries and then we can manipulate as per our needs and mimic the functionality of the needed function.

Without deep integration, we can easily display the list of forums with their topics and posts count. We can display recent topics or recent replies to topics. In fact we can do anything we want. We just need to mimic that function and if any help is needed in mimicking that functionality we can always take a look at the source code of the other script.

Here is the list of tutorials which shows bbPress content inside WordPress :

Its impossible to cover some examples here as the post will become too long to read. Hence I will demonstrate the usage in separate queries.

Have any questions? Feel free to ask via comments. Make sure you check out the whole WordPress as CMS series.


Comments

3 responses to “Show bbPress content inside WordPress”

  1. […] or more to implement. Feel free to ask in the comments! Make sure you check out other tutorials to show bbPress content inside WordPress & the whole WordPress as CMS […]

  2. […] or more to implement. Feel free to ask in the comments! Make sure you check out other tutorials to show bbPress content inside WordPress & the whole WordPress as CMS […]

  3. […] On my personal projects, I like to replicate or mimic the functionality needed. For example to show bbPress content inside WordPress, I would write a code to fetch it from the database itself rather than deep integrating my […]