Rocco Marco Guglielmi
Forum Replies Created
-
Forum: Plugins
In reply to: [Media Library Assistant] Default CategoryThanks David. Appreciated
Just as additional note, the same is happening with Genericons
Hi,
Thanks for your reply.boxbriganti.com
one of the spot is the nav menu button in media query (mobile view)At the moment that css is excluded, let me know if you need something else.
Hi, I have the plugin 6.0.5 but the lazy load still breaks my website.
In particular it breaks my figure caption. Without the lazyload the code looks like
<figure id="attachment_6898" aria-describedby="caption-attachment-6898" style="width: 500px" class="wp-caption aligncenter"><a href="https://i2.wp.com/www.playembedded.org/blog/wp-content/uploads/2020/05/Creating-a-workspace.png?ssl=1" data-slb-active="1" data-slb-asset="992281328" data-slb-internal="0" data-slb-group="6896"><img loading="lazy" class="wp-image-6898" src="https://i2.wp.com/www.playembedded.org/blog/wp-content/uploads/2020/05/Creating-a-workspace.png?resize=500%2C226&ssl=1" alt="Creating the first workspace" width="500" height="226" srcset="https://i2.wp.com/www.playembedded.org/blog/wp-content/uploads/2020/05/Creating-a-workspace.png?w=618&ssl=1 618w, https://i2.wp.com/www.playembedded.org/blog/wp-content/uploads/2020/05/Creating-a-workspace.png?resize=300%2C135&ssl=1 300w, https://i2.wp.com/www.playembedded.org/blog/wp-content/uploads/2020/05/Creating-a-workspace.png?resize=150%2C68&ssl=1 150w" sizes="(max-width: 500px) 100vw, 500px" data-recalc-dims="1"></a><figcaption id="caption-attachment-6898" class="wp-caption-text">Creating the first workspace</figcaption></figure>With the lazy load
<figure id="attachment_6898" aria-describedby="caption-attachment-6898" style="width: 500px" class="wp-caption aligncenter"><a href="https://www.playembedded.org/blog/wp-content/uploads/2020/05/Creating-a-workspace.png" data-slb-active="1" data-slb-asset="858202475" data-slb-internal="0" data-slb-group="6896"><img class="wp-image-6898 ls-is-cached lazyloaded" src="https://www.playembedded.org/blog/wp-content/uploads/2020/05/Creating-a-workspace.png" data-src="https://www.playembedded.org/blog/wp-content/uploads/2020/05/Creating-a-workspace.png" alt="Creating the first workspace" width="500" height="226" data-srcset="https://i2.wp.com/www.playembedded.org/blog/wp-content/uploads/2020/05/Creating-a-workspace.png?w=618&ssl=1 618w, https://i2.wp.com/www.playembedded.org/blog/wp-content/uploads/2020/05/Creating-a-workspace.png?resize=300%2C135&ssl=1 300w, https://i2.wp.com/www.playembedded.org/blog/wp-content/uploads/2020/05/Creating-a-workspace.png?resize=150%2C68&ssl=1 150w" sizes="(max-width: 500px) 100vw, 500px" srcset="https://i2.wp.com/www.playembedded.org/blog/wp-content/uploads/2020/05/Creating-a-workspace.png?w=618&ssl=1 618w, https://i2.wp.com/www.playembedded.org/blog/wp-content/uploads/2020/05/Creating-a-workspace.png?resize=300%2C135&ssl=1 300w, https://i2.wp.com/www.playembedded.org/blog/wp-content/uploads/2020/05/Creating-a-workspace.png?resize=150%2C68&ssl=1 150w"><figcaption id="caption-attachment-6898" class="wp-caption-text"><noscript><img class="wp-image-6898 lazyload" src="https://i2.wp.com/www.playembedded.org/blog/wp-content/uploads/2020/05/Creating-a-workspace.png?resize=500%2C226&ssl=1" alt="Creating the first workspace" width="500" height="226" srcset="https://i2.wp.com/www.playembedded.org/blog/wp-content/uploads/2020/05/Creating-a-workspace.png?w=618&ssl=1 618w, https://i2.wp.com/www.playembedded.org/blog/wp-content/uploads/2020/05/Creating-a-workspace.png?resize=300%2C135&ssl=1 300w, https://i2.wp.com/www.playembedded.org/blog/wp-content/uploads/2020/05/Creating-a-workspace.png?resize=150%2C68&ssl=1 150w" sizes="(max-width: 500px) 100vw, 500px" data-recalc-dims="1"></noscript></figcaption></a> Creating the first workspace</figure>Apparently the lazy load breaks the order of the tags and the figcaption got messed
- This reply was modified 4 years, 6 months ago by Rocco Marco Guglielmi.
Forum: Plugins
In reply to: [Media Library Assistant] Wrong link generated from mla shortcodesActually relooking into the issue I think I am using a custom shortcode. I need to do some investigation before and check if the issue lays in my code on in the plugin.
Sorry for that
Experiencing the same issue
Forum: Plugins
In reply to: [Media Library Assistant] Title and icon in the mla_galleryThank for your answer David,
I did that but the caption is outside the link then.As I was looking for something really custom I ended writing my own shortcode function.
Thanks and keep the good thing up.
Forum: Plugins
In reply to: [WP-PostViews] Bug in 1.76Thank you
Forum: Plugins
In reply to: [WP-PostViews] Bug in 1.76A bug fix
Well you should update your documentation (Developer Docs & Tutorials) because there is written something else
Angelo your code is just a workaround as is mine. The problem is that the global scope variable is not correctly populated as it should be in single event context.
I thought I have been already clear.
is single, post type event.
Developing theme. In single event context I use the global object to get data from the event.
See neapolisinnovation.info and navigate events. Even the calendar widget depends on it
This is above all happening with 5.8.1.1
With 5.8 it seems like it occurs with every category. Once an event is broke it newer works again (or at least I am not able to detect the breaking condition nor the fix one).
About the workaround I have fixed it adding ‘scope’ => ‘all’ to my query arg. I can do additional test if you have any suggestion. Right now I am not able to detect root cause since I don’t know how EM works internally and I have no time to investigate deeper.
Maybe the problem is a conditional branch in the hook which populates the global $EM_Event