With the following snippet you can change arguments for the built-in taxonomies in WordPress:
To modify arguments for the built-in taxonomies might not be a good idea unless you really know what you’re doing. I’m doing this because (not sure since when) now WordPress won’t let me display links from the
link_category taxonomy (remember Links Manager?) on its own template page (
One symptom I’ve noticed is that when I visited the link_category term page (like visiting http://SITE.COM/?link_category=links), it showed the index page template but not 404 page, which meant such route did exist just the data couldn’t be shown public.
After some time-wasting trial and error I realized it’s the default arguments keep the template from working. And the snippet above did the trick perfectly.
Hope it could save someone thirty or so minutes someday in the future. 😉
I’m a senior web developer helping clients build their websites to grow businesses. Currently I’m based in Taipei, Taiwan.
I write things about WordPress, AngularJS and life. Whenever you’d like to find someone to talk about these topics, just get in touch!