[Resolved] Categories Message

Home Forums Support [Resolved] Categories Message

Home Forums Support Categories Message

  • This topic has 11 replies, 6 voices, and was last updated 4 years ago by David.
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #576728
    Kle

    Hi there, I have some active categories on my blog tha have no posts. When clicking them I get the message: It seems we can’t find what you’re looking for. Perhaps searching can help”

    How can I change/customize this message? Thank you.

    #577316
    Leo
    Staff
    Customer Support

    Hi there,

    I believe you have to overwrite this file in your child theme:
    https://github.com/tomusborne/generatepress/blob/6ec2a01ae8141ead5e379a4b2370d01ca3344045/no-results.php

    You can see the message in there.

    Will ask Tom to confirm 🙂

    #577320
    Tom
    Lead Developer
    Lead Developer

    Those strings really need filters.

    If you don’t want to overwrite the template file, you can use this plugin: https://en-ca.wordpress.org/plugins/say-what/

    Simply add the text as shown in the template, and add generatepress as the text domain.

    #577371
    Kle

    Thank you Tom and Leo: ) It seems like a useful plugin to have, and I guess it cannot be done with the plugin Snippets?

    #577402
    Leo
    Staff
    Customer Support

    Unfortunately not.

    Sounds like Tom will be adding a filter soon 🙂

    #577459
    Kle

    Awesome! If there’s a way to know when that’s out would be great. Thank you Leo:)

    #577484
    Leo
    Staff
    Customer Support

    Glad we could help!

    #583418
    Mr McMarry

    Please Make Filters Tom

    Thank You

    #583903
    Kle

    Please Make Filters Tom

    +2

    #1195027
    David

    I just purchased GeneratePress Pro and love it.

    Any filters for this yet?

    If not, when I update GeneratePress Pro will I need to remake the customizations to no-results.php

    #1195277
    David
    Staff
    Customer Support

    Hi there,

    not yet 🙁 – i’ll remind Tom.

    Advisable to follow Leo’s instructions and create a copy of the template in your child theme:
    https://generatepress.com/forums/topic/categories-message/#post-577316

    This will keep the changes safe when the Theme is updated.

    #1195364
    David

    I don’t want a child theme just for these strings. I use code snippets rather than a child theme. Yes, GeneratePress is that good.

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.