Can I delete Date flags on Blog entries?

Support Forums for LiveMesh Themes & Plugins Forums Extinct Theme Support Can I delete Date flags on Blog entries?

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #35634
    Stefani Koorey
    Participant

    My customer does not like the date flags on the Blog entries. Is there a way to delete them?

    Thank you in advance.

    Cheers,
    Stefani

    #35635
    Raghavendra
    Moderator

    Easy way is to use the custom CSS –

    .entry-header {
        display: none;
    }
    
    .blog #content .post.hentry, .archive #content .post.hentry, .search #content .hentry, .single-post #content .post.hentry {
        padding-top: 20px;
    }

    If you need the same to removed completely from the HTML generated instead of hiding using CSS, you can override the templates in your child theme. You just need to copy templates files templates/archive/content-post.php, singular/content-post.php file to your child theme and then delete the line –

     <div class="entry-header">
    
            <?php get_template_part('templates/meta/published', 'custom'); ?>
    
        </div>
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Extinct Theme Support’ is closed to new topics and replies.