Introduction to shortcodes

To display menu items in any post or page on your website, you can add any of the following shortcodes. All default options are displayed below.

Menu shortcode options

[wpd_menu title="show" posts="9" id="" class="" name="show" price="show" thc="show" thca="" cbd="" cba="" cbn="" cbg="" thcmg="" thc_topical="" aroma="" flavor="" effect="" symptom="" condition="" vendor="" category="" shelf_type="" strain_type="" total_thc="show" weight="show" seed_count="show" clone_count="show" size="show" servings="" orderby="" meta_key="" type="flowers, concentrates, edibles, prerolls, topicals, growers" imgsize="wpd-small"]

Carousel shortcode options

[wpd-carousel id="" posts="9" class="" name="show" info="show" imgsize="dispensary-image" thc="" cbd="" title="Dispensary Menu" category="" aroma="" flavor="" effect="" symptom="" condition="" orderby="" type=""]

Flowers shortcode options

[wpd-flowers id="" posts="3" class="" name="show" info="show" imgsize="dispensary-image" thc="" cbd="" title="Flowers" category="" aroma="" flavor="" effect="" symptom="" condition="" orderby=""]

Edibles shortcode options

[wpd-edibles id="" posts="3" class="" name="show" info="show" imgsize="dispensary-image" title="Edibles" category="" ingredient="" orderby=""]

Concentrates shortcode options

[wpd-concentrates id="" posts="3" class="" name="show" info="show" imgsize="dispensary-image" thc="show" cbd="show" title="Concentrates" category="" aroma="" flavor="" effect="" symptom="" condition="" orderby=""]

Pre-rolls shortcode options

[wpd-prerolls id="" posts="3" class="" name="show" info="show" imgsize="dispensary-image" title="Pre-rolls" orderby=""]

Topicals shortcode options

[wpd-topicals id="" posts="3" class="" name="show" info="show" imgsize="dispensary-image" title="Topicals" category="" ingredient="" orderby=""]

Growers shortcode options

[wpd-growers id="" posts="3" class="" name="show" info="show" imgsize="dispensary-image" title="Growers" category="" orderby=""]

4 thoughts on “Introduction to shortcodes

  1. Is there any information available to show all the possible options for each item such as imgsize, category, orderby etc.? At the moment, I’m trying to sort the menu shortcode by price either by high to low or low to high.

    1. Thanks for the comment Andrew. Right now there’s not full details published on each individual shortcode option, but that’s something I’m working on including asap.

      There’s not a filter currently included to sort by price (high/low), but in the next release this will be included along with more robust search/sort functionality.

Leave a Reply

Your email address will not be published. Required fields are marked *