Miva Merchant SEO, eCommerce, Miva Modules, Custom Web Apps, and Miva Merchant troubleshooting.

Miva Merchant & Miva Script News

Wordpress style shortcodes to help with common tasks.

by
Scot's Blogger


If you're familiar with WordPress, you've probably heard of shortcodes. These give you an easy way to put various kinds of information in your post.

All shortcodes can start with scotsblogger or sb. 

NOTE: There should be no space between the [ and the sb or scotsblogger in the short codes. There is here in the docs because otherwise the shortcodes would render.

display link to an article

[ scotsblogger post some-article-slug link ]

[ scotsblogger post scotsblogger-shortcodes link ] = 

Shortcodes
display various article data [ scotsblogger post some-article-slug title ]

[ scotsblogger post scotsblogger-shortcodes title ] = 

Shortcodes

[ scotsblogger post scotsblogger-shortcodes author ] = 

[scotsblogger post scotsblogger-shortcodes author]
display example MVT item in a blog post [ scotsblogger mvt:store:code ] = 

&mvt:store:code;
display font awesome icon [ scotsblogger fa icon-class ]

[ scotsblogger fa fa-eye ] = 

product data: insert product data into post
Use any normal product variable -custom fields are not yet supported
name, price, formatted_price, header, footer, etc... (header/footer support
in v2.2.2)
[ sb product product_code name|price|descrip|etc ]

[ sb product scotsblogger name ] = 

Scot's Blogger and CMS

[ sb product scotsblogger descrip ] = 


category data: (v2.2.2) insert category data into post
Use any normal category variable -custom fields are not yet supported
name, header, footer, etc...
[ sb category category_code name|header|etc ]

[ sb category modules name ] = 

Miva Modules




(4/5, 7 votes) my rating:
overall rating:

Please log in to leave a comment.

The blog posts on Scot's Scripts are served by Scot's Blogger, a Miva Merchant blogging module that makes it easy to create a Wordpress style blog, rich content, and extra pages in your Miva Merchant store.