• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

How to edit "Sorry, no content matched your criteria."

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Internationalization and Translations › How to edit "Sorry, no content matched your criteria."

This topic is: not resolved

Tagged: unblocked games

  • This topic has 2 replies, 2 voices, and was last updated 5 years, 10 months ago by Oppugnator.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • July 27, 2017 at 3:37 am #209624
    Oppugnator
    Member

    Hey people,

    I'm facing the issue, that i want to edit the search result page, for the case the term searched for has not been found.

    Where to find the according code?

    July 27, 2017 at 5:01 am #209625
    Victor Font
    Moderator

    Genesis has a filter for this. Add this to functions.php and change the text:

    add_filter( 'genesis_noposts_text', 'change_search_text', 10, 2 );
    function change_search_text( $text ) {
    	$text = __( 'Sorry, no content matched your criteria.', 'genesis' );
    	return $text;
    }

    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    July 31, 2017 at 2:22 am #209741
    Oppugnator
    Member

    Thank you very much!

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Log In

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble