Tagged: blog layout, CPT, Custom Post Type
-
AuthorPosts
-
January 27, 2017 at 6:58 pm #739523
I’m full of question today.
I have created a custom Post Type called charity using the CPT UI plugin.
I have edited the meta.php so layout builder etc works and tweaked the functions.php so that The Blog Post element will show the CTP.
All is fine working and they display.Only issues is the slide-meta information that normally sits in the footer is missing. It isn’t being removed by any css it simple isn’t being pulled through.
Image below shows two blog. The left is CPT the right is standard. Note the missing footer info?
When inspecting the elements note the blue highlight shows missing slide-meta for CPT that is present for the standard post type (shown in yellow)
This ONLY happens when using a custom post type displayed in grid format. Using single author layout it shows the slide-meta.
I’m guessing there is a hook missing somewhere that adds the slide-meta to the footer of the blog grid layout?
What would that be?
Muchas Gracias
TJ
*ADDITIONAL **
I’ve also just noticed if you look at the first image you’ll notice the green tag CHARITY above the title on the standard blog post yet on the Custom Post Type it is missing also. It would appear the grid format for blogs isn’t pulling through any meta data.
- This topic was modified 7 years, 10 months ago by tjswarbs78.
February 1, 2017 at 7:25 am #741032Hey tjswarbs78!
Thank you for using Enfold.
Did you add an excerpt to the post? The post meta info such as the date will only display if there is an existing excerpt. Please provide the link to the actual one page so that we can check the issue.
Regards,
IsmaelFebruary 1, 2017 at 10:57 am #741135Ismael :)
There is a excerpt there but it doesn’t show.
I had a play with some of the setting in the Custom Post Type UI plugin and the meta info now appears
The following combination of check boxes seems to work.. very odd though.
I’m guessing some of the settings must have been messing with a hook?
Who knows but it works now. I should have started there I guess this theme is bulletproof ;)
Thanks
TJ
February 2, 2017 at 5:51 am #741545 -
AuthorPosts
- You must be logged in to reply to this topic.