Support

Account

Home Forums Front-end Issues Custom Fields not appear on custom taxonomy category page when have post

Unread

Custom Fields not appear on custom taxonomy category page when have post

  • Hi, I created a custom post type and a new taxonomy. They works great.
    When I add a custom field to the category page of that taxonomy (taxonomy-Taxonomy_Name-Category_Name.php) it works fine and I can see my custom fields in front-end, but when I flag a post as belonged to that category, the custom fields in the category page disappear.

    I’m running WordPress 5.2.5 and ACF 5.8.7.

    The custom fields in the page are:

    <h1><?php echo get_field('text_1'); ?></h1>
    <img src="<?php echo(get_field('image_1'))['url'] ?>" alt=""/>

    I have a second website in which there are the same rules but they works.

    Can you help me to solve te problem?

    Thank you

Viewing 1 post (of 1 total)

The topic ‘Custom Fields not appear on custom taxonomy category page when have post’ is closed to new replies.