The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Download Monitor
How to disable Search (3 posts)

  1. goodereader
    Posted 3 years ago #

    Hey guys. I have an app store, using Wp-download monitor.


    i removed the search CSS and disabled most of the text. It seems the search bar and clickable entry to launch the search is still there, and i'm almost at my wits end trying to disable the search functionality completely. Anyone have any clues on how i can remove the last bits of the default searching?


  2. Davidwitus
    Posted 3 years ago #

    I had a possibly related problem. Download files are a custom post type called 'dlm_download' and they were showing up in search results, which I did not want. Even though I saw 'exclude_from_search' => true, on line 345 of download-monitor.php, the files still showed up in search results, then clicking on the result threw an error. But I then saw that the post_type being registered there was 'dlm_download_version,' not 'dlm_download'. When I added the same line to the function call to register_post_type() for dlm_download, search results for the download file went away. I needed to do this because the download link is embedded in a post that contains a description, an image, etc. Did not want the search results to return both that post, and the download file separately. Seems to be working ok now.

  3. rabideau
    Posted 3 years ago #

    Hi David... THANK YOU for the fix! Hopefully the patch will go into the next release of DLM.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Download Monitor
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.