Search Results for 'code'
-
Search Results
-
To add standard wp post_tag support for BBPress – Post Type – Topic… I added the following code starting about line 557 to bbpress/bbpress.php
// Topic Taxonomies
$post_type['taxonomies'] = array(
'post_tag'
);// Register Topic content type
register_post_type(
bbp_get_topic_post_type(),
apply_filters( 'bbp_register_topic_post_type', array(
'taxonomies' => $post_type['taxonomies'],
To get the topics to show on regular wordpress tag pages I used the snippet from Justin Tadlock edited for tag pages and post type topic.
After limited testing, everything seems to work as I wanted – bbpress topics show up on regular post_tag archive pages – as long as the tag is added to the topic from the Admin side.
Because I know enough abut wordpress to occasionally be dangerous, my questions:
1. Is this a bad idea for some reason I don’t know about?
2. Provided it’s not a terrible idea, Is there a way to future proof this hack? I tried creating a bbpress directory in my themes main directory and adding the edited bbpress.php there, but it didn’t work.Any thoughts would be greatly appreciated,
JW
Topic: 2.2 and Theme Compatibility
Dear community.
I have spent the last few (5) hours reading the various posts, trying to get bbpress to integrate with my custom WP theme. Unfortunately, I don’t have the knowledge (or enough) to figure out how to make the two work together.
Info
Wordpress: 3.4.2
Site link: http://www.restorationcoach.com/restoration_coach/forums/
Using this theme: http://www.templatemonster.com/wordpress-themes/39849.html
bbpress: 2.2My main issue seams to be css related. I think bbpress is and the theme are sharing css files, causing a funky appearance. Overall forum function seems to be working fine.
So far I’ve done the following.
Completely removed bbpress and installed new 2.2 version.
Read: http://codex.bbpress.org/theme-compatibility/ (this is for customizing the bbpress theme, if you want? And if you don’t, then leave the install as is?)
Watched: http://www.youtube.com/watch?v=lB2Oodx2GJw (not sure if this applies with 2.2)
Switched to Twentyeleven: Looks better, side bar is missing, and footer contact form, map and links are over top one another.I can see in firebug where both style.css and bbpress.css are being used to style the forum. Most specifically #page-content ul li. This, I believe, is causing the issues but not quite sure how to fix it.
Thank you in advance for the assistance.
Topic: Filter name
There is filter called
twentyten_author_bio_avatar_sizein user-details.php. Is this intentional, or should it be likebbpress_author_bio_avatar_size?