Custom Code No Longer Working
-
Hi there,
I’m having some problems with a recent update.
Our company website used to have a floating blue button with a picture of an envelope on it – this was done with some custom code that I’ll include below. When clicked, it would load the Popup Anything shortcode.
The button did disappear at first, but I’ve managed to get it to show up again. The problem that I’m facing now is when clicking the button, it no longer loads the Popup Anything.
The code came from a developer from 3+ years ago. I found where it’s placed, but have had troubles fixing it (even with ChatGPT).
When placing the shortcode on a random test page, it works and loads the popup without any issues.Here is the code that should be loading the button:
<a class="paoc-popup popupaoc-link" href='javascript:0;' data-target="popuppaoc-modal-6602" data-conf='{"content":{ "target" : "#paoc-modal-1", "effect": "fadein", "positionX": "center", "positionY": "center", "fullscreen": false, "speedIn": 300, "speedOut": 300, "delay": 150, "width": "75%" },"loader":{"active": true},"overlay":{"active": true}}'><img src="/wp-content/uploads/2020/02/Envelope1.png" id="fixedbutton"></a>
Some help figuring out the problem would be really great as I’m drawing a blank and my boss has already asked me to find another popup / floating button plugin that can work for the entire website – but I like how this plugin works so far and I really don’t want to replace it if I don’t need to.
I have a Staging site setup currently that can show the example:
https://jpleasestaging.wpengine.com/
User: jpleasestaging
Password: 9b445a08Thanks!
ClintThe page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.