Pass Variables to Logo AHREF Tag

Posted in: Newspaper
Post count: 4

Hi,

The Newspaper theme is awesome! I have been trying to figure out how to pass a set of UTM variables and parameters through the logo ahref tag. I have been successful identifying where links appear in the themes output and able to figure out how to get these UTM variables attached to those URLs, but I have been stumped at how to accomplish this with the logo ahref.

Any help would be appreciated.

Thanks in advance.

-Jorge

Post count: 20688

Hi,

Thank you for your appreciation. Regarding the question, so you want to add some parameters to the link containing the logo? Check in these two files each with two links for the logo
https://www.screencast.com/t/l3jaueqcRW
https://www.screencast.com/t/LR0k0zxuVkXi
Those would be the links containing the logo.

Thanks

Post count: 4

Hi,

That worked perfectly! Thank you.

Just in case anyone else finds themselves in this same situation, needing to pass variables throughout their site, without session variables, here are the files that I updated, per the directions that were provided above:

logo.php ( …/parts/header/ )
logo-h1.php ( …/parts/header/ )

I noticed, as I changed the header selection in the theme panel and also transitioning to a mobile screen size, the variables were not passing, so I update these as well, which solved that problem for me:

logo-mobile.php ( …/parts/header/ )
logo-mobile-h1.php ( …/parts/header/ )
logo.php ( …/mobile/parts/ )

At your earliest convenience, plus to help anyone else reading this in the future, can you please verify that the above ( 3 ) files being updated would satisfy any other possible header or mobile theme combinations.

Thank again for your help.

-Jorge

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.