Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Removing “Last updated”

  • philipperoussel

    Hi,

    I missed entirely that the last updated text only appears if the post has been updated… ): Thank you!

    As for entirely deleting the update mention and its date for a specific post category (my question 2/), the code given by David does not seem to work. The category’s slug is guest-interview and I tried the following:

    .single-post article:not(.category-guest-interview) .posted-on .updated:before {
    content: “Last Updated “;
    }

    Thanks again for your help.

  • Have you removed this CSS which is the 1st step David mentioned?

    .posted-on .updated:before {
            content: "Last Updated "
        }
  • philipperoussel

    Yes. All I have left is this:

    .posted-on .updated {
    display: inline-block;
    }

    .posted-on .updated + .entry-date {
    display: none;
    }
    .single-post article:not(.category-guest-interview) .posted-on .updated:before {
    content: “Last Updated “;
    }

  • Then it should work.

    Can you link me to a post that is in category guest interview?

    Let me know 🙂

  • Hi there,

    The post you linked above is under the “Guest Interview” category. Based on the CSS you’ve added, the “Last Updated” text won’t be applied to this category.

  • philipperoussel

    Hi Alvind,

    The “Last Updated” text is not applied to this category (guest-interview) but the date does appear. How do I get rid of it as well for this category?

    Thank you.

  • Try adding this CSS as well:

    .single-post .category-guest-interview span.posted-on {
        display:none;
    }
  • philipperoussel

    Beautiful! Thank you.

  • No Problem 🙂

Viewing 10 posts - 17 through 26 (of 26 total)
  • You must be logged in to reply to this topic.