donbowman
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Twenty Twenty-Four] How to change editor width?Its not resolved, i’m not sure what to do.
why should it matter if i’m grouped or not? My objective is to make the editor match the published content, but it doesn’t in width. when i have a full width container/group, it shows live but not in editor.
- This reply was modified 1 year, 10 months ago by donbowman.
Forum: Themes and Templates
In reply to: [Twenty Twenty-Four] How to change editor width?you can see i have diagnosed it above.
I have the carousell in a reusable block.
You have code calling has_blocks(gutslider/logos…).
has_block does not look into reusable blocks, so your check fails.
To fix it, you will need a helper function in gutslider_assets to check by calling parse_blocks.
see also https://kybernaut.cz/en/clanky/problem-solved-check-for-has_block-inside-reusable-blocks/
note this is super inneficient in this code base since you call it multiple times, and its very slow. So i think you would instead look for gutsliders/*, or use a single regexp rather than multiple block_parse/walks.
if( ! is_admin() && ( GutSlider_Assets::enhanced_has_block( ‘gutsliders/content-slider’ ) || GutSlider_Assets::enhanced_has_block( ‘gutsliders/any-content’ ) || GutSlider_Assets::enhanced_has_block( ‘gutsliders/testimonial-slider’ ) || GutSlider_Assets::enhanced_has_block( ‘gutsliders/post-slider’ ) || GutSlider_Assets::enhanced_has_block( ‘gutsliders/photo-carousel’ ) || GutSlider_Assets::enhanced_has_block( ‘gutsliders/logo-carousel’ ) || GutSlider_Assets::enhanced_has_block( ‘gutsliders/videos-carousel’ ) ) ) {
Forum: Plugins
In reply to: [WP-Stateless - Google Cloud Storage] migration issues with 4.0thank you, will try.
on first look it seems you just unconditionally supress error messages? Is this necesarily wise?
Forum: Plugins
In reply to: [WP-Stateless - Google Cloud Storage] migration issues with 4.0I’ve also observed…
MySQL [www_database]> select count() from wp_stateless_file_sizes; +----------+ | count() | +----------+ | 11765 | +----------+that this table is larger than the number of files i have (~2900files).
i did set up the endpoint, and then instrumented the ‘proxy’ function in the php to see it was called (that’s where the output is from).
I have turned it off for now.
i used /ab/api i think. i verified the endpoint was shown in the wp-json output alongside the others (in the namespaces object). I verified it called the proxy function, and then sent that request to the upstream, which returned the 403.
the 403 was returned from api.nelioabtesting.com / cloudfront, as was the reason.
curl –cookie ver=staging https://www.agilicus.com/wp-json/ | jq | more
you can see the ‘ab’ namespace on my staging site (which is routed via blue/green testing on this cookie).
- This reply was modified 2 years, 5 months ago by donbowman.
Forum: Themes and Templates
In reply to: [Twenty Twenty-Four] High CLS in navigation block on mobilethis might be related:
so although that might help, the performance is really quite poor here.
me typing in a paragraph can’t possible change css somewhere, and having some javascript fire and then recalculate other blocks for every keystroke, i’m not sure why its need.
OK, to reproduce:
- https://playground.wordpress.net/?plugin=blocks-css&plugin=ultimate-addons-for-gutenberg&php=8.3&wp=6.4&storage=none&php-extension-bundle=kitchen-sink
- Edit Site
- Create synced pattern ‘form’
- Add a ‘form’ block from uagb, accept default
- Create a page
- create a paragraph w/ a few words
- insert the ‘form’ synced pattern
- in console, run ‘monitorEvents(window);’
- type a key in the paragraph from #6
You will observe a constant stream of ‘Updated Block: uagb/forms’ messages in console, one for each keystroke.
Also, the system will be exceptionally slow.
update: this is an interaction w/ blocks-css, it happens when both are loaded.
update: this is an interaction w/ blocks-css. I am not certain which is at fault.
Forum: Fixing WordPress
In reply to: selecting text BugForum: Plugins
In reply to: [The Events Calendar] wordpress 6.4 query loop and the events calenarthe past events don’t show up at all in the query loop. its not a sorting issue, they are just not there at all. 0 items are returned.
Forum: Plugins
In reply to: [The Events Calendar] wordpress 6.4 query loop and the events calenari am trying to extract *only* events. I want to make an array of cards of the past events.
the event type does not show up in the query loop. Are you suggesting it will show up intermingled with my posts? it doest not.
My current events page:
https://www.agilicus.com/events/
This specific event: https://www.agilicus.com/event/2023-11-23-punching-above-their-weight-municipal-cybersecurity-success-stories-from-across-canada/
that event does not show up as a ‘post’ in the query loop.
the database, i see:
ID: 2671925
post_date: 2023-11-09 18:07:00
post_type: tribe_events
post_status: publishwhen i look in my query loop for posts (not events), and sort newest to oldest, its not there. Same for post type page, and post type events is empty.
So no, i do not think it is returned by any invocaation of the Query Loop in wp 6.4 block.
- This reply was modified 2 years, 7 months ago by donbowman.