Open juliotaylor opened 8 years ago
@jrgmartin for review / further detail.
Could we refactor all shortcodes into one single one to do this?
Could this also include case studies, testimonials and single versions?
'[build post-type="testimonial" layout="blockquote" id="23"]'
'[build post-type="testimonial" layout="blockquote" category="dogs" orderby="date" order="asc"]'
well, the problem with category is that it's a dynamic taxonomy, which could change from project to project.
It would need a 'taxonomy' variable too.
@jrgmartin
Yes, this is totally do-able and relatively easy to implement.
For taxonomy, we would actually need two vars:
Can you build this into the spec for the new builder tools in M3?
A shortcode that can render any post type, in any layout, in any order, for example:
'[build post-type="products" layout="snippets" orderby="date" order="asc"]'