Viewing 1 replies (of 1 total)
  • Plugin Contributor ModDish

    (@moddish)

    Install tab of plugin:

    Extract the zip file and upload the contents to the wp-content/plugins/ directory of your WordPress installation and then activate the plugin from plugins page.

    The plugin registers a new custom post type, so you’ll want to update your permalinks. No need to change your permalink structure, just go to “Settings->Permalinks” and click “Save Changes” without making any modifications.

    Possible Shortcode [product]

    Shortcode options :

    cat

    Used to display only produces in a certain category. If not set ALL products from any category will be shown.

    Usage : cat=”category-slug”

    id

    You can insert a single Product

    Usage : id=”1234″ – where 1234 is the post ID.

    Note: the cat & the id attributes are mutually exclusive. Don’t use both in the same shortcode.
    hidetitle

    Used in conjunction with the “cat” shortcode to hide the category title incase you would like to use something else instead of the category name.

    Usage : hidetitle=”yes”

    featured

    Will set the background of the container to a default light grey.

    Usage : featured=”yes”

    view

    The default view is a grid view, if you would prefer to use “list” view set this attribute to equal list

    Usage : view=”list”

    buttontext

    The default button text is “Read More” if you would like to change the text use this attribute

    Usage : buttontext=”your text here”

    des

    Used to disable the product excerpt in the default grid view.

    Usage : des=”no”

    maxdes

    Used to set the number of words used in the excerpt in the default grid view. (default – 20) must be a number.

    Usage : maxdes=”50″

Viewing 1 replies (of 1 total)
  • The topic ‘Can't find short code’ is closed to new replies.