Remove post meta data from custom post type

Hello,

In my theme settings on blog section the “post meta” is off. I have created with toolset layout plugin a custom post type. In that custom post type appears the author name and date. These meta info are not showing from the plugin. I have not made a template to show these meta. So I guess they are from theme. How can I remove them.

Thank you!

Hi There,

Thank you for writing in! Try adding this on Theme Options > CSS

/*hide meta data on blog index page*/
.blog .p-meta {
	display: none;
}

If that does not work, please provide us the direct link to your custom post page.

Have a nice weekend,
Cheers!

Unfortunately hiding them with css is not option for me. I don’t want them to exist in the dom. It is a very common option and should be native in your theme.

Hi There,

Could you please tell us which stack you’re using?

Thanks.

Hello,
No matter which stack I use the custom post meta data are always visible. Thank you.

Hi There,

Regretfully we can’t replicate this issue on our end, the Theme Options > Blog > Post Meta works. Can you confirm that your custom post plugin is not using its own template? How about on the Blog index page, does it show the Post Meta? If it’s not then we know that your custom post is using a different template. You might want to contact the plugin author too to confirm this matter.

Have a nice weekend,
Cheers!

I am having the same problem. I added the CSS and it is not working. The plugin I am using is WPCourseware and does not put its own formatting on my pages or posts.

Hello @FIREWALKPRODUCTIONS,

Thanks for updating this thread.

Please be advised that the given code will only work for the blog index.

/*hide meta data on blog index page*/
.blog .p-meta {
	display: none;
}

This code does not work for the single blog post or any other custom post type. By the way, we cannot check if it is working or not in your site because you have disabled the post meta in it.

Best Regards.