the answer for all question about Oxygen Builder plugin and WordPress

How do you return a list of just Post Categories?

How do you return a list of just Post Categories?

I’ve searched with no luck. I have a blog that has a couple dozen Post Categories, and I’d like to display a list of all categories with links. I tried a repeater, but cannot figure out how to return a list of Categories.



Source

3 Comments
  1. Tom Walters says

    Still haven’t got to Oxygen but thought this was relevant?https://developer.wordpress.org/reference/functions/get_categories/

  2. Taylor Drayson says

    If it’s the default post type then get_categories would work. Otherwise use get_terms

    Also be sure to check out user submitted notes at the bottom of docs page to see examples

  3. Anwar Jacobs says

    +Add > WordPress > Widgets > Categories

Leave A Reply

Your email address will not be published.

Oxyrealm Docs