Support

Account

Home Forums General Issues get_field doesn't work in taxonomy template

Helping

get_field doesn't work in taxonomy template

  • Hello,

    I have dropdown menu where get_field(post_id) function is used multiple times to get each product (custom post type) logo. This dropdown is global, it is visible in all pages. Code is in header.php file so it should’nt be affected by code in taxonomy template.

    It works everywhere except my custom taxonomy template page. In that page I get error, because function returns empty string instead array of images.

  • Going to need more information, code and how it’s called might help. Also what should be happening and where it’s not working?

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘get_field doesn't work in taxonomy template’ is closed to new replies.