Support

Account

Home Forums ACF PRO Unable to query custom post type with specific category Reply To: Unable to query custom post type with specific category

  • Hi John,

    Thanks for the guidance.
    It is working now.
    However, I still have a problem showing the category in the slide.
    Below is the code I use to call out the category.
    I don’t want the category to come with the link, and this is the code.

    <p>
    <?php
    $category = get_the_category();
    echo $category[0]->cat_name;
    ?>
    </p>