Macros with 2 search parameters

I've got 2 qeustsion related to Macro:

  • I'm trying to use Macros to generate a block of posts with certain category as below:

{ { ~ system : keyword_search:TemplServices["bx_posts", {"cat": "bx_posts_cats", "keyword": 0}, "unit_gallery.html"] ~ } }

I want to add another parameter so that I can show only 'featured' posts in this category. How can I add this to the Macro?

  • my second question is about using labels with Macro. for the above example, instead of searching featured posts under certain categories, I want to get list of featured posts with certain label. How can I do this?
  • 623
  • More
Replies (5)
    Login or Join to comment.