Carolina Nymark
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Problem with the Mini Cart on Mobile Devices@anastas10s may know for sure. I am not not part of the Woo organisation.
https://github.com/woocommerce/woocommerceForum: Plugins
In reply to: [WooCommerce] Problem with the Mini Cart on Mobile DevicesHi
I closed the trac ticket because this is not a problem with the theme Twenty Twenty-Four. It is a problem with the Minicart block, and it happens in all six block themes that I tested. I only had WooCommerce active, not the WooCommerce blocks plugin.
It is possibly an issue with timing or with the page content not updating when the browser is resized: If I refresh the page while the browser developer tools are open, it sometimes shows.- This reply was modified 2 months, 3 weeks ago by Carolina Nymark.
Forum: Themes and Templates
In reply to: [Twenty Twenty-Four] Theme VariablesHi,
WordPress generates the variables by parsing the theme.json file, so there is no list of variables in the theme itself.
Other variables are generated by WordPress depending on block settings and style options.
The closest to a list is the generated result that you already see in the dev tools.Forum: Themes and Templates
In reply to: [Twenty Twenty-Four] Left justifying text beneath imageHi,
I followed your link and it looks like you have already found the solution.
The image caption is left aligned unless you center the image. Then the text is also centered.
Forum: Themes and Templates
In reply to: [Twenty Twenty-Four] Hide ‘No comments’Hi
Because Twenty Twenty-Four is a block theme, it uses the comments block to show the comments area.
WordPress does not have a built-in option for showing or hiding blocks conditionally. You would need to try yo find and install a plugin to do this.The comments title block shows the text “X Responses” or “One response”. When there are no comments, the block does not display anything. This is already the built-in behavior. There is no text string in the theme that says “No comments”.
Forum: Developing with WordPress
In reply to: theme.json styles changes not showing in the block editorThis is not a bug.
Block themes can use the customizer. Any content in the Customizer CSS option should work the same as in a classic theme.Forum: Developing with WordPress
In reply to: theme.json styles changes not showing in the block editorremove_editor_styles(); removes all editor styles. Even though this is on init, there is probably a timing problem where the theme.json changes in the editor are also removed.
Forum: Developing with WordPress
In reply to: Image block within Unsynced Pattern (preserving link)I am able to reproduce this problem.
I am not aware of a way to work around it.
Unless the image is linked to the media file or attachment page, I don’t think the link should be changed when the image is replaced. I think this is a bug in the WordPress editor.Forum: Developing with WordPress
In reply to: theme.json styles changes not showing in the block editorHi
I am not able to reproduce this.
The style from theme.json shows in the editor but not the front.
Rather, on the front, storefront theme overrides the pink background color for the outline variation.Forum: Everything else WordPress
In reply to: Possible GPDR infrigementHi
This cookie is not added by WordPress.
These are the cookies that WordPress uses: https://wordpress.org/documentation/article/cookies/
It may be from a theme or plugin that you have installed. If you are not sure which, you can clear your cookie data in your browser, then deactivate all your plugins and activate them again one at the time and see if the cookie is added.Forum: Themes and Templates
In reply to: [Twenty Twenty-Four] Cloning and applying templatesIf you have copied blocks, you only need to create a new pattern if you want to re-use those blocks with the same settings, in multiple places.
Otherwise you can just use copy and paste.Forum: Themes and Templates
In reply to: [Twenty Twenty-Four] Cloning and applying templatesYou can only have one search template (unless you install a plugin like WooCommerce that has a custom built search template for the products).
But you don’t need to clone this template to save a backup. The file in your theme folder is already working as a backup.
When you go to Appearance > Editor > Templates, select search and make changes, WordPress saves those changes in the database.
This means that the HTML file in the theme folder is not overwritten.
You can revert all the changes you have made by going to
Appearance > Editor > Templates > Manage all templates, locate the search template, and open the action menu: the menu with the three dots.
Select “Clear customizations”.Forum: Themes and Templates
In reply to: [Twenty Twenty-Four] The front page is missingThis theme does not come with a front page template.
You can create a new front page template – which is separate from the blog home and the index, by clicking on the + icon to add a new template.Forum: Themes and Templates
In reply to: [Twenty Twenty-Four] How to edit the favicon?I believe you meant the site logo block (There is no site icon block unless you have installed a plugin).
Please see https://wordpress.org/documentation/article/site-logo-block/Forum: Developing with WordPress
In reply to: get_theme_mode & set_theme_mode in block editorHi
It depends on if you are creating themes, or building a website.
Synced patterns, which are stored in the database, are the best option for the second.