Viewing 7 replies - 1 through 7 (of 7 total)
  • Same issue here. URL endings like this:

    /?dlm_download_category=planning

    just go to the home page.

    Tried with all plugins/themes off, but still not working.
    Tried refreshing Permalinks, still no.
    Cleared plugin transients.

    WP 5.8.3
    Download Monitor 4.4.14
    Genesis theme
    PHP 7.3.33

    • This reply was modified 2 years, 10 months ago by bravenewniche.
    • This reply was modified 2 years, 10 months ago by bravenewniche.

    For those struggling with this issue, a short term fix is to make individual pages for each category, and put in a shortcode, like this:

    [wpkb_code][downloads category=buildings][/wpkb_code]

    Needs some styling help, but it would give you something for the moment.

    Plugin Author Razvan Aldea

    (@raldea89)

    Hello,

    Think your problem is referring to this support post also, where my colleague already gave an answer: https://www.ads-software.com/support/topic/taxonomies-url-not-working-anymore/

    Kind Regards!
    Razvan

    Plugin Author Razvan Aldea

    (@raldea89)

    As an update, talked to the developers and seems that the modification will be reverted in the next update ( so this week most probably ), so the category links will work again.

    Best Wishes!
    Razvan

    I should have noted that I currently have that filter added to our functions.php file but the category links still aren’t working.

    //* Fix for Download Monitor URLs - Jan 2022
    add_filter( 'dlm_download_category_args', 'dlm_add_url_to_category' );
    function dlm_add_url_to_category( $settings ){
    	$settings['public'] = true;
    	return $settings;
    }
    • This reply was modified 2 years, 10 months ago by bravenewniche.
    Plugin Author Razvan Aldea

    (@raldea89)

    Sorry about that, seems my colleague forgot to mention one setting, query_var, that also was changed and needs to be set to true. So the above code should be :

    //* Fix for Download Monitor URLs - Jan 2022
    add_filter( 'dlm_download_category_args', 'dlm_add_url_to_category' );
    function dlm_add_url_to_category( $settings ){
    	$settings['public'] = true;
            $settings['query_var'] = true;
    	return $settings;
    }

    Again, sorry about the omitted settings.

    Best Wishes!
    Razvan

    Thanks!

    That updated code is working for me.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Category Site not working’ is closed to new replies.