[anspress shortcode] Programmatically specify categories attribute

2.33K viewsCore

Hi, is it possible to get the current category slug from the URL and place it in the anspress shortcode’s categories attribute?


My current page’s URL is http://abc.com?type=interior-design

In this page’s anspress shortcode, I would like to take “interior-design” and insert into the “categories” attribute. Maybe something like: [anspress categories=%type%]

Is it possible?


have you resolve yet please?