admin

Website Tutorial

WordPress functions.php-Add Featured Images

As with sidebars and navigation menus, we can’t just output featured images in our theme and expect them to work, we must first tell WordPress that we support the feature. In functions.php add: add_theme_support( ‘post-thumbnails’ ); Now we can add_post_thumbnail();...
Website Tutorial

WordPress functions.php-Add a Sidebar

Adding a Sidebar Our theme also doesn’t have a sidebar (widget area), let’s fix that now. First, we need to register the sidebar in functions.php: function my_custom_theme_sidebar() {register_sidebar( array( ‘name’ => __( ‘Primary Sidebar’, ‘my-custom-theme’ ), ‘id’ => ‘sidebar-1’,) );...
Website Tutorial

Regex Fundamentals for Google Tag Manager

Regex symbols, also known as regular expressions, are special characters with unique meanings that allow developers to create complex patterns for matching specific sequences of characters in a text string. Understanding and mastering these symbols is crucial for writing efficient...
Website Tutorial

Install Google Tag Manager on your website

Install Google Tag Manager on your website Visit https://marketingplatform.google.com/about/tag-manager/, create a new GTM container in your existing account, click the three dots on the right side of the GTM account, a drop-down menu will appear, select “Create container”: After selecting,...