badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Remove Author and Date Tag from Posts (NOT ALL META)

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #96270
    Peter Watson
    Participant

    Hello! Is it possible to remove author and date tag from posts??

    #96290

    Hi Peter,

    To remove author and date tag from the posts just go to Appearance > Customize > Additional CSS and paste below custom CSS:

    .entry-meta .by-author,
    .entry-meta .date {
        display: none;
    }

    Thank you!

    #96291
    Peter Watson
    Participant

    Thanks! I actually figured that out too! But I love this theme and the support is great! Is it possible to just remove it from the PHP so that I don’t have unnecessary code?

    #96335

    Hi Peter,

    To remove it from the code completely just go to theme main directory then inc > structure > content-extension.php on line no: 94 and 236 there you can see <div class="by-author vcard author"> and on line no:100 and 242 there you can see <div class="date updated"> remove these div tags as well as all the code inside it.

    Note: Make sure to remove it via creating child theme so that your customize code won’t be lost while you update the theme to the new version.

    Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.