WordPress Business Themes › Forums › Version 7 Themes › CouponPress › Removing Website Link on Coupon Code
I’m using the latest version of CouponPress and using the “click to reveal” feature.
I would like to disable the automatic website redirection, when the user click on the coupon code, so that when the user click on it, the system will just reveal the code, instead of opening a new window with the website.
Where do I find the code to edit?
Thank you very much indeed
the coupon code is in the file;
Can you please tell me which part of the code should I change?
I tried editing it but I am getting errors, as I am not very good with php.
Thank you for your fast reply!
anyone knows how could I solve this? Thanks
the code option is JS, it would require to remove the JS and simply display the code.
remove the code starting at line: 343 -354
$STRING .= “
Hi, I did that but it is still redirecting to the website.
I tried both, using /* */ at the beginning and at the end of the code and deleting it.
Also cleaned the cache of the browser but the link is still appearing.
what could the problem be?
Maybe that’s because I am modifying a child theme, but I only see that file in the main theme and not in the child theme…
i couldnt say without seeing your setup, try disabling your child theme or switching to the normal one and seeing if this works instead.
Did that, but still not working. I also noticed that switching to another theme, keeps showing several modifies I have done to css and design.
I wonder if I have edited the wrong files.
our test website is here: http://dceweb.net/uday
ok try this
you need to change it to
[code title=””]$STRING .= ‘
bascially just removing;
That’s working perfectly, thank you very much indeed!
Submit your feature requests to our ideas board and it could be included in a future theme update.
or contact our support team