Comment on Display Widgets SEO Plus Plugin by SEO Dave.

Display Widgets WordPress SEO Plus PluginIn the Display Widgets SEO Plus Plugin update version 1.1.0 (release is imminent) I’ve added bbPress plugin and BuddyPress plugin widget logic support.

Also fixed a couple of code bugs in the “All Archives…) settings under “Content Types +/-” (those option didn’t work) and fixed WPML language plugin compatibility: in v1.0.0 it worked, but was ‘temperamental’, that was a real pain to fix.

Display Widgets SEO Plus v1.1.0 adds support for the BuddyPress plugin and the bbPress plugin.

The BuddyPress plugin adds Membership Group support to WordPress. The bbPress plugin adds Forum support to WordPress.

Both the BuddyPress and the bbPress plugins add custom sections to a WordPress site which are NOT covered fully by the default WordPress conditionals. Fortunately both WordPress plugins have their own awesome set of conditional functions and the most important ones are supported by the Display Widgets SEO Plus Plugin.

BuddyPress Plugin and bbPress Plugin Conditional Function

ALL BuddyPress Pages – is_buddypress()
BuddyPress Members Directory – bp_is_members_directory()
BuddyPress User Pages – bp_is_user()
BuddyPress Activity Streams Directory – bp_is_activity_directory()
BuddyPress Activity Streams Item – bp_is_single_activity()
BuddyPress Groups Directory – bp_is_groups_directory()
BuddyPress Group – bp_is_group()
BuddyPress Group Forum – bp_is_current_action( ‘forum’ )
BuddyPress Group Forum Topic – bp_is_group_forum_topic()
BuddyPress Registration Page – bp_is_register_page()

Display Widgets BuddyPress Plugin Widget Logic Support

With the above options the BuddyPress Recently Active Members Widget would load on the BuddyPress Members Directory Page, on the BuddyPress User Pages and on BuddyPress Activity Streams Items. The widget wouldn’t load anywhere else on the site or you could add additional non-BuddyPress parts of the site via the other Display Widgets SEO Plus options.

ALL bbPress Pages – is_bbpress()
bbPress User Pages – bbp_is_single_user()
bbPress Forum Archive – bbp_is_forum_archive()
bbPress Category Forum – bbp_is_forum_category()
bbPress Forum – bbp_is_single_forum()
bbPress Forum Topic – bbp_is_single_topic()
bbPress Topic Tag – bbp_is_topic_tag()

Display Widgets bbPress Plugin Widget Logic Support

With the above options the bbPress Forums List Widget would load on the BuddyPress Groups Forum Pages (if any are set) and on the bbPress forum archive page and bbPress Forums (single forums). The widget wouldn’t load anywhere else on the site or you could add additional non-bbPress parts of the site via the other Display Widgets SEO Plus options.

Life would be so much easier is all plugins were developed this way, I only had problems with one of the BuddyPress/bbPress conditional functions above (bp_is_group_forum() is depreciated, so didn’t work, had to use bp_is_current_action( ‘forum’ ) for the “BuddyPress Group Forum” widget logic) the rest were easy to understand and to add widget logic support for.

David Law