This members-only tutorial provides the steps to display the image (set up using Advanced Custom Fields) and the title for the taxonomy terms associated with the current singular CPT item being viewed in WordPress.

Field Group set to appear when editing a custom taxonomy's terms

Image being set for a taxonomy term

Taxonomy terms being set for a CPT entry

Taxonomy terms of the entry as a grid on single CPT page

We shall set the term image and title to link to the corresponding term archive page.

Step 1

Create a field group using ACF.

Add an Image-type of field with the return format set to Image ID.

In the Location meta box, set the group to appear on your desired taxonomy.

Step 2

Edit your taxonomy terms and set the image for each.

Step 3

In the Template that applies to your singular CPT pages, add this PHP code:

This is a premium members-only content.

To view the rest of the content, please sign up for membership ($47/month or $399 one-time).

Already a member? Log in below or here.

Need help implementing a tutorial in your site or want to hire me for custom work?

HIRE ME

Find the article helpful and wish to donate?

DONATE

Comments

You need to be logged in to view and post comments.
Not a member yet? Join here.
magnifiercross
>
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram
%d bloggers like this: