• Hi there,

    I’ve been trying to disable the word “remove comments are off for the post” & also the “Publish by [user] in category”

    Can somebody help me with removing this please? I would like just the date to remain

    Thank you for you help in advance!

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • These elements you want to remove come from the theme you’re using.

    As you’re using a commercial theme (Semplice5), WordPress support volunteers here are unable to install your theme to see if there are any built-in features to disable these items.

    The only solution we can offer you over here is to hide them with custom CSS code.

    “Publish by [user] in category”

    If you want to hide this site-wide, use:

    .category-meta {
        display: none;
    }

    If you want to hide it only on the “News” page, use this INSTEAD:

    .blog .category-meta {
        display: none;
    }

    comments are off for the post

    I’m supposing you want to keep the date. This one gets a little tricky because there’s no separation between the date and the comment text. Luckily, the date is linked so we can use two styles: one to hide everything, and the second to show the date.

    .post-heading > p {
        visibility: hidden;
    }
    .post-heading > p a {
        visibility: visible;
    }

    As before, if you want to do this for ONLY the “News” page, stick .blog in front of each selector: use this INSTEAD:

    .blog .post-heading > p {
        visibility: hidden;
    }
    .blog .post-heading > p a {
        visibility: visible;
    }

    NB: the code above should go into APPEARANCE => CUSTOMIZE => ADDITIONAL CSS.

    Good luck!

    Thread Starter atpoku

    (@atpoku)

    Hi George,

    Thanks for helping this worked! The Second part I was able to disable by going into the theme settings. Appreciate the assistance

    Best,

    Akwasi

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove Comments are off for this post & published by’ is closed to new replies.