Community @ The Turning Gate

Support community for TTG plugins and products.

You are not logged in.

#1 2016-01-20 10:22:24

trav.d.hale
Member
Registered: 2015-04-28
Posts: 45

Social media Footers

Hi All,

Hoping you might be able to help, I want to add an onclick event tracker to the footer in wordpress theme I have on my site, and looked at modifying the footer.php in the wordpress theme but nothing changes, I think the footer is being built from the TTG themes since everything is linked but where would I find the TTG footer code to make modifications to this section?

What I mean by that is in the footer.php the code below is defined:

if ( function_exists('ttg_social_media') ) {
    if ( !(ttg_social_media( TTG_COMP, TTG_ROOT )) ) {
        $add_mode = false;
    }

Because of this ttg_social_media the section below never gets called, but where would i find the social media links in the ttg_social_media section?

Many thanks

Offline

#2 2016-01-20 10:56:26

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 12,900
Website

Re: Social media Footers

how about using phplugins to replace/amend what's in the footer?


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 1.1.1 test site, Pangolin test site

Offline

#3 2016-01-20 11:07:56

trav.d.hale
Member
Registered: 2015-04-28
Posts: 45

Re: Social media Footers

It's more that something must already exist in another file, so I just want to modify that (e.g. all the links stay the same, I just add the tracker), however I have no idea where the file is.

Offline

#4 2016-01-20 11:56:25

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 12,900
Website

Re: Social media Footers

like I said, I think you can use phplugins and replace the existing social media code with a modified version
http://ce4.theturninggate.net/docs/doku … cial_media


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Backlight 1.1.1 test site, Pangolin test site

Offline

#5 2016-01-21 06:55:59

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 668
Website

Re: Social media Footers

As Rod already hinted, ttg_social_media() is a function that can be added by the user using phplugins. This can be used to either add something to the social media section or replace it all together.


Daniel Leu | Photography   
DanielLeu.com

Just a user who loves to dive into techie stuff... and sometimes gets into trouble for that.

Offline

Board footer

Powered by FluxBB