Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
Pages: 1
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
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 2/3 test site
Offline
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
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 2/3 test site
Offline
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
My digital playground (eg, Backlight tips&tricks): lab.DanielLeu.com
Offline
Pages: 1