Have a stubborn client that wouldn't heed your advice and keep adding a crazy number of categories (instead of tags) for their Posts? If you wish to display just the first category (hyperlinked to the category archive page) that a Post belongs to, it can be done by adding the following in child theme's functions.php:
To view the full content, please sign up for the membership.
Already a member? Log in below or here.
Find my tutorials helpful and wish to donate?
Please log in again. The login page will open in a new tab. After logging in you can close it and return to this page.