Message templates, variables & media

Message templates, variables & media

Exact variable syntax, sample templates, images, albums and supported link buttons.

Use the exact variable syntax

Choose variables from the editor. They use one pair of braces: {title}, {excerpt:180} and {url}. Double braces are not the title-replacement syntax.

{title}
{excerpt:180}
{url}

For this example select the link placement option that adds the URL only inside the template. A product template can use {product_name}, {price} {currency}, {stock} and {product_url}. Other documented fields include author, date, categories, tags, SKU, variation ID, regular price and sale price. Stock quantity requires explicit permission to display it.

{title|truncate:70} shortens a title. {excerpt|truncate:180} shortens an excerpt. Use product variables with product content; do not invent missing prices or stock values. Library preview illustrates appearance, while preview with content resolves a saved post and checks destination limits. Neither sends a message.

Prepare compatible media

Select actual WordPress media, check type and size, and use supported WebP-to-JPEG conversion if necessary. Renaming a file extension is not conversion. A true album differs from multiple independent messages, and global limits cannot increase a network's limits. Supported HTTPS buttons can fall back to text links if you choose that policy. Check each destination's final caption, including prefixes, suffixes and added links.

IranSocial user manual · Version 1.0.0 · English overview of the Persian original