• Resolved Philipp Bammes

    (@tyrannous)


    Hi,
    I’m using completely fresh WordPress instance (no other plugins, default theme) and added a test download file.
    Then I created a category (“Downloads” -> “Categories”) and assigned the test download file to it. But when I click “View” at the category page I get the “Nothing found” page.

    What do I have to do to get the category page working?

    Thank you!

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

Viewing 1 replies (of 1 total)
  • Thread Starter Philipp Bammes

    (@tyrannous)

    This is how I solved it for me:

    1. Create a new file called taxonomy-wpdmcategory.php
    2. Paste the content of your theme’s archive.php
    3. Create a new WP_Query() with the following $args:
      $args = array(
      	'post_type' => 'wpdmpro',
      	'wpdmcategory' => get_query_var('wpdmcategory')
      );
      $query = new WP_Query( $args );
    4. alter the loop accordingly
Viewing 1 replies (of 1 total)
  • The topic ‘Download Category shows "Nothing Found"’ is closed to new replies.