10Horizons Plugins
Forum Replies Created
-
You could enclose the long content inside a div and give it a fix height, so users would only have to scroll down to read the content but the agree/disagree buttons will always be visible without scrolling.
You could do this by editing the specific terms popup that you know have long content:
Dashboard > Terms Popups > Edit
In the editor, instead of “Visual”, switch to “Text”, and enclose the whole content with a div, like so:
<div class="termscontentcontainer"> Your long content here. </div>
And then in your theme’s stylesheet, give it a fix height with overflow auto, like so:
.termscontentcontainer { display: block; width: 100%; height: 200px; /*change as you like*/ overflow: auto; }
Going forward, I think I will probably incorporate this in the plugin’s next update, to give the popup a cleaner look.
Thank you for your review, RoFa! And thank you for using the plugin.
If you’re using shortcode, you could just comment out line 118 to 120 in the file terms.php inside the plugin folder.
In more detail, go to the plugin folder (wp-content/plugins/wp-terms-popup) and open the file named terms.php.
Look for the following codes:
if(localStorage.getItem('<?php echo json_encode($ttermspopupagreed); ?>') != 'agreed'){ localStorage.setItem('<?php echo json_encode($ttermspopupagreed); ?>','agreed'); }
and replace it with:
/* if(localStorage.getItem('<?php echo json_encode($ttermspopupagreed); ?>') != 'agreed'){ localStorage.setItem('<?php echo json_encode($ttermspopupagreed); ?>','agreed'); }*/
That should do the trick. So anytime your user closes the tab or the browser and open it again, the popup will reappear.
But please remember, with this, the changes will be gone once you update the plugin. So you’d need to comment out the same line again. Or maybe I’ll include this feature in the plugin’s next update. Not a promise though.
Hello,
A little bit more info would help. Are you going to display the popup site-wide or only on particular pages? Also, are you using (or going to use) shortcode or the incorporated options on the post/page edit screen?
- This reply was modified 7 years, 1 month ago by 10Horizons Plugins.
The bug has been fixed.
The first time I was made aware of the bug about 4 weeks ago by a user here, I barely had time to look at the plugin because I was busy with clients’ projects which needed to be finished before Christmas. I finally got the time to fix the plugin between Christmas and new year, and the latest version (v1.1.3) which fixed the bug has just been released a while ago.
Thanks for rating the plugin though. I understand people are more likely to leave feedback when they’re not happy with something rather than when they’re happy with it. But that’s fine, I will improve where I should.
Have a nice day.
Hello, Steve. We talked via email before and the last time I heard from you was before Christmas where I advised you to use the plugin’s integrated options instead of shortcode. Just to let you know that the bug you mentioned above (which is relating to shortcode) has been fixed in the new release (v1.1.3). So now you can use either shortcode or the plugin’s integrated options.
Thank you.
Hi,
I believe we talked through email before and I didn’t hear back from you after a reply? But if you still need help feel free to send me an email.
Thank you.
Here’s an update. Version 1.1.3 has just been released and the bug has been fixed. Thank you.
Thanks for reporting the bug!
I will fix it in the next update that will hopefully happen very soon. Been busy but hopefully I could make time to update the plugin. Thanks again!
Hi, master412160.
That’s a nice idea, I might include such feature in the plugin’s next update. Just to make sure we are on the same page, you want different popups on different posts/pages and also popups on custom post types, correct?
Forum: Reviews
In reply to: [XML Sitemap Generator for Google] Better than that most popular seo packGood advice, thank you!