Removing subheader from blog posts
Hi, i'm using Betheme with bepress demo site and i want to remove subheader from my blog posts. Right now title of blog post is shown twice, on subheader and in post and i don't want that. I know there is option to turn off subheader completely but i have pages where i need it.
Is there a way to turn off subheader only in blog posts?
Thaks in advance
Comments
to remove subheader in blog posts only, you need to use the following css:
As I do have the same problem with the subheader in the blog sites I am happy to see the solution ;-) But: Where do I have to write the css, in the css style sheet or on each blog site? If in the style sheet: which one and where? If on each blog site: where exactly?
Hope to hear from you soon!
if( ( mfn_opts_get('subheader') != 'all' ) &&
( ! get_post_meta( mfn_ID(), 'mfn-post-hide-title', true ) ) &&
( get_post_meta( mfn_ID(), 'mfn-post-template', true ) != 'intro' ) ){
to (I just added the check to see if the post type is single)
if( ( mfn_opts_get('subheader') != 'all' ) &&
( ! get_post_meta( mfn_ID(), 'mfn-post-hide-title', true ) ) &&
( get_post_meta( mfn_ID(), 'mfn-post-template', true ) != 'intro' ) && (!is_single()) ){
That seems to have done the job.