Unload a file from bbpress or wp header
I am using geshi library in wordpress for syntax highlighting. This is implemented using a plugin (code colorer).
Geshi library is also used on my bbpress forum (bbpress is not integrated with wp).
I am using sql query to show latest bbpress posts on wp homepage. The issue is that I have to include bb-load.php to run the query, which causes the error that geshi is already included (since wp included it in header).
How to resolve this issue?
One option is to use wp conditionals so that geshi is not loaded when its is_home()
Another way is to use RSS parsing instead of db query to show the forum posts on wp home.
For some reason, I don’t want to use either of them at this time.
So, how can I “unload” geshi.php from wp/bbp on my wp home?
Any ideas are appreciated.
Thanks for reading.
- You must be logged in to reply to this topic.