Categoría: BRICKS FREE GET_LOOP_OBJECT

  • [Function] Get Term Slug in Bricks

    If you are querying terms of a taxonomy (like category, post_tag or a custom one) using the awesome Query Loop feature of Bricks, there might be situations where you would like to set the hyperlink of each loop element to #<term slug>. Ex.: <a href=»#flowers» class=»brxe-a9056d brxe-container brx-nestable»><h3 class=»brxe-fvnjcr brxe-heading»>Flowers</h3></a> <a href=»#animals» class=»brxe-a9056d brxe-container brx-nestable»><h3…