Page tree
Skip to end of metadata
Go to start of metadata

From 4.5.3, you can add Addthis block to your pages with a simple way: use new template built-in function addthis:

{addthis}

Available parameters

Parameter

Description

pubid

Addthis tool's id

customize

Addthis tool's html

url

Custom URL of item

title

Custom title of item

description

Custom description of item

media

Custom media (image) of item

Note: pubid and customize are optional, configure them in case you want your app use your own Addthis style despite the configuration in AdminCP.

Example

Adding Addthis block with default configuration of core (You don't need to input pubid and customize)

{addthis url='http://example.com' title='Example' description='Description of example' media='http://example.com/image.jpg'}

Adding Addthis block with your own configuration (Input your pubid and customize)

{addthis pubid='your-pubid' customize='your-custom-html' url='http://example.com' title='Example' description='Description of example' media='http://example.com/image.jpg'}
  • No labels