• Resolved flobogo

    (@flobogo)


    Hello,

    Something’s wrong with the display of categories terms list on singular view of a news.
    On the editor, I affect a category to my news. It’s OK for displaying news by archive of category. But on singular view, the “Category” field is empty!
    There was the same problem on this topic, it’s taged as “resolved” after update of plugin, but for me, it’s still doesn’t work…

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Rafik

    (@rafikwp)

    Hello,

    Can you please share your page URL so we can check and elaborate more.

    Thanks

    Thread Starter flobogo

    (@flobogo)

    Hello,

    Sorry, I’m actually on localhost for tests, and it’s for a small family private site, so I can’t share any URL.

    Anyway, I solved the problem with a specific template single-news.php.
    This file calls the display of categories with this code:
    <?php the_terms($post->ID, WPNW_CAT, 'Category : ') ; ?>

    I hope it can help someone.

    There’s still a problem with translation of the term “Category”, but I will open a new topic.

    • This reply was modified 5 years, 9 months ago by flobogo.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can’t display Category on singular’ is closed to new replies.