share()

A function to instantiate a PageSharer Object.


    {{ share().facebook }} // http://www.facebook.com/sharer.php?u=https%3A%2F%2Fwww.evance.it%2Fhelp%2Fthemes%2Fevml%2Ffunctions%2Fshare
    
    {{ share(page).twitter }} // https://twitter.com/share?text=share&url=https%3A%2F%2Fwww.evance.it%2Fhelp%2Fthemes%2Fevml%2Ffunctions%2Fshare&via=evanceit
    
    // the above line may also now be written as
    {{ page.share().twitter }} // https://twitter.com/share?text=share&url=https%3A%2F%2Fwww.evance.it%2Fhelp%2Fthemes%2Fevml%2Ffunctions%2Fshare&via=evanceit

Using the share() function without an argument will utilise the current page's URL and page title, but supplying an argument or using the share() method of a Page, Product or Category object is the preferred method. 

This in turn means that the PageSharer object can be instantiated for limited use from within an editable region in the CMS. See the PageSharer Object's page for further information about available share links. 

COVID-19 NOTICE – Business as Usual
Evance continues to provide all services and support throughout this difficult period. See our full statement here .