-
Author
Tagged: buddypress, featured image
-
June 19, 2015 at 01:41 #63792mitchcanParticipant
Hey,
First a dumb question… should a Featured Image added to a Custom Post Type show in the theme on a BuddyPress activity stream?
I have a Featured Image metabox (set through the CPT UI plugin). I’ve added a featured image to the CPT post. The CPT post shows in BP activity stream, just sans the FeatImg.
I gotta be missing something simple, right?
I don’t need to do anything with add_theme_support( ‘post-thumbnails’ ); do I?
Thanks.
June 19, 2015 at 01:59 #63796sharmstrModeratorNot a dumb question, but it is better asked on the BP forums.
I will say that Kleo (and any other theme) merely displays the info written to the activity table. For standard WP posts, the featured image is actually appended to the activity content before its saved to the activity table. So, my guess is that your CPT isnt set up to append the featured image. See attached.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
Attachments:
You must be logged in to view attached files.June 19, 2015 at 02:06 #63799mitchcanParticipantThanks @sharmstr, I only asked here first because 1) I wasn’t sure if it had anything to do with the theme and it’s display of images, and 2) because I knew I would get a timely reply here. 🙂
Interestingly, the CPT UI plugin I am using provides for a Featured Image option, and I DO have it selected (which is why I have the FtImg metabox on the CPT). It must be something that is not sending that info through somehow. I’ll keep digging around.
Thanks as always for your knowledge and responsiveness.
June 19, 2015 at 02:13 #63802sharmstrModeratorMaybe BP didnt add support for it in their new way of addding cpts to activities. Again, you should ask them. Or even ask the cpt plugin people. https://codex.buddypress.org/plugindev/post-types-activities/
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
June 19, 2015 at 02:16 #63803mitchcanParticipantI will ask around, thanks.
I’m digging into the database now, looking for what gets sent with the CPT. Your screenshot triggered the thought to do that. Thanks for that.
June 19, 2015 at 02:40 #63805sharmstrModeratorCool. Let me know it it gets saved to the activity and Kleo isn’t displaying it.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionThis support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com
-
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.