Posted on Leave a comment

Overview- Shortcode

WCFM includes numerous shortcodes that can be used for displaying specific contents inside WordPress posts and pages.A generic overview of WordPress shortcodes:

According to WordPress-

A shortcode lets you do nifty things with very little effort. Think of a shortcode as a shortcut to add features to your website that would normally require lots of complicated computer code and technical ability. [link]

Syntax-
A shortcode is written inside two square brackets. For example, the [wcfm_stores] shortcode can be used to display a list of stores to any page.

Shortcodes can also be used with additional attributes known as Args (or Arguments) as the following example shows:
[wcfm_stores has_product=’yes’ has_filter=’yes’ has_map=’no’]

Leave a Reply

Your email address will not be published.