Display Category name on Metro-skin 01

Home Forums Plugins Forum FAT Event Display Category name on Metro-skin 01

This topic contains 3 replies, has 2 voices, and was last updated by  Kenus 11 months, 2 weeks ago.

  • Author
  • #3475


    Hi there !
    How can I display the category name above the title on Metro-skin 01 item ?
    I’ve checked the metro-skin-01.php and add this line but obviously it doesn’t work !!! Anyone can help me.
    Many thanks.

    <div class="fat-event-meta">
                    <div class="categorie"><?php echo get_the_category($event['id']); ?></div>
                    <div class="fat-event-title fat-mg-bottom-5">
                        <a href="<?php echo esc_url($event['link_detail']) ?>" data-open-type="<?php echo esc_attr($event['open_detail_type']);?>"
                           data-s="<?php echo esc_attr($event['start_date']->format('U')); ?>" data-e="<?php echo esc_attr($event['end_date']->format('U')); ?>"
                           target="<?php echo esc_attr($event['link_open_type']); ?>"><?php echo get_the_title($event['id']); ?></a>

You must be logged in to reply to this topic.