mark l chaves
Forum Replies Created
-
Hey @ninjateamwp,
Actually, I clicked on “Uncategorized” in the FileBird Folder field first (a few times). Nothing happened. That’s when I read that label to click on “the button” which I couldn’t find lol. Hence, my support thread.
BTW, I checked the browser console at the time and didn’t see any errors.
I just logged back in to try again. But now, that FileBird Folder field is completely gone. Oh well.
Thanks anyway!
Hey @expansion8933 ,
You can now choose to display the title or completely hide it in archives.
This guide shows you where to find those new settings.
Read about the hide setting in this section.
Give us a yell back if you have any questions ??
Hey @lfmizukawa ,
This will be fixed in version 2.0 coming soon!
https://github.com/code-atlantic/content-control/issues/59
In the meantime, look at the workaround in the posted issue above or checkout a video demonstrating the workaround.
https://share.wppopupmaker.com/4guXX1xg
Cheers! ??
Forum: Fixing WordPress
In reply to: Shortcode for displaying the user’s first name?Hello @silumant and @mugatea ,
The answer to your questions is a CSS exercise. I’d need to see your pages to tell you the exact CSS you’d need.
If you want to try yourself, here are 2 changes that might work:
display_tag="span"
- Add the following CSS in your Appearance?>?Customize?>?Additional CSS.
.wporg-box { display: inline !important; }
You can also replace
wporg-box
with any other class you want and even add a custom CSS class to your display tag in the code.Example:
$o = '<div class="my-cool-css-class">';
$o .= '<' . $t . ' class="my-other-cool-css-class">' . esc_html__( $current_user->user_firstname ) . ''
The beauty (and ugliness) of CSS is there are (too) many ways you can style your content. The good news is there are tons of docs on CSS (and of course AI chatbots) ??
Good luck.
Forum: Plugins
In reply to: [GenerateBlocks] Post Template sizing ignored with query loop blockHey everybody,
We asked @joneiseman to use the recommended workaround below.
Adding content sources for dynamic CSS generation
Quoting directly from the doc.
“In some cases, you may be adding blocks to other areas not within your content area. In these cases, you need to tell GenerateBlocks about the existence of these other areas, so it know to scan them.”
I.e., that applies to popups, modals, slide-ins, or anything outside the “normal” content area.
Your filter works beautifully for us, e.g., https://gist.github.com/marklchaves/891586c49231889f86601f366d8c136c
@joneiseman also confirmed it works. Thanks again @joneiseman for that.
Unless I’m missing something, it’d be awesome if Tom’s reply be highlighted as the accepted fix for GenerateBlocks styling missing in Popup Maker popups.
https://generatepress.com/forums/topic/gpgbpopup-maker-issue/#post-2088153
Apologies, I don’t have access to reply to that thread or the OP on the .org Popup Maker forum.
Keep up the great work
- This reply was modified 1 year, 12 months ago by mark l chaves. Reason: Removed auto generated tag at the end of the post
Forum: Plugins
In reply to: [Gallery Image Captions (GIC)] GIC clashes with other pluginHi @lukenc ,
I installed Events Manager and saw that my custom captions totally disappeared. Only the default image captions showed up.
I found code in Events Manager that takes over the WordPress gallery shortcode to “check for recurring events.” That’s what their source code comment says. I’m not sure why they’d need to override the gallery shortcode to do that.
GIC overrides the gallery shortcode so we can use a filter to customize gallery captions (a long overdue feature request).
Anyway, the Events Manager version wins because they use a hook with a super low priority (1000).
If you want GIC to win the override, you can add this hook to your child theme’s functions.php or use a code snippets plugin.
// Force GIC to override Event Manager's override for the gallery shortcode. function mlc_wp_gallery_override_init() { remove_shortcode('gallery'); add_shortcode('gallery', 'galimgcaps_gallery_shortcode'); } add_action('init','mlc_wp_gallery_override_init', 1001);
Obviously, change mlc_wp_gallery_override_init to your function name.
You’ll need to check your Events Manager content for side effects.
Thanks!
Forum: Plugins
In reply to: [Gallery Image Captions (GIC)] GIC clashes with other pluginHi @lukenc ,
Thanks for the heads up. I’ll need more details to be able to help.
If Events Manager is free, I’ll install it on a test site with GIC running to see what you mean by “not working”.
Cheers!
Hey @theonebeautyla,
Your page passes the Chrome Dev Tools Lighthouse audit too.
https://share.wppopupmaker.com/mXubl1BN
Your popup will have aria-hidden=”false” when the popup is hidden (as it should). You can inspect the popup source on your page after you close the popup to see that.
Inspect the popup source again once you open the popup and you’ll see it’ll be set to “true”. Which is what we want.
Great job on the site ????
Shout if you have any more questions.
Hey @festanca ,
I see a couple of problems:
- There’s a picture-in-picture violation in the console. Please remove the “picture-in-picture;” parameter from your video embed code to fix that.
- For the video not displaying, I wonder if lazy loading is blocking your video from showing. Because I see something forcing the video to have 0 width and 0 height. Generally, lazy loading videos doesn’t work well in a popup. Try turning off lazy loading for that popup or that page.
If you still can’t see the video after turning off lazy loading, you can try custom code to force the video to display. Here’s some code I added to a local test copy of your page.
jQuery(document).ready(function ($) { $('#pum-2886') .on('pumAfterOpen', () => { $("iframe").css({ "width": "100%", "height": "100%" }); console.log("Should have set the iframe's width and height by now."); }); }); // jQuery
You can see how my code forces the video to display when the popup opens.
https://share.wppopupmaker.com/P8uNAmNJ
Here are instructions for adding custom JavaScript to your WordPress site.
https://docs.wppopupmaker.com/article/84-getting-started-with-custom-js
Only try the custom code that as a last resort.
If you’re tired of mucking around with all that, you might want to check out the Popup Maker Videos extension. It should get you up and running in a couple of clicks. And, you won’t need to write custom code to stop/pause your video after someone closes the popup. You’ll probably notice that happen if you get the video to display.
Cheers!
- This reply was modified 2 years, 1 month ago by mark l chaves. Reason: Copy/paste error in the code block
Hey @kawindsor ,
Any time!
I’m closing this thread. Feel free to reach out again when you need to ??
Have a great weekend ??
Hey @kawindsor ,
Awesome. Thanks so much for letting us know.
We can see your popup in Safari. You might need to clear your Safari cache or open a private Safari browser window.
Here’s your popup displaying for us on Safari.
https://share.wppopupmaker.com/nOu11jO6
Here’s more info on clearing your browser cache.
BTW, we have a step for clearing out your caches and a link to that guide above in our help article for future reference.
Let us know if you can see your popup on Safari after clearing your caches.
Cheers!
Hey @kawindsor ,
Thanks for sharing a link to your site and telling us how to reproduce that problem.
I just want to confirm. When I add that CSS override fix from @kimmyx to my browser dev tools while I’m on your homepage, it fixes the problem.
Here’s a quick screencast of your popup working after I added the CSS fix.
https://share.wppopupmaker.com/P8uNNzPr
Here’s the full help guide again if you need it.
https://docs.wppopupmaker.com/article/544-your-popup-is-not-displaying-on-your-homepage
If you need instructions for adding custom CSS to your site, check out this article.
https://docs.wppopupmaker.com/article/287-getting-started-with-custom-css
Ping us back here if you get stuck anywhere.
Cheers!
Hey @breathestudio,
I just wanted to chime in in case you’re still interested or if anyone else lands on this thread.
Can you tell us what kind of content you have in your 50 popups?
In the meantime, Popup Maker itself is lightweight. But, if you’re loading lots of text, images, and even videos in each of your 50 popups, that would slow down your page load. That’s because all that content needs to be loaded at the same time your page loads.
If you don’t need all 50 popups on 1 page, you can use targeting rules. But, if you need all 50 on 1 page you can either:
- Optimize each popup (get rid of bloat) so they load faster.
- Optimize the page so it only shows maybe 8-10 portfolio items/popups at a time (pagination).
- Try the Remote Content (RC) extension which loads popup content only when it’s displayed. Sort of like a “lazy load” for popups.
You can learn more about page and popup performance in this thread.
Thanks!
- This reply was modified 2 years, 2 months ago by mark l chaves. Reason: Clarification
Forum: Fixing WordPress
In reply to: Appearance>Menus Disappear When UpdatingHey @truebird,
I’d like to reproduce the problem you’re seeing. But, it looks like Flatsome is a premium theme.
Are you seeing the issue on a free theme that I can test with?
Thanks!