Add Social Media Targets

Heretto CCMS lets you create visibility for your social media accounts and easily extend your reach there.

Configuring Social Media Buttons

The config.json files give you the ability to add social sharing links to your portal so visitors can share pages to their social accounts.

The example below illustrates how to add your own social media links and icons to the site footer by using footer and links in the configuration. The same applies if you want to add social media links to your site’s header by using the header and links configuration.

The links list includes:

  1. Company website

  2. LinkedIn

  3. Facebook

  4. Twitter

  5. YouTube

  6. Reddit

"footer": {
        "links": [
            {
                "target": "_blank",
                "href": "https://www.MY_COMPANY_NAME.com/",
                "style": { flex: 1},
                "text": "www.MY_COMPANY_NAME.com"
            },
            {
                "className": "social-icons",
                "href": "https://www.linkedin.com/company/MY_COMPANY_NAME",
                "text": "i"
            },
            {
                "className": "social-icons",
                "href": "https://www.facebook.com/MY_COMPANY_NAME/",
                "text": "f"
            },
            {
                "className": "social-icons",
                "href": "https://twitter.com/MY_COMPANY_NAME",
                "text": "t"
            },
            {
                "className": "social-icons",
                "href": "https://www.youtube.com/channel/MY_COMPANY_NAME",
                "text": "y"
            }
        ]
    },
    "header":{
        "links": [
            //...same as above 
        ]
    } 

The configuration above results in share-links and icons such as:

Figure 1. Share Links
List of share links and icons