• Resolved nolimit966

    (@nolimit966)


    Hi,

    I have a created a search form on a page template of my WordPress website which id like to search a specific category of DL-Monitor downloads & display the results.

    I have used the following:

    <form id="searchform" action="<?php echo site_url('/'); ?>" method="get">
            Search:
            <input class="inlineSearch" type="text" name="s" placeholder="Webinars"/>
         <input type="hidden" name="post_type" value="dlm_download" />
       <input type="hidden" name="dlm_download_category" value="technical-webinars"/>
            <input class="search-webinars-bt" id="searchsubmit" type="submit" alt="Search" value="Search"/>
          </form>

    for the HTML but when i click the submit button i get no results found.

    I have also noticed in the Download monitor backend, if i click any of the Category titles or tags in there i get the same problem. Does anyone know what could be causing this?

    Thank you

    https://www.ads-software.com/plugins/download-monitor/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter nolimit966

    (@nolimit966)

    The URL String i am getting is
    /?s=test&post_type=dlm_download&dlm_download_category=technical-webinars

    But i just get “Sorry, no posts matched your Search criteria.” ??

    Hey,

    The downloads don’t have archive of single displays by default so the permalinks are turned of (hence the weird URL).

    If you would like full feature archive and detail pages including a Download Monitor specific search option, you might want to check out our Page Addon: https://www.download-monitor.com/extensions/page-addon/

    Kind Regards,

    Barry Kooij

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Form not displaying search results – No results found’ is closed to new replies.