Our WP Plugin uses a few shortcodes that can be handy when building your site:
MyStyle Design Shortcode
Displays one or more designs. This shortcode is on the /designs/ page by default, but can also be used to create mini-galleries or tag galleries on any page.
Ex:
-
[mystyle_design]
– the mystyle /designs/ page shortcode, displays the recent public designs (or all designs for admins).
-
[mystyle_design total=12]
– shows a gallery of 12 designs
-
[mystyle_design total=12 tag="amazing"]
– shows a gallery of 12 designs that are tagged amazing
MyStyle Customizer Shortcode
This shortcode displays the MyStyle customizer. This is usually only on the /customize/ page. If no product/template is specified, it will show a list of products that are customizable.
-
[mystyle_customizer]
– displays the Customizer or a list of customizable products.
Design Tags Shortcode
-
[mystyle_design_tags]
– displays a list of design tags with a few design thumbs per tag
-
[mystyle_design_tags per_tag="5" tags_per_page="12"]
– displays a list of design tags with a specific number of design thumbs per tag, as well as a certain number of tags per page.
-
[mystyle_design_tags show_designs="false" tags_per_page="12"]
– displays a list of design tags without the designs
Design Collections Shortcode
-
[mystyle_design_collections]
– displays a list of design collections with a few design thumbs per collection
-
[mystyle_design_collections collections_per_page="2" per_collection="2"]
– displays a list of 2 design collections with a few design thumbs per collection