WordPress.org

Ready to get started?Download WordPress

Forums

Business Directory Plugin
[resolved] Display Search Results on a Page other than Main Directory (4 posts)

  1. KatieKat
    Member
    Posted 5 months ago #

    Hi there,
    is there a way to display the business search results on a page other than the Main Directory Page.

    The reason being that I have used the [businessdirectory] shortcode but also added some text and videos on the main display page.

    Unfortunately when I do a search it is bringing up all the text and videos as well as the search and I just want the search results.

    The search results seem to be defaulting to the Main Directory Page.

    https://wordpress.org/plugins/business-directory-plugin/

  2. businessdirectoryplugin
    Member
    Plugin Author

    Posted 5 months ago #

    Hi KatieKat,

    Right now, all output is directed through that main directory page. We use the short code to generate pretty much everything that you see coming out of the plugin. The plus is that you don't have to do/configure much to get going, the downside is that everything filters through the main directory page and whatever you put there can show up in several places.

  3. KatieKat
    Member
    Posted 5 months ago #

    Hi there,
    thanks for the clarification. Not sure if this is possible but I was just wondering if there is any way of adding a filter or function so that when the main page comes back from an ?action = search that it performs a display:none for the text and videos.

  4. businessdirectoryplugin
    Member
    Plugin Author

    Posted 5 months ago #

    Something like that would have to be hacked into the plugin since we're not able to understand what other content could possibly exist on the page with the shortcode (that is out of our control).

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.