goldensw
Forum Replies Created
-
Forum: Plugins
In reply to: [Lightbox with PhotoSwipe] Slow first load with offloaded imagesThank you! Appreciate it. The plugin is really great. It’s the only issue I encountered.
Forum: Plugins
In reply to: [Lightbox with PhotoSwipe] Slow first load with offloaded imagesThanks for confirming! The 24-hour transient expiration makes sense.
In our case though, the main concern is what happens during that initial metadata retrieval with images that are no longer on the local server. As you confirmed, the plugin ends up calling
getimagesize()on remote URLs and the HTTP requests can add up.One thing I was wondering, since WordPress already stores image dimensions in
_wp_attachment_metadataat upload time, could that be used as a fallback when the file isn’t locally available? That way sites using cloud storage wouldn’t need the remote HTTP calls at all.Forum: Plugins
In reply to: [WP Popular Posts] Elementor widget HTML Markup settingsThank you Hector! Promise to donate, not only did you leave this plugin free you also support it. 🙂
Forum: Plugins
In reply to: [WP Popular Posts] Elementor widget HTML Markup settingsThanks for the detailed explanation about the filter! Very helpful!
I plan to have AJAX disabled globally in WPP settings because most of my popular posts lists are on cached pages where freshness isn’t critical. But I’d like to have the option enable AJAX on specific Elementor widgets where I need up-to-date data (for example, a “most read” list below article content where the page cache TTL is long).
Based on your example:
function customize_wpp_elementor_settings($shortcode_settings, $elementor_widget_id) {
if ( $elementor_widget_id === '57a079f' ) {
$shortcode_settings['ajaxify'] = 1;
}
return $shortcode_settings;
}
add_filter( 'wpp_elementor_widget_settings', 'customize_wpp_elementor_settings', 10, 2 );Two questions: 1. Does this look correct? 2. Is the
$elementor_widget_idthe same ID shown in the editor (like57a079f), or is it a different internal identifier?Forum: Plugins
In reply to: [LiteSpeed Cache] VPI behaviorSorry, wasn’t my intention to cause inconvenience…
Thank you for the fast reply! Appreciate the support!- This reply was modified 1 month, 1 week ago by goldensw.
Forum: Plugins
In reply to: [WP Popular Posts] WPP thumbnails with WP Offload Media Pro and ShortPixelThank you! Greatly appreciate the support and the plugin! 🙂
Forum: Plugins
In reply to: [WP Popular Posts] WPP thumbnails with WP Offload Media Pro and ShortPixelThanks for the quick reply! Greatly appreciate it! 🙂
Just to make sure I’ve got it right, the approach from that thread is:
- Register a custom image size via add_image_size() in my theme
- Use thumbnail_build=’predefined’ in my WPP shortcodes/blocks
- This way WPP uses get_the_post_thumbnail() instead of generating its own thumbnails, so the images go through the normal WordPress pipeline, ShortPixel optimizes them, Offload Media Pro serves them from cloud.
- WPP’s own thumbnail folder stays empty, no separate image set to manage.
Is that correct?
Also Two quick follow-ups:
- Is there a way to set “predefined” as the default globally, or does it need to be specified per shortcode/template tag?
- Can predefined be set through the Gutenberg block and the classic widget UI, or is it only available as a shortcode/template tag parameter?
- This reply was modified 1 month, 2 weeks ago by goldensw.