Add block templates (html) via plugin for custom post type
Add block templates (html) via plugin for custom post type
Add block templates (html) via plugin for custom post type
How to only show sub-categories of current category (FSE, block editor)
You could change the query.orderBy parameter of the query block (as long as query.inherit is not true). This parameter corresponds to the orderby query var. For number of comments, you’d use the comments_count value, as per the `WP_Query::parse_query documentation. To add this value, you’d need to be in the code editor (not visual editor) of … Read more
Can you turn off Upload & Install Fonts in FSE?
Get rendered HTML single view from post template
The only reason custom templates would not be searchable is if they stored significant amounts of content in postmeta fields, instead of the main content field. To have customizable layouts whose contents are still fully indexable by default WP search, use the Block Editor. You can create custom blocks if needed, but even the Core … Read more
WordPress’s Twenty Twenty-Four theme makes it possible to add custom fields directly in the editor This UI is not coming from TwentyTwentyFour, and was added to WP decades ago: https://wordpress.org/documentation/article/assign-custom-fields/ It predates 2024/2023 and was even present when the original Kubrick theme was the default theme, this is because it’s a part of WordPress itself. … Read more
Does anyone have any suggestions on how to disable certain template parts in a child theme using theme.json in WordPress with Gutenberg? Using only theme.json this is not possible, and runs counter to the vision for full site editing. In the future it’s possible that not only the parent theme templates might be visible, but … Read more
Custom Link Block with own background color
Block to show posts from same category