rpetersen29
Forum Replies Created
-
Pro version questions are not allowed on WordPress support pages. Please email me through the Email me link on my website https://rpetersen29.github.io/, and I’ll provide steps to resolve. Thanks.
If you link your site i can see if i can find which plugin may be responsible for your server side caching.
- This reply was modified 1 month, 3 weeks ago by rpetersen29.
Hi @meganb99,
Please clear your server side cache through whichever speed or optimization plugin you are using.
If you keep the settings you currently have and use the Insert Inside Element field with value
header .navigation
I think that may solve all of your issues. Let me know how that works out!Hi @eforests
Simple Banner switched to a new payment model on Feb 9th 2023, but still supported old payment model licenses until the 3.0.0 upgrade which was published on Aug 30th 2024. The new 3.0.0 update contains breaking changes, and in order to get pro features on versions after 3.0.0 you will need to switch to the new payment model. Your license will still work forever on v2.17.4. You can download that version and all previous versions here: https://www.ads-software.com/plugins/simple-banner/advanced/ or directly from this link https://downloads.www.ads-software.com/plugin/simple-banner.2.17.4.zip.
Hi @peakart
The simple banner javascript exists at/wp-content/plugins/simple-banner/simple-banner.js
Hi @inceweb
Simple Banner does not have a feature to support that easily. You would need to use the Geolocation API, https://developer.mozilla.org/en-US/docs/Web/API/Geolocation_API/Using_the_Geolocation_API#examples, and write some custom Javascript. This will give you lat/long information for the user. You could also instead use the timezone of the user to try to determine if a user is in the EU, https://stackoverflow.com/questions/63697348/how-do-i-know-whether-my-user-is-from-eu-countries.
Hi @jd139
It looks like the banner’s CSS is being bundled up by another plugin you have. It may be Elementor or WP Rocket, but you’re going to want to excludesimple-banner.css
from that bundling in order to make sure the banner shows correctly.Fixed this with @dljbrown through support email, but for anyone with the same issue this was fixed through multiple means:
– Banner position relative
– Media queries to change thepadding-top
of the#content
element at different breakpoints
– Custom cssheight: auto !important;
on header
–left: -97%;
on.simple-banner-button
text boxHi @paulpetch
You have the following CSS in your
global-styles-inline-css
style file. Looks like this may be a Gutenberg style script.@media (min-width: 801px) {
#simple-banner {
display: none;
}
}Hi @pkflgano
I’ll keep looking, as realistically the best way to do this would be to insert the element within your mobile banner. In the meantime, you could use some Custom CSS, something like this isn’t perfect but might work for now:
@media (max-width: 1050px) {
.simple-banner {
position: relative;
top: 116px;
margin-bottom: 116px;
}
}Can you try entering the emoji as utf-8 html? Reference: https://www.w3schools.com/charsets/ref_emoji_transport.asp. let me know how that works.
Since this feature uses cookies there’s no way to make it a permanent dismissal. But the maximum age for a cookie is 400 days so you could put 400 in that field.
Hi @randrear
Yes, set the Close Button Expiration field with whatever value you need. This can be a set date, or amount of time after clicking close. By default, if that is not set, the banner shows up again on the next page load. Let me know if you need any additional help with that!Ah yeah good catch. I have two bits of logic in there for start and end date, i think i sent you the start date one. So the start date would still be the logic above, and end date would be
<!DOCTYPE html>
<html>
<body>
<?php
$curr_date = new DateTime('now', new DateTimeZone('UTC'));
$end_date = new DateTime('24 Oct 2024 12:46:00');
// Compare the dates
if ($curr_date > $end_date) {
echo 'Shown';
} else {
echo 'Not shown';
}
?>
</body>
</html>For reference. at 10:05 EST i outputted $curr_date and it returned
2024-10-25 14:05:41