Removing “category” meta-data from title area also removes featured image
-
Hi there,
I’ve created custom post types (named “resources”) to compose a resource library. I’m simply using my theme’s (Divi) template to display the post (I copied the standard “single.php” file and named it “single-resources.php”–it’s an exact duplicate except that I added 2 short codes right on top to display a “Resource Library” header for the posts).
I’m wanting to remove the meta-data around the title (author, date, comments, and category), just leaving the title and the featured image. On Divi’s settings (“Theme Options”), I just removed these items from “postinfo.” I’m able to remove, date, author, and comments meta-data fine; but when I remove “categories,” the featured image also gets removed. This problem only happens on the custom-post-type posts; it’s not happening on my standard posts. I contacted Divi, and they said the problem must be with the custom-post-type settings, and that makes sense, since the problem is not happening on the standard posts.
Any idea how I can fix this? If you look at this url — http://cncl.org.nz/resources/this-is-a-test-resource/ — , you’ll see that the category –“endorsed” in this example — still shows up next to the title (if I remove it using the them settings, then the featured image also disappears). Is there some setting that I missed when setting up this custom post type? Is there some other way I need to fix this–such as with css or editing the php template file? Hopefully I just missed some thing very simple.
Thanks for your assistance,
ParisThe page I need help with: [log in to see the link]
- The topic ‘Removing “category” meta-data from title area also removes featured image’ is closed to new replies.