WordPress.org

Forums

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

  1. laughingsquid
    Member
    Posted 1 year 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 1 year 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 1 year ago #

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

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

  4. laughingsquid
    Member
    Posted 1 year ago #

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

  5. mihonik
    Member
    Posted 6 months ago #

    Hi,
    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
    Happiness Engineer
    Plugin Author

    Posted 6 months ago #

    @mihonik Could you please start your own thread, as per the Forum Welcome?
    http://wordpress.org/support/plugin/jetpack#postform

    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