Okay
  Public Ticket #995829
Remove Author & Date from Post
Closed

Comments

  •  2
    magnusi started the conversation

    Hi - I have been scouring the forum here to see if I can find a way to remove the author and date from our blog posts. I have sorted out how to do this on the main blog page, but can't seem to figure it out for the individual posts. I have tried all of the code snippets that I could find, and nothing has worked thus far. Can you provide some ideas about what to try next?

    Many thanks!

  •  3,030
    Andrew replied

    HI Magnusi, 

    Thanks for getting in touch. 

    The only post meta I see on your posts is this: 

    That seems to be a part of the content itself, as it's listed with all the other <p> tags. (There's usually a tag to delimit the post meta separately) 

    Check the content and Let me know if you need more help. 

    Cheers 

  •  2
    magnusi replied

    I'm referring to the header. Please see screenshot. I am looking to get rid of the author and date in the header here. 

    Also, on the main blog page, i'd like to know how to remove the date from the bottom of each excerpt. 

    Thanks!

    Sita

  •  3,030
    Andrew replied

    Hi Magnusi,

    For the blog post page here http://thevalueweb.org/staging/emergent-design-what-does-this-mean/ you seem to have managed to remove the date and author.

    For the blog page here http://thevalueweb.org/staging/blog/ you can remove it with this CSS:

    div.posts-container article.post .post-meta .date{display:none;}
    

    Hope this helps.

  •  2
    magnusi replied

    Hi Andrew - I am not sure what you are seeing - when I go to the page I still see the date and author - see screenshot. 


  •  2
    magnusi replied

    The other code worked, however, for the main blog page. Thanks for that. 

  •  2
    magnusi replied

    Ah - I just checked in another browser. So in Safari and Firefox, the author and date are not displaying (as I want). In Chrome, they are still showing up. Anyway to address this browser issue? 


  •  3,030
    Andrew replied

    Hi Magnusi,

    Apologies for the late reply.

    1) For here http://thevalueweb.org/staging/emergent-design-what-does-this-mean/ use this CSS instead:

    div.section-title.blog-title div div.author-section{display:none !important;}
    

    2) For here http://thevalueweb.org/staging/blog/ this should be enough:

    div.posts-container article.post .post-meta .date{display:none;}
    

    If these do not work please give us admin access and we will ensure they do.
    Thanks.

  •  2
    magnusi replied

    OK - that worked for the post that I had up there - but a new and related problem...

    I just imported a lot of blog posts from another WP site. Now, all of them show up with a funny line on the main blog page - and then each of them has author and date (individually), and also, when I try to edit, the "allow comments" checkbox is not available, and it's defaulted to allowing comments. Attached screenshots for reference. 

    Thanks!

    Sita

  •  2
    magnusi replied

    In fact, the "allow comment" checkbox is not available on any of the blog pages - not the original one, and not the new ones either. 

  •  2
    magnusi replied

    Sorry for all posts here - i see how in "quick edit" i can disable comments - though I am still curious why this check box is not showing up on the posts page

  •  2
    magnusi replied

    I am also wondering why, in addition to the funny line on the posts here, why the one on top (working with the commonwealth) is not displaying fullwidth like the feature image on the original post (emergent design)

  •  2
    magnusi replied

    Got that issue sorted on the main blog page - 

  •  3,030
    Andrew replied

    Hi Magnusi,

    1) For the comments "allow comments" option is on the discussion section on the post's edit pages. The section might not be enabled. You can enable it under the screen options button on the top right of the page.

    2) For the "Working with the Commonwealth to reverse climate change" post here http://thevalueweb.org/staging/working-with-the-commonwealth-to-reverse-climate-change/ having different image sizes on the archive \ category page view from the single post page above, the image is not shown in full so that the aspect ration of the image is kept. That is why the full view of the image is not shown.

    Hope this clears things up and if we misunderstood or missed something then number the issues, give direct links to where this is happening on the site and we will see if we can fix this up.