Shortcode reference

All shortcodes take the ID of a Saved Layout. The ID is shown in the Saved Layouts list and in the shortcode column.

[visual_portfolio]

Renders the layout.

AttributeDefaultMeaning
idSaved Layout ID. Required
classExtra CSS classes on the wrapper
vc_cssUsed by WPBakery for its Design Options CSS
[visual_portfolio id="123"]

[visual_portfolio_filter]

Renders the Filter of a layout on its own, so it can sit in another column or above other content. It controls the gallery with the same ID on the page.

AttributeDefaultValues
idSaved Layout ID
typedefaultdefault (Classic), minimal, dropdown
aligncenterleft, center, right
show_countfalsetrue to show item counts
text_allAllLabel of the All item
classExtra CSS classes

[visual_portfolio_sort]

Renders the Sort of a layout on its own.

AttributeDefaultValues
idSaved Layout ID
typedefaultdefault, minimal, dropdown
aligncenterleft, center, right
classExtra CSS classes

Renders the Search field of a layout on its own.

AttributeDefault
id
aligncenter
text_placeholderType to search...
class

The standalone filter, sort and search need the gallery with the same ID on the same page.

Was this page helpful?