I kinda miss having serif fonts in the #WordPress UI.
Tag: WordPress
-
-
This is an extremely esoteric thing, but #WordPress doesn’t offer an archive page for “standard” posts (within the “Post Format” taxonomy). URLs like `/type/status` work, but `/type/standard` doesn’t, since the “standard” Post Format is just the absence of a Post Format.
But if you navigate to `/type/foo`, it *does* send this string (`foo`) to the `WP_Query`; so `/type/standard` can be made to work, with a tiny little plugin I wrote:
-
The WordPress writing experience
-
The #WordPress function wp_strip_all_tags removes script and style tags using this #regex:
<(script|style)[^>]*?>.*?</\1>
Are those question marks necessary? What are they saying is optional? The asterisks preceding them are already saying that those characters are optional.
https://github.com/WordPress/wordpress-develop/commit/b7f82a38b502a8fc513883f6675916da340c0be5
-
Been spending some time over the last couple weeks trying to write my first block-based #WordPress theme.
Not only is the syntax redundant, poorly-documented, and difficult — it’s extremely limited in what you’re able to put on the page.
For instance, I can’t put an archive title inside my own `<h1>` with some prefix saying “This is the archive for: “, or something.
I find myself falling back to regular PHP enough that I’m not sure it’s going to be possible to build the theme I want.
-
#WordPress should add a “subtitle” field to core.
Of course you could use a custom field for this, but not every theme will use the same custom field key. This is the same reasoning they used to put Post Formats in core.
-
@manton Any idea why I’m getting a “request too large” error when trying to upload an image to my #WordPress blog through #Sunlit?