johnamp
Forum Replies Created
-
Forum: Plugins
In reply to: [Breeze Cache] Breeze and Rank Math Dashboard issueAnswering my own question in case someone else comes here looking too. I went through a ChatGPT session and it was suggested I add this to .htaccess for Apache server. So far this is working.
# Exclude Rank Math from caching
<IfModule mod_headers.c>
<FilesMatch "^wp-json/rankmath/.*$">
Header set Cache-Control "no-cache, no-store, must-revalidate"
Header set Pragma "no-cache"
Header set Expires "0"
</FilesMatch>
</IfModule>If that doesn’t work for you, try:
<IfModule mod_rewrite.c>
RewriteEngine On
# Exclude Rank Math REST API from caching
RewriteCond %{REQUEST_URI} ^/wp-json/rankmath/ [NC]
RewriteRule .* - [E=Cache-Control:no-cache]
# Also exclude wp-admin and wp-login.php (optional but recommended)
RewriteCond %{REQUEST_URI} ^/wp-admin [OR]
RewriteCond %{REQUEST_URI} ^/wp-login\.php
RewriteRule .* - [E=Cache-Control:no-cache]
</IfModule>I f you don’t have access to .htaccess, try:
- Check Breeze Advanced Settings
- Ensure “Disable Cache for Administrator” is enabled.
- Under “Exclude URLs”, manually add:
/wp-json/rankmath/*
/wp-admin/*Refresh admin dashboard and then clear cache again. Rank Math Widget should appear okay.
Wait a day for the auto cache clearing and double check that Rank Math Widget is okay.
Thanks for the quick response.
Thank you. I knew I lost it somewhere. Didn’t think to look there. Personally I would not expect it to be there but that may be the years of finding it on the side editor.
Forum: Plugins
In reply to: [Gutenberg] Gallery breaks with update to 5.3. Images show as unordered listThis got submitted twice. Sorry.
Forum: Plugins
In reply to: [Gutenberg] Gallery breaks with update to 5.3. Images show as unordered listThat link was close, I have tried adjusting the CSS and it was formatting the first image but then while looking at the code I found this issue. When using the 2019 theme, it appears to work. So I guess something in the theme I am using is breaking the unordered list as well.
In the editor, the code is
<figure class="wp-block-gallery columns-2 is-cropped"> <ul class="blocks-gallery-grid"> <li class="blocks-gallery-item">...</li> <li class="blocks-gallery-item">...</li> <li class="blocks-gallery-item">...</li> <li class="blocks-gallery-item">...</li> </ul> </figure>and in the rendered page, the code is
<figure class="wp-block-gallery columns-2 is-cropped"> <ul class="blocks-gallery-grid"> <li class="blocks-gallery-item">...</li> </ul> </figure> <li class="blocks-gallery-item">...</li> <li class="blocks-gallery-item">...</li> <li class="blocks-gallery-item">...</li>Thanks for link above, I did not see it while doing a search for the issue.
- This reply was modified 6 years, 6 months ago by johnamp.
Forum: Plugins
In reply to: [Gutenberg Block Editor Toolkit – EditorsKit] Additional CSS not savingHi sorry for the delay. Took an impromptu weekend camping trip.
We are using WordPress 5.2.2 with Gutenberg built in. We have used commas in the class box as well to no effect. Pressing enter didn’t save it either. If I find anything else, will let you know.Forum: Plugins
In reply to: [WP Debugging] Multisite PHP noticeI have tried it on a second instance of a multisite and I don’t see the error there. It looks like it is that one install specific. Tracked it down to custom function that one of the other developers had created and for some reason, this error showed up. Oddly, it didn’t show up if I had debug set to true manually without your plugin.
So all good.
Thank you for the quick reply.- This reply was modified 6 years, 9 months ago by johnamp.
Forum: Plugins
In reply to: [WooCommerce Product Dependencies] Products by category not workingHi,
The Product A was in completed status when trying the Owner testing with category dependency. I have tried testing it again and it still had the same result. I am waiting on time approval to set up a clean site to test it again without all the other plugins to see if there is a conflict. I have tested it with non-WooCommerce plugins disabled but not a standard WP theme. - Check Breeze Advanced Settings