WordPress.org

Ready to get started?Download WordPress

Forums

Get Custom Field Values
adding text to search result (2 posts)

  1. detoner
    Member
    Posted 3 years ago #

    how do you add you own custom search result when the search say no results - we want to invite the user to call us if nothing comes back on the search
    Thanks in advance
    Dawn

  2. Scott Reilly
    WordPress & Plugin Dev
    Plugin Author

    Posted 3 years ago #

    This is general WordPress support request and not anything specific to the Get Custom Field Values plugin.

    But what you want to do is modify your theme's search.php file. In most cases there is already a section that handles displaying a message like "Nothing found" when the search doesn't have any results. That'll be the section where you want to add your custom text and contact info.

    You'll have to re-ask your question in the Themes and Templates forum if you need more guidance.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic