Support

Account

Home Forums General Issues Show only taxonomy and tag taxonomy current post with ACF AND TWIG

Helping

Show only taxonomy and tag taxonomy current post with ACF AND TWIG

  • Since 3 days !!! I try to have show only the select taxonomies and tag taxonomies that have a post, but I

    Example. In a correct loop in home page I´m showing all posts categories XXX like this (and it´s working and not problem with that):

    CATEGORY 1

    Title
    Img
    FiedText
    (and here I want the list of select taxonomies/tag-taxonomy-1 – tag-taxonomy-2 have current post and not showing all the taxonomies and all the tags taxonomies)

    Example: if I have 2 taxonomies. Monuments and gastronomy.

    In Monuments taxonomy, I have tags: houses, churchs, temples, etc. And choose only Monuments Taxonomy for this pots and only one tag churches.

    We will see

    CATEGORY 1
    Title
    Image
    Field text
    Monuments houses, churches, temples – Gastronomy Wine, food, meat, vegetable

    and i want :

    CATEGORY 1
    Title
    Image
    Field text
    Monuments/churches

    Someone can help me and put example code php and twig. I´m so tired don´t find the soluce.

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

You must be logged in to reply to this topic.