the answer for all question about Oxygen Builder plugin and WordPress
5 Comments
  1. Brian says

    Repeater / Query / Costum / Post type / Post type = product

  2. Naazim says

    Or in template > archive, then default repeater query will work for pagination purposes

  3. Martin says

    Hi Melanie, repeaters and easy posts are mainly for displaying posts and custom posts. You can’t display the categories with a repeater, you need a code block for that. Search in the group and you should be able to find the code needed to do the job. In the meantime, you can upvote this feature on github: https://github.com/soflyy/oxygen-bugs-and-features/issues/2257

  4. Adam says

    I literally just figured this out. To query a product category you need to use advanced query.

    tax_query
    array >
    taxonomy > product_cat
    field > slug
    terms > the category you want to query or use dynamic data to get post slug (or ID, I can’t remember) if it’s a template

  5. Hernan says

    hey Melanie Fischer I did this with a code block using the wordpress get_categories() function:

    0,
    ‘hide_empty’ => 0,
    ‘exclude’ => array(15,1740,2881,3066), //exclude categories by id
    ‘taxonomy’ => ‘product_cat’ // mention taxonomy here.
    )
    );

    foreach ( $categories as $category ) {

    echo ‘

    ‘;
    }

    ?>

    you can check it out it’s working at https://www.tuio.pe/
    Hope it helps!

Leave A Reply

Your email address will not be published.

Oxyrealm Docs OxyMade - Oxygen Builder Design Set Mega collection