The <!-- wp:
tags are how the WordPress editor internal api control what has been generated on the page and it contains the data that is generated or controlled by the settings panel of the editor. In general, those settings are directly converted to some html / style that you see on the page but not always.
That’s why it seems duplicated. One is for the editor internal control and the other is for the browser to display.
For more info about it, take a look at the Markup representation of a block of the Block Editor Handbook.
If you really want to understand it, I advise you to take a look at the technical overview introduction and the Key concepts from the Block Editor Handbook. The Handbook has a lot more of information and you should read it if you want a more in deep understanding of full site editing, blocks and block themes.
Related Posts:
- Opinions and recommendations on the best barebones base theme [closed]
- Dynamic template serving, change theme_root using add_filter from current theme
- How to override the “inc” folder (or any folder) in a theme using child theme?
- Is it possible to access Gutenbergs reusable blocks in CPT block templates?
- Loading template files from a subfolder in my theme?
- WordPress as Backend, Laravel Front End: How to connect Routes?
- Can I obtain differents links for different installed theme?
- WordPress ignoring specified template for front page. Why?
- Can I apply a WP theme to a specific custom page template?
- WordPress Fatal error: Call to undefined get_header() in index.php on line 15 [closed]
- Change Theme from Plugin based on query_vars
- How to add template to theme in WP
- Added a new template file to a theme – get Call to undefined function error
- How to find a file in WordPress themes [closed]
- Display a specific dynamic sidebar widgets on a specific page
- Child theme Page Template not loading
- Creating new templates in child themes breaks layout
- Get WordPress to use another custom “author.php” file (“custom-author-file.php”)
- Search form not finding content in template page
- display comment form for specific post id
- Selected template is not respected for home page in WordPress
- Putting two themes together to create a complete site
- Is there a way to upgrade a theme without losing custom templates?
- Need help with making a website where user can add products
- Advantages of wordpress theme vs wordpress as a backend only [closed]
- What’s a good way to unenqueue all scripts for a single template page?
- Using the same database on another Subdomain
- Trying to fix a website that was built with WordPress and then taken off of it
- Conditional config WP_HOME/WP_SITEURL does not update bloginfo(‘template_url’)?
- Create Custom Attachment Template That is Processed from Plugin Folder?
- Multiple sub directories for theme template pages
- How to remove the tripadvisor logo from the wordpress theme?
- Please help me clear my confusions about WordPress
- WordPress 2022 template, how to see the blocks added in post template on post edit?
- Can I use non-wordpress themes in WordPress?
- WordPress keeps switching back to empty template
- Removing a widget via theme editor
- How do I bring a page template into a new theme with separate styling?
- 12 column grid layout
- Theme Dev | Convert Template to Theme
- Revamping a WordPress mirror site – and I don’t know where to start!
- What is the template file for topic layouts in bbPress?
- Will this js code work in a page template?
- How to find out which template the HTML content comes from?
- Create a child Theme or custom Theme
- How to modify/ customise NextGen Gallery’s templates? [closed]
- wordpress template page Usage [duplicate]
- Overwrite template-tags.php in child theme
- What happens to bespoke page template references on theme change?
- How to add sidebar to homepage programmatically?
- Get header/footer list for a theme
- Homepage not loading correctly, only after refreshing
- How to clone a theme template from within WordPress? [closed]
- Does WordPress maintain revisions for index.html template?
- Am I allowed to license my WordPress theme under the aGPL
- Best way to include Bootstrap in WordPress
- How to automatically highlight syntax of code in a post?
- How To Remove The “Click here to cancel reply” Link From The WordPress Comment Form
- How to properly use a hook to create template for custom product type in a plugin such as Woocommerce? [closed]
- Extra User Profile Field Upload File / Image
- Change logo on each page of University Hub theme [closed]
- Delete database tables on theme uninstall?
- How do you manage your theme versions when privately distributing?
- wordpress themes demo file importing problem? [closed]
- How to run word press theme on localhost in Ubuntu OS?
- get_template_directory has an odd functionality
- Confit theme on WordPress.org
- How to set different settings for a mobile theme?
- How can I use a logo in the header?
- Unwanted edit link on front page
- What is the “pub” theme? [closed]
- Can I change the WordPress default color?
- Enqueue custom css file on specific page
- How to put single-***.php in a specific folder?
- Using JQuery to check for Rel Attribute of Image before Overriding It
- Is a very simple theme secure enough?
- New WordPress Theme Not Showing in Blog
- Remove Commenting on Certain Pages
- Theme seems to have different options on wordpress.com and own-server install
- how would I change background color of a theme using a plugin?
- How i can put on my wordpress the demo of a theme?
- Best way of creating a website with multiple themes/languages
- Website Theme Flickering in Chrome
- style.css of my custom theme is not being applied at all
- how to edit homepage
- WordPress Dashboard Problem [closed]
- WordPress Theme Migration Local to Live Assets Not Loading
- How to prevent tinyMCE editor to be loaded completely in Text Editor?
- Entire VPS locks up when using particular theme [closed]
- Advice for a Newbie WordPress Web Designer/ Themes? [closed]
- Load all files from folder in theme – Security concerns?
- How to disable primary main site header and logo in wordpress (Astra Theme) [closed]
- what is “theme_setup” method for?
- Child theme:Loading js files
- I want to increas my site image [closed]
- Add Text After Logo in zerif lite theme
- Theme install failed
- How can i remove footer credit text
- WordPress site is not loading properly ( showing a min-page)
- Removing Commas between Hashtags on WordPress on Astra theme