mark l chaves
Forum Replies Created
-
Hey @opvab,
It looks like I can get your popups to work. Can you let me know if this is what you expect?
https://share.wppopupmaker.com/wbuvNLB8
If so, please try this CSS override.
https://docs.wppopupmaker.com/article/544-your-popup-is-not-displaying-on-your-homepage#conflict
Let us know how that goes.
Have a great weekend ??
Hey @subnoodle, thanks so much for your feedback. We’ll look at ways to make this setting more obvious.
In the meantime, always try doing a search.
When I Google
popup maker google fonts
, I get these top 3 hits.
1. Avoid loading Google Fonts – www.ads-software.com https://www.ads-software.com/support/topic/avoid-loading-google-fonts/
2. Settings Page – Popup Maker Documentation https://docs.wppopupmaker.com/article/493-popup-maker-admin-settings-submenu
3. How to remove Google Import font · Issue #636 – GitHub https://github.com/PopupMaker/Popup-Maker/issues/636
All 3 hits give the correct answer for disabling Google Fonts in Popup Maker.
Also, when you go to the Popup Maker docs page and search on
google fonts
, the first hit is the Settings Page which covers the Google Fonts setting.
https://docs.wppopupmaker.com/search?collectionId=559c73b9e4b03e788eda169d&query=google+fonts
Cheers!
Hey @thekendog,
Are you sure it’s a js-cookie conflict?
On my site, I enqueue a CDN version of js-cookie and run Popup Maker at the same time. I’ve done this for over a year with no issues. I’m running Popup Maker 1.16.10.
See if you have other plugins like Woo that load js-cookie. Use something like the Query Monitor plugin to tell you how many times you’ve got js-cookie loaded, what handle it has, and which plugin is loading it.
As a last resort and if you’re sure it’s a js-cookie conflict, try overriding the existing version of js-cookie with yours by deregistering js-cookie first.
E.g.,
// Let's remove the existing js-cookie library. wp_dequeue_script('js-cookie'); // Make sure you use the correct handle. wp_deregister_script('js-cookie'); // Make sure you use the correct handle. // And, we'll replace it with our own ;-) wp_register_script( 'js-cookie-3-0-1', 'https://cdn.jsdelivr.net/npm/[email protected]/dist/js.cookie.min.js', array(), '3.0.1', false ); wp_enqueue_script('js-cookie-3-0-1');
Hey @dadadmin,
I think the original thread above was about closing the popup after the form redirects.
It sounds like you want to set a cookie for the popup after your form submission does a redirect. Is that right?
If so, you can try using custom code to force setting a cookie since form redirects bypass Popup Maker’s cookie settings.
Here’s a quick example that’s not perfect, but it should get the job done. Feel free to use and improve upon it. Make sure you follow the comments and instructions in the code snippet.
https://gist.github.com/marklchaves/71468bf17e00befa6057a95ab3fc0840
If you get stuck anywhere, please post a new forum thread since this one is already closed.
Thanks!
- This reply was modified 2 years, 5 months ago by mark l chaves. Reason: Clarification
Forum: Fixing WordPress
In reply to: Shortcode for displaying the user’s first name?Hi @silumant,
You can try a custom shortcode. Here’s an example.
add_shortcode( 'my_first_name', function ( $atts ) { $current_user = wp_get_current_user(); if ( ! ( $current_user instanceof WP_User ) ) return; $atts = array_change_key_case( (array) $atts, CASE_LOWER ); extract( shortcode_atts( array( 'display_tag' => 'h2', ), $atts ) ); $o = '<div class="wporg-box">'; $t = $display_tag ? $display_tag : 'h2'; // Just in case. $o .= '<' . $t . '>' . esc_html__( $current_user->user_firstname ) . '</' . $t . '>'; $o .= '</div>'; return $o; } );
Add this to your child theme’s functions.php file or use a code snippets plugin.
Usage:
[my_first_name]
,[my_first_name display_tag="h1"]
Hope that helps ??
Hey @howdy_mcgee,
Thanks so much for the excellent feedback on that beginner’s guide. That was super helpful.
I updated the guide to be more clear that the code sample will blindly create any Manual cookie you set up for your popup.
So, to selectively (or conditionally) create cookies, you can use a Popup Maker API to create a cookie with whatever name you want.
That’s all in the guide too with a link to a supporting code example.
https://docs.wppopupmaker.com/article/555-a-beginners-guide-to-manually-creating-cookies
Just adding my 2 cents in case anyone else wants to do the same thing as you.
Cheers ??
- This reply was modified 2 years, 6 months ago by mark l chaves. Reason: Clarification
Hey @alicegrt33,
Actually, there’s a link on how to add CSS to your site in that Troubleshooting guide that @belimperial gave you.
Here’s that link in case you missed it.
https://docs.wppopupmaker.com/article/287-getting-started-with-custom-css
If you need hands-on help or you want to email us the link to your page or post screen captures, please go to our support page and click Other Support at the bottom of the page to submit a help request.
To save time, make sure you put the link to your page and instructions on how to launch your popups. We can try to follow your instructions and check out what’s going on.
https://wppopupmaker.com/support/
Cheers!
Hey @aba212,
I’m pretty sure that’s a known issue.
Can you see if this thread helps?
https://www.ads-software.com/support/topic/scrolling-on-mobile-6/
Also, see suggestions from the plugin author here.
https://github.com/PopupMaker/Popup-Maker/issues/977
Cheers!
Hey @eddierosenthal,
We’re not seeing that on our test site. We have a simple site where only logged-in people can see posts and pages.
Everyone (logged in and not logged in) people can see the homepage and a custom login page we set up for a test.
The admin naturally has access to all restricted pages and non-restricted pages.
Here is a screen capture of our settings.
General: https://share.wppopupmaker.com/6quzdYen
Protection: https://share.wppopupmaker.com/E0uyDjZ7
Content: https://share.wppopupmaker.com/NQul2YjK
If you’re still seeing the issue, can you submit a ticket via our contact form?
https://code-atlantic.com/contact/
That way we can get more details from you and take a closer look.
Cheers!
Hey @angelfire4xx,
It looks like bbPress isn’t respecting (or going around) the standard WordPress content filter. Content Control only supports standard WordPress content rendering (namely the_content filter).
If you haven’t yet, can you change your restriction’s Protection setting to Redirect? Here’s what that setting looks like.
https://share.wppopupmaker.com/L1uWxd4g
Let us know how that goes.
Cheers!
Forum: Plugins
In reply to: [User Menus - Nav Menu Visibility] PHP Deprecated debug logHey @spy2,
Thanks for posting.
Can you submit a ticket via our contact form?
https://code-atlantic.com/contact/
That way we can get more details from you and take a closer look.
Cheers!
Hey @nathanrasdall,
Thanks for posting.
Content Control is great for restricting standard WordPress content based on logged-in user roles.
It doesn’t restrict or control content based on passwords. Sorry about that.
We hope you find something that does that for you.
Have a great day ??
Forum: Plugins
In reply to: [User Menus - Nav Menu Visibility] logout user and cutstomerHey @xxuuzz,
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://code-atlantic.com/contact/
Have a great day!
Hey @mateostrasdas,
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://code-atlantic.com/contact/
Have a great day!
Hey @eddierosenthal,
Understood. Thanks for letting us know ??