In the comments section of How to exclude specific tags from Entry Meta in Genesis, a user asked:
In this tutorial, we shall:
- create a function for `get_the_terms` filter to exclude specific term(s) by its/their name(s).
- use the `genesis_post_terms_shortcode` filter hook and filter the terms to exclude the earlier specified term(s). We do this by running `add_filter` and `remove_filter` on `get_the_terms` before and after the `get_the_term_list` function.
- in a function hooked to `genesis_post_meta` filter hook, show `portfolio_category` taxonomy's hyperlinked terms on `portfolio` CPT single and archive pages.
Add 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.