Adding #spu-1234 href link to functions.php
-
Hi,
I have a series of if statements for product variations within my functions.php.
If someone selects a particular product variation a text link display (all achieved within functions.php).
What I need is to add a popup link to that text link that works. My problem is that when I click the text link, nothing pops up.
I tried adding the same #spu-1234 link to the body of my wordpress page content and the popup works perfectly. When I hover over both instances of the text link, they display the exact same web address in the status bar.
e.g. https://www.xxx.com/xxx/#spu-1234
One is using JQuery and one isn’t I imagine. Is there a way to get the text link to launch the popup from the href link within the functions.php code?
Kind Regards
The topic ‘Adding #spu-1234 href link to functions.php’ is closed to new replies.