Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1075788
    meschwa
    Participant

    http://www.leadingedgeparenting.com/blog

    I would like to remove the dates from the blog

    Ideally, I would like to see “by: {author}” in it’s place

    Can you help me do this? I have searched the forum and cannot get it to work. Thank you!!!

    #1076000
    Rad
    Moderator

    Hi there,

    Thanks for posting in.

    Please add this code to your child theme’s functions.php

    function x_icon_entry_meta() {
    
        $author = sprintf( '<span><i class="x-icon-pencil" data-x-icon=""></i> %s</span>',
          get_the_author()
        );
    
        if ( x_does_not_need_entry_meta() ) {
          return;
        } else {
          printf( '<p class="p-meta">By : %s</p>',
            $author
          );
        }
    
      }

    Hope this helps.

    #1076581
    meschwa
    Participant

    I’m not sure “where” the chid theme is… can you please tell me exactly how to get to the place to add this?

    Is it not possible to add via the customizer instead? Thanks again

    #1076730
    Prasant Rai
    Moderator

    Hello There,

    Thanks for writing in!

    A child theme is a theme that inherits the functionality of another theme, called the parent theme. Child themes allows you to modify, or add to the functionality of that parent theme instead of modifying the core theme files directly.

    We recommend you to please walk-through our knowledgebase on how to set up and get started with child theme.

    https://community.theme.co/kb/how-to-setup-child-themes/

    Thanks.

    #1076896
    meschwa
    Participant

    Got it, yes that is a lot of work for this not-very-tech-savvy person πŸ™‚

    Is there no way to ‘mask’ the date on the blog via CSS customizer?

    #1076911
    Rahul
    Moderator

    Hey There,

    Use this CSS :

    .x-iso-container-posts.cols-3 .p-meta {
        display: none;
    }
    #1077053
    meschwa
    Participant

    Unfortunately that code doesn’t do it Rahul, it actually cuts off the top line of the blog post title (and the top line of the homepage.

    #1077055
    meschwa
    Participant

    I would even be ok with changing the color of the date (to white) so it’s not visible… I just don’t want to take on the ‘learning curve’ of the child theme for such a small fix if possible. Thanks again!!!

    #1077541
    Paul R
    Moderator

    Hi,

    You can try this code instead.

    
    .blog .p-meta .entry-date {
        display:none;
    }
    

    Add this code in Appearance > Customize > Custom > Edit Global CSS

    Hope that helps.

    #1078004
    meschwa
    Participant

    Thanks Paul, unfortunately that didn’t do it.

    #1078112
    Rahul
    Moderator

    Hi there,

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thanks.

    #1078178
    meschwa
    Participant
    This reply has been marked as private.
    #1078329
    Joao
    Moderator

    Hi There,

    I have inserted the CSS code above provided on your Appereance Customizer Custom CSS and it does work.

    Hope it helps

    Joao

    #1078362
    meschwa
    Participant

    Thank you Joao!!
    I’m not sure what I did wrong…

    Is there a way to also disable the date showing on the individual posts? When I click through to a post entry I see the date. Thanks again

    #1078460
    Rahul
    Moderator

    Hey There,

    Use this CSS :

    h1, h2, h3, h4, h5, h6, .main-menu a, .secondary-menu a, .widget_pages, .widget_categories, .widget_nav_menu, .tagline, .sub-title, .entry-meta, .entry-note, .read-more, #submit, .ltr .single .entry-content > p:first-of-type:first-letter, input#s, .single-author-box .vcard, .comment-author, .comment-meta, .comment-reply-link, #respond label, .copyright, #wp-calendar tbody, .latest-reviews i, .score-box .total {
        display: none;
    }

    Thanks

  • <script> jQuery(function($){ $("#no-reply-1075788 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>