BuddyBoss Home – Web › Support Forums › Plugins › BuddyPress User Blog › custom post type bookmark support
Tagged: custom post type
- This topic has 4 replies, 3 contibutors, and was last updated 8 years, 8 months ago by Anonymous.
Question
February 17, 2016 at 10:30 am #59518@kaypitreHi there,
I have custom post types that I’d like users to be able to bookmark. When I go to the actual custom post, the Bookmark option is there, however, when I go to the bookmarks page, I don’t see my bookmark in the list, only other regular posts that I’ve bookmark that are not custom.
Can this be changed or is there a piece of code I can use?
Thanks,
Kay
Answers
February 19, 2016 at 2:15 pm #59718@
AnonymousHi @kaypitre, Custom post type support is not added yet inside BuddyPress User Blog
You can do some minor edits to avoid any buttons display on custom post types
Line 190 inside buddypress-user-blog/includes/bookmarks.php and
Line 588 inside buddypress-user-blog/includes/recommend-posts.phpis_single()
with
is_singular( 'post' )
Regards
Varun DubeyFebruary 19, 2016 at 2:19 pm #59720@kaypitreSo do I correctly understand that I can’t officially bookmark custom post types at this time? This code will remove the bookmark function from my custom post types?
February 19, 2016 at 2:26 pm #59722@
Anonymousyes exactly, We will add bookmarking and Recommended features for Custom Post type also
It need to add options inside the plugin which allow site admin which custom post type they need to enable this features, like for few custom post type they might want to disable it.Regards
March 21, 2016 at 4:36 pm #64391@
Anonymous@kaypitre In today’s release we have removed the Bookmark functionality from custom post types. It was displaying previously but not functioning, as a bug. The plugin is only designed to support recommending Blog posts. Other post types will complicate things as many would not work correctly with it, so we are limiting support to just blog posts (the original scope of the feature). Thanks for bringing the issue up to us.
- The question ‘custom post type bookmark support’ is closed to new replies.