Activity Stream Homepage Compatibility Issues
I have several custom post types on my website that are not working correctly with a category search filter (http://docs.designsandcode.com/search-filter/) and BuddyPress. For example, I have applied the following code to one of my pages:
<?php echo do_shortcode(‘[searchandfilter fields=”encyclopedia-category,post_date” types=”select,daterange” hierarchical=1 hide_empty=1 submit_label=”Filter”]’); ?>
This is intended to filter “Encyclopedia” post types by category (http://dennishoppe.de/en/wordpress-plugins/encyclopedia). The filter works perfectly on my category and single page, but fails on the archive page.
The issue is somehow connected to BuddyPress because when I set the BuddyPress Activity Stream page as my homepage, the filter stops working and redirects me to my home page and displays something similar to the following in the URL rather than displaying the category page as appropriate:
However, when I use any other static page as the homepage (such as a standard homepage instead of the Activity Stream), the filter starts working again. I suspect this has something to do with the way the search filter uses permalinks and the way BuddyPress treats permalinks when it is used as a homepage, but I am at a loss at this point.
The filter works just fine for my normal posts, but not for custom posts.
- The topic ‘Activity Stream Homepage Compatibility Issues’ is closed to new replies.