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

Miva Merchant & Miva Script News


Scot's Blogger


The Scot's Blogger link manager is either going to be extremely useful for you or not useful at all. It depends on what kind of blogging you do. If you use a lot of affiliate links in your blog posts (as we all should, it's free $$), then the link manager is going to make your life a lot easier.

Add Link

Link code: a code you will use in the link shortcode to display the link

URL: the link URL

Click Text: the text that the reader will click 

Type (optional): this is to create a local link to a page, product, or category 

Type code (required if you use Type): The page, product, or category code. If you selected "product" in the TYPE dropdown, then you would enter the product code here.

Edit Link

After you have created a link it's available for editing where there are more options.

Link Shortcodes

The most basic way to display a link is:

[sb link link_code]

If you created a wrapper for your link you can display the wrapper by adding the wrapper command:

[sb link link_code wrap:on]

Turn wrappers off the same way:

[sb link link_code wrap:off]

If you are an affiliate blogger then this is the cat's meow. You create as many links as you like in the link manager and display them using short codes. If your affiliate decides to change the link on you all you have to do is change it in the link manager and all of your links are updated automatically.

Advanced Link Shortcodes

Links can share codes and by using the same code you can display each link in the order you have set for them by using the same shortcode that you would for any link:

[sb link code] - this would display the first link in the group

A while later in your post you might want to display the next link in the group, and to do that you'd use exactly the same shortcode:

[sb link code] - this will display the next link. The system remembers what link was last displayed and what link should be displayed next.

Let's say you have 5 links that share the same code. You can also tell the system which one to load by using a number:

[sb link code display:1] - displays the first link in the list
[sb link code display:2] - displays the second link and so on 

You can also display all the links in a row:

[sb link code display:all] - displays all links sharing the same code
[sb link code display:all wrap:on] - display all with wrappers

What are wrappers?

The wrapper is some html code that comes before and after each link. Perhaps a div tag or a list tag. 

For example, if you wanted to display a list of links you could create <li> and </li> wrappers and then put the links inside an unordered list.

<ul>
[sb link link_code display:all wrap:on]
</ul>

You could also set the wrapper in the short code:

<ul>
[sb link link_code display:all wrapstart:<li> wrapend:</li>]
</ul>


Product, Category, Page Code Link:
you can use the wrap:on/wrap:off command for these as well.

[sb productlink product_code]
[sb categorylink cat_code]
[sb customlink custom_code]
[sb pagelink page_code]

Add Classes, IDs, and Styles

You can also add classes, IDs, and styles to your links. 

[sb link code class="some-class" id="some-id" style="color:green"]

Link Associations

Maybe one person in a thousand will use this feature, but it's quite powerful if you're that one. Link associations let you group links together with something in your store. A product, page, or category. 

Displaying links based on associations follow all the same rules as above except the command "link" is replaced with "linka".

[sb linka link_code]


overall rating:
my rating: log in to rate

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.