simongarrett
Forum Replies Created
-
Forum: Plugins
In reply to: [OS DataHub Maps] Possible crash with invalid JSONThanks!
Simon
Forum: Plugins
In reply to: [OS DataHub Maps] Possible crash with invalid JSONThis caused an error:
{ “location”: “52.62533, 1.29572”, “desc”: “2026-02-01 13:40:43”}
This didn’t:
[
{ “location”: “52.62533, 1.29572”, “desc”: “2026-02-01 13:40:43”}
]The shortcode I used:
[osmap zoom=6 extent=”52.39251, 1.00509|51.96394, 1.35339″ width=800 markerfile=”https://simongarrett.uk/files/location.json” ]
My apologies if it’s something I’ve done wrong!
Oh, did I use a smart double quote after the marker file name?
PS – just retyped it, now definitely not smart double quote, still fails with a single line of json without [ and ]
- This reply was modified 3 months ago by simongarrett.
- This reply was modified 3 months ago by simongarrett.
Forum: Plugins
In reply to: [OS DataHub Maps] Can marker files be read from Google Drive?Thanks for your reply,
I guessed that might be the case from Googling, so I’ve switched to creating a real text file written by ftp that can be read by a an https URL.
Thanks again, Simon
Forum: Plugins
In reply to: [OS DataHub Maps] Can marker files be read from Google Drive?No matter, I’ve changed my Android app to log the location to an ftp server instead of Google Drive.
Forum: Plugins
In reply to: [NGG Smart Image Search] VulnerabilityWordfence also flags this plugin as having a “critical” vulnerability.
I believe that Firefox 141.0.2 has made the problem go away, confirming the likelihood that the issue was in Firefox.
See https://www.firefox.com/en-US/firefox/141.0.2/releasenotes/
“Fixed a regression that caused canvas objects to be draggable, causing web compatibility issues. (Bug 1978673)”
- This reply was modified 9 months ago by simongarrett.
Forum: Fixing WordPress
In reply to: Where is custom global CSS in twentytwentyfive?I also agree: hiding “Additional CSS” from the global Styles page until additional CSS has been added in a different way that appears to be editing a page (rather than making a global change) is not user friendly. Thank goodness I found this thread or I’d still be going round in circles.
Block themes and full site editing are great, but there are a lot of rough edges at the moment, and the lack of stability really doesn’t help.
Forum: Plugins
In reply to: [iPanorama 360 - Advanced Virtual Tour Builder] Limit on number of markers?Thanks for the info!
Regards, Simon
Forum: Themes and Templates
In reply to: [Abisko] Header and footer shows when a page is editedDoh!
Thank you for explaining without pointing out my silliness! I’ve been using Block themes for well over a year on 4 or 5 different sites without ever noticing that choice in the Template option list. As I use Abisko on only one site, I jumped to the conclusion it must be something to do with that theme.
Thanks again, Simon
I don’t think I was missing anything, but after a quick trawl through themes.json I understand it better now.
Twenty Twenty-four (and Twenty Twenty-five, for that matter) defines only 5 font size presets (in themes.json), ranging from “Small” to “Extra Extra Large”. The 6 Heading levels (h1 to h6) are tied to these. It gets 6 sizes out of 5 presets by defining h4 separately defined between h3 (large) and h5 (medium). In Twenty Twenty-five, both h5 and h6 are tied to “small”, but with different font weight and letter spacing.
Another theme I was looking at (Abisco) defines additional Font size presets of Heading 1 to Heading 6.
However, in either case, one way to get individual control of Heading sizes is to define Additional CSS in the style book, e.g.:
h1 { font-size:whatever; }
All very logical, I reckon Twenty Twenty-four is a great theme, must look more at the new stuff in Twenty Twenty-Five.
Forum: Themes and Templates
In reply to: [Twenty Twenty-Four] Inconsistent Image block alignment/widthThanks, I posted a query on github as you suggested, but got a reply that amounted to “It is what it is” without really saying why. See https://github.com/WordPress/gutenberg/issues/62484.
It’s not a big deal: it all works, but block alignment is slightly mysterious if you don’t know what’s happening. The behaviour is not documented, e.g. no mention here: https://wordpress.org/documentation/article/image-block/#aligning-images . You just have to know that sometimes you need an extra containing Group block to get the alignment you want.
No complaints though, I think FSE is a great step forward, and gives a lot more power without ever touching php or messing with css. All the sites I maintain (around half a dozen mainly community sites) have been converted to use block themes.
Thanks, noted.
I’d assumed that alignment of image and para blocks would be universal, set (for all blocks) by content width, and not set differently according to the block. That doesn’t seem to be the case.
Hi @properlypurple and thanks for your suggestion, which I’ve used.
I’m having difficulty understanding the effect of “Inner blocks use content width”.
It can be toggled off,
It can be toggled on but no content/wide values given,
It can be toggled on and content/wide values given.I can’t find any explanation of the difference between the 2nd and 3rd case. Using Twenty Twenty-Four theme and the Pages template as supplied (the parent of the content block has “Inner Blocks use…” toggled off), image blocks with “Align Left” align to the left of the window, and paragraph blocks align to the narrower content block margins, as @andynick says in the 1st post. Set the containing block to “Inner Blocks use…” on but leave Content and Wide left blank as @properlypurple suggests, and images align with paras, and the para text wraps round the image. Perfect!
But if you put a value for the Content and Wide in the containing block, say 100%, the image is way out left again.
What is happening? Why do Image blocks and Paragraph blocks interpret widths differently?
Thanks for any help in understanding this.
Forum: Plugins
In reply to: [NGG Smart Image Search] 404 error if search page has a parentThanks, using target seems to have fixed the issue.
Forum: Fixing WordPress
In reply to: How to Transfer an Existing Theme DesignWhat I was missing appeared to be the plugin “FSE Theme Design Import/Export“. This exports block theme customisations from the database to an xml file, and then this can be imported to another site using the same theme.
A quick tests suggests it does the job. It saves templates, template parts and styles that have been customised. Not sure if it saves patterns and I don’t think it saves navigation menus.