Get taxonomy description based on variable
You have a lot of issues here: You should not be using $_GET variables without sanitizing it. Never ever trust any user inputs and URL parameters. They might contain malicious code which can harm your site. To sanitize and validate a $_GET variable, use the filter_input php function $filtered = filter_input( INPUT_GET, ‘type’, FILTER_SANITIZE_STRING ) … Read more