WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
[resolved] Removing "In Category text from Jetpack Related Posts (4 posts)

  1. laughingsquid
    Member
    Posted 5 months ago #

    I've activated the new Jetpack Related Posts and it is working well. We don't use categories on our blog, so the "In Category" text is pretty useless for us. How do we go about removing that extra text?

    https://wordpress.org/plugins/jetpack/

  2. Amit Sonkhiya
    Member
    Posted 5 months ago #

    The text is surrounded with a span tag having class 'jp-relatedposts-post-context'.

    Unfortunately span text doesn't support display: none property so you can set the text color matching with white or the background color of your page.

    .jp-relatedposts-post-context {
    color: #FFF;
    }

    Add this code into your custom CSS or wherever theme support.

  3. Richard Archambault
    Happiness Engineer
    Plugin Author

    Posted 5 months ago #

    Hi! Looks like my colleague got back to you before I did:

    https://github.com/Automattic/jetpack/issues/278

  4. laughingsquid
    Member
    Posted 5 months ago #

    Thanks, that worked perfectly. We're good to go.

Reply

You must log in to post.

About this Plugin

About this Topic