When we talk about snippet we are talking about code fragments that we can insert in our WordPress to modify or add some function to our website.
With this snippet you can add the Google Tag Manager script to your Genesis Framework based WordPress installation. I recommend you to do it with a custom functions plugin.
With this snippet you can add the Google Tag Manager script to WordPress. I recommend that you do it with a custom functions plugin.
If you want to upload the product catalog of your store to Google Merchant, one of the essential fields for this tool to approve the product feed is the GTIN (Global Trade International Number), that is, what we know as barcode and that in Europe is the EAN or ISBN for books. But this field is not in WooCommerce by default.
One of the drawbacks of creating a block with the different tools that have emerged is that, in some cases, the color picker or color selector used by the developer is not the same as the one used by the WordPress editor. This is the case of the blocks created with Advanced Custom Fields.
In a previous tutorial I told you that when you insert a Youtube video, it brings with it its own third-party advertising cookies from DoubleClick, which is the platform used by YouTube to show ads before or under the video as a banner. And I told you how to prevent it by hand, copying the url of the video and replacing the url https://youtube.com by https://www.youtube-nocookie.com.
In a previous tutorial, How to add the Google Tag Manager code to WordPress I left you a snippet to add the code provided by Google Tag Manager to your WordPress website, but what happens if you have a multisite with different websites and domains?
One of the new features that version 5.5 of WordPress has brought us are the block patterns that, unlike the reusable blocks, are preloaded templates that we can make available to users to facilitate their work and the layout of the various elements of your website.