Custom Fields
Re-Envisioned
Support General Taxonomy Advanced – display category thumbnail image

This topic contains 1 reply, has 2 voices, and was last updated by  Anh Tran 2 weeks ago.

  • Creator
    Topic
  • #15648
    Resolved
    wojtekf
    Participant

    Hi, i like to display a category thumbnail image but i am not sure how to get the category/term id and pull out the image from it. Can you give some advice on that topic?

    thanks
    Wojtek

Viewing 1 replies (of 1 total)
  • Author
    Replies
  • #15666

    Anh Tran
    Keymaster

    Hi Wojtek,

    If you’re on a category/term page, then you can get the term id with get_queried_object_id(). You can also get full term object with get_queried_object().

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.