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

  1. laughingsquid
    Posted 2 years 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?


  2. Amit Sonkhiya
    Posted 2 years 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 Contributor

    Posted 2 years ago #

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


  4. laughingsquid
    Posted 2 years ago #

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

  5. mihonik
    Posted 1 year ago #

    My blog is in in different language than english, I was able to change the Related posts text in function.php, but can't change the "In" for category. Please help.

    Thanks in advance

  6. Jeremy Herve
    Jetpack Mechanic
    Plugin Author

    Posted 1 year ago #

    @mihonik Could you please start your own thread, as per the Forum Welcome?

    Thank you!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Jetpack by WordPress.com
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic