Support » Plugin: Posts Viewed Recently » How can I display a list of categories to which the post belongs?

  • Resolved edgarkaplan

    (@edgarkaplan)


    Hi,

    Thank you so much for this plugin! It is extremely easy and straightforward to use and performs outstanding!

    I wanted to do a small modification and no matter how I try and do it I don’t seem to get the results that I want. I would like it so that I can “echo” the list of categories that the post falls under.

    I was trying to do it in the same method as I did for the excerpt (that did work):

    <?php echo $ft_post->post_excerpt; ?>

    Modifying it like this:

    <?php echo $ft_post->post_category; ?>

    However it simply returns “Array”. Could you please help me with this issue?

    Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How can I display a list of categories to which the post belongs?’ is closed to new replies.