devonator
Forum Replies Created
-
Thank you very much for the support. This resolved my issue.
@pulak00 This is embarrassing, but it was working, just the text was all white, so we couldn’t see it.
There is a JS error still though, but the plugin is working
@pulak00 Hello. We have already turned those settings off before to see if the plugin would start working, and it had not helped. Currently all JS optimizations are removed and the plugin is still not working on the page.
Also, we have many different GMB accounts tied to the same email/google account.
This issue has happened to everyone who tried to connect the GMB.
The browsers and OS used were the following:
Safari and Chrome on Mac OS
Chrome and Firefox on Windows
Chrome and Firefox on Ubuntu 22.04
Koen, that worked! Thank you very much. I appreciate it greatly.
This is a fantastic plugin. Very useful and effective.
Thank you for your contribution. It is greatly appreciated.
Hey Koen, apologies for my delay.
I got this JS error in the plugin config page:
s.timepicker.datetimeRange is not a function
Forum: Fixing WordPress
In reply to: WordPress Image Lazy Loading not Working 6.3@swantje the solution is to make sure all content in the template is wrapped with a template part.
How I did this was just the header template part, all my body content is within a template part, and the footer template part.
Forum: Fixing WordPress
In reply to: WordPress Image Lazy Loading not Working 6.3@courtneypk thank you. I have submitted a ticket around the same day I made this post.
@greenshady Thank you for bringing that to my attention; I didn’t realize the code block just put everything on one line. I cannot edit my post at this point, so I will paste the code below:
<?php function featured_props_output( $atts ){ $attr = shortcode_atts( array( 'post_type' => 'featured_props' ), $atts ); $props = get_posts([ 'post_type' => $attr['post_type'], 'post_status' => 'publish', 'numberposts' => -1, 'order' => 'ASC' ]); global $post; ob_start(); ?> <style> p:empty {display:none;} </style> <div class="props-container"> <?php if ( $props ) { $even = true; foreach ( $props as $post ) : setup_postdata( $post ); $prop_meta = get_post_meta( get_the_ID() ); if($even){ ?> <div class="prop-item"> <div class="prop-cover"> <?php echo the_post_thumbnail(); ?> <div class="wp-block-button" style="text-align:center;"> <a target="_BLANK" class="wp-block-button__link" href="<?php echo $prop_meta['url'][0]; ?>">Visit Website</a> </div> </div> <div class="prop-desc"> <h4><?php the_title(); ?></h4> <p><?php echo $prop_meta['cust_content'][0]; ?></p> <div class="wp-block-button" style="text-align:center;"> <a target="_BLANK" class="wp-block-button__link" href="<?php echo $prop_meta['url'][0]; ?>">Visit Website</a> </div> </div> </div> <?php }else{ ?> <div class="prop-item"> <div class="prop-desc"> <h4><?php the_title(); ?></h4> <p><?php echo $prop_meta['cust_content'][0]; ?></p> <div class="wp-block-button" style="text-align:center;"> <a target="_BLANK" class="wp-block-button__link" href="<?php echo $prop_meta['url'][0]; ?>">Visit Website</a> </div> </div> <div class="prop-cover"> <?php echo the_post_thumbnail(); ?> <div class="wp-block-button" style="text-align:center;"> <a target="_BLANK" class="wp-block-button__link" href="<?php echo $prop_meta['url'][0]; ?>">Visit Website</a> </div> </div> </div> <?php } $even = !$even; endforeach; wp_reset_postdata(); } ?> </div> <?php return ob_get_clean(); } add_shortcode( 'props_output', 'featured_props_output'); ?>
Forum: Fixing WordPress
In reply to: WordPress Image Lazy Loading not Working 6.3@courtneypk Yes, site is offline now. Was a temp website.
I understand that WordPress omits lazy loading from the header template part/content above the fold, but it wouldn’t work anywhere within the full site editor front page template until I put all the body content within a template part. Seems like a WordPress bug. It shouldn’t be required for front page template body content to be within a template part for lazy loading to work.
Forum: Fixing WordPress
In reply to: WordPress Image Lazy Loading not Working 6.3I have noticed that if I put the image in a template part, then it will lazy load. This seems very odd and could be a bug. I remember in WordPress 6.1.1 there was this bug with the shortcode block, but it was resolved in 6.1.2
Forum: Plugins
In reply to: [Widgets for Google Reviews] Trustindex not loadingThe error was that we pasted a JS snippet inside a shortcode block, when really we should’ve pasted the shortcode in the shortcode block. Error is resolved
@psrpinto Thank you for your reply. How can we do this for the templates editor though? I have this option for pages and posts, but not within the template editor
Forum: Fixing WordPress
In reply to: 6.2.1 Breaks Shortcodes in TemplatesWe have found a workaround. You must make the shortcode a template part. This is ridiculous from Automattic. Needs to be resolved ASAP