• Resolved balohe37

    (@balohe37)


    Hello, i dont understand why my taxonomies url dont work anymore.

    I have urls like “\?taxonomy=dlm_download_category&term=glossaires” which does not work.

    Could you help?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support beatrice12

    (@beatrice12)

    Hello @balohe37.

    Thank you for reaching out to us!

    We removed them because the users complained about them. If you want them back please add this code in Appearance > Theme Editor > Theme Functions > add it at the end of the file:

    add_filter( 'dlm_download_category_args', 'dlm_add_url_to_category' );
    function dlm_add_url_to_category( $settings ){
    	$settings['public'] = true;
    	return $settings;
    }

    Warmly,
    Beatrice.

    An edit to the code my colleague sent before, query_var needs to also be set to true, so the 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;
    }

    The previous change ( so the one that triggered these errors ) will be reversed in the next update ( most probably this week ), making this code unnecessary, but whomever wants the change earlier can use this code.

    Best Wishes!
    Razvan

    • This reply was modified 3 years, 2 months ago by Razvan Aldea.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Taxonomies url not working anymore’ is closed to new replies.