mark l chaves
Forum Replies Created
-
Hello @multidimentional,
Thanks for the update. OK. We’ll leave it here as you request π
For anyone else reading this post, please read our sticky post on this forum to get a faster and more accurate response.
And, we’ve got excellent documentation with examples, videos, screen captures, and step-by-step instructions (complete with troubleshooting sections) for setting up popups that open other popups:
Launch a Popup from a Popup or When a Popup Closes https://docs.wppopupmaker.com/article/554-launch-a-popup-from-a-popup-or-when-a-popup-closes
Make a Slide Show Using Back-to-Back Popups https://docs.wppopupmaker.com/article/553-make-a-slide-show-using-back-to-back-popups
Hey @multidimentional,
That’s because you disabled the close button on your first popup (1545).
That means you’ll need to write custom JavaScript to launch your second popup (1980) when the first one closes.
Here’s an example.
jQuery(document).ready(function ($) { $( '#pum-1545' ).on('pumAfterClose', function () { PUM.open(1980); }); }); // jQueryYou’ll also need to add this custom CSS since you’re launching back-to-back popups.
.pum-overlay.pum-active, .pum-overlay.pum-active .popmake.active { display: block !important; }Here’s the result after running the JS and CSS in the browser on your site.
https://share.wppopupmaker.com/7KuqY6x0
If you need help adding custom JavaScript and CSS, please check out our excellent how-to guides here.
https://docs.wppopupmaker.com/article/84-getting-started-with-custom-js
https://docs.wppopupmaker.com/article/287-getting-started-with-custom-css
Let us know if you need anything else.
Have a great day π
Hey @sabrinazeidan,
We’re going to mark this thread as resolved since we haven’t heard back from you.
Please feel free to start a new thread or submit a help request π
https://wppopupmaker.com/support/
Have a great day!
Forum: Fixing WordPress
In reply to: How to remove featured image from post bodyHey @kumar314,
Or, maybe a CSS 1-liner? CSS won’t “physically” delete that duplicate image from your content, but CSS can stop it from displaying.
Here’s an example that worked on your posts using Chrome dev tools.
article.post p:nth-child(2) > img { display: none; }You can add that CSS underΒ AppearanceΒ >Β CustomizeΒ >Β Additional CSS. Always clear your caches before retesting π
Cheers!
- This reply was modified 4 years, 3 months ago by mark l chaves. Reason: Clarification
Hey @mrpurplestreak,
You’re very welcome. We’re glad that it’s working now.
Have a great weekend π
Hey @joozef,
Sorry for the delay.
WordPress admin pages generate a lot of 404s since the references to images all point to the default β¦/wp-content/β¦
Just to be sure, can you tell us which images are throwing 404s? Maybe you can give us one or two of the image paths?
A screen capture would be helpful too.
Thanks so much π
Hey @annaryker,
Thanks so much for the follow-up.
You mean you’re overriding the default message using the Restriction editor settings. Gotcha. Sorry I didn’t catch that before.
I was able to reproduce that a couple of times. That looks like its intended behavior, but it’s not consistent with the default message editor. Sorry for that inconvenience.
We’ll take a closer look at a workaround.
Can you please open up a ticket via our contact form?
https://code-atlantic.com/contact-us/
That way we can get this issue logged in our system and get back to you with a workaround if possible.
Cheers!
Hey @annaryker,
Thanks for posting.
We haven’t seen that behavior reported. We’ve helped other customers style their custom messages without any problems.
Here’s an example of what I’ve got running on my test site.
https://share.wppopupmaker.com/rRuNZ4qj
Maybe it is a plugin conflict? If you need instructions on how to troubleshoot that, you can follow this guide.
https://gist.github.com/marklchaves/90f5af8d0ea08d6e54254f2afb1109df
Let us know how that goes.
Cheers!
- This reply was modified 4 years, 3 months ago by mark l chaves. Reason: Typo
Hey @multidimentional,
Thanks for asking.
I added css class from first popup which is .pum-close to the cookie of the second popup
That doesn’t sound right. Here’s the general idea:
Popup 1: We need to find the CSS selector for the first popup’s close button. That says, “Hey popup 2, here’s how you’ll know when someone closes me.”
Popup 2: Then, we need to add that CSS selector to the trigger settings for the second popup. That says, “Hey popup 1, when you close I’m going to open.”
Once that’s done, when anyone clicks on the first popup’s close button, the first popup will close and trigger the second popup to open.
We’ve got a great step-by-step guide to help you.
Can you let us know how that goes?
Have a great day π
Hey @sabrinazeidan,
Have you checked if your LazyLoad is working? Here’s a step-by-step guide for that if you need it.
https://docs.wp-rocket.me/article/1141-using-lazyload-in-wp-rocket#is-it-working
Below is a screencast of how we tested Autoptimize’s image lazying loading in a popup.
https://share.wppopupmaker.com/E0uo1YRL
You’ll see it’s working perfectly.
If you find out that LazyLoad is not working for you, we think the good folks at WP Rocket should have a look at your specific case.
BTW, WP Rocket has a guide to manually apply LazyLoad. But, that link only redirects back to the guide we linked above.
https://docs.wp-rocket.me/article/130-manually-apply-lazyload-to-an-image
You might want to ask them if they still have that process if you need it.
Please let us know how that goes.
Thanks π
Hey @shararm,
Thanks for posting.
Since we don’t have access to your /wp-admin/ area, we can’t see the issue π
In the meantime, here are some things you can do:
– Share a screen capture of what you’re seeing.
– Check for JavaScript errors in the console.
– Deactivate all plugins except Content Control and switch to a default theme like Twenty Twenty-One to rule out a plugin conflict.If you’d like, you can open a ticket with us via our contact form.
https://code-atlantic.com/contact-us/
That way we can get your details using a more private channel.
Cheers π
Hey @mrpurplestreak,
Thanks so much for your feedback.
Have you tried using the Is Pages: Ancestor Of condition? Here’s what that looks like in the UI.
https://share.wppopupmaker.com/d5uN7eoJ
The Ancestor Of condition should restrict any child and grandchildren (descendants) pages.
If we use the restriction on our Sample Page, we should get this.
– Sample Page (ancestor)
— Child of Sample Page (restricted)
—- Grandchild of Sample Page (restricted)Note: If you want the Sample Page restricted too, add an OR Is A Selected Page condition for it.
We hope we got your question right. Please let us know.
If you need us to take a look at your setup, please reach out to us via our contact form.
https://code-atlantic.com/contact-us/
Cheers!
- This reply was modified 4 years, 3 months ago by mark l chaves. Reason: List formatting
- This reply was modified 4 years, 3 months ago by mark l chaves.
- This reply was modified 4 years, 3 months ago by mark l chaves. Reason: Typo
Hey @judah75,
On second thought. You might not need our ATC extension.
What is the most efficient way to do this? Do I create a separate Trigger for each popup and then add all 11 to each popup as 11 Cookies?
You should be able to let all 11 popups create a cookie with the same name after form submission.
If you use the same cookie name for each popup, then each popup trigger can also check for that same cookie. Does that make sense?
Example:
– Popup 1 creates cookie “menu-popup” after form submission and checks for cookie “menu-popup” before opening.
– Popup 2 creates cookie “menu-popup” after form submission and checks for cookie “menu-popup” before opening.
…
– Popup 11 creates cookie “menu-popup” after form submission and checks for cookie “menu-popup” before opening.Then when any of the 11 open and their form gets submitted, none (1-11) will open again until the “menu-popup” cookie expires or gets deleted.
Apologies that we spoke too soon about needing our Advanced Targeting Conditions (ATC) extension. That’ll work too, of course, and might be a fallback if what I just recommended doesn’t work for some reason.
Give that a try and let us know how that goes π
Cheers!