Skip to content
/ Avada-Child-Theme Public template

Template to build a WordPress Avada theme child theme.

Notifications You must be signed in to change notification settings

mhcg/Avada-Child-Theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Avada-Child-Theme

Template to build a WordPress Avada theme child theme.

Overview

Essentially it's the out-of-the-box Avada-Child-Theme.zip content with a change to use a version number on the style.css file, to avoid caching issues, used as a baseline to create a more functional template for Avada Child Theme projects.

Features

Google Tag Manager support

Support for Google Tag Manager code both in <head> and <body> is provided along with a data layer providing WordPress specific information about the current page.

Head code is added via the WordPress wp_head hook and body code via the Avada avada_before_body_content hook. There is no real harm in leaving the GTM code in place even if not using GTM, however, to disable, just deleted the relevant lines from the functions.php file.

To configure, copy and paste the supplied GTM head code into the parts/gtm-head-code.html file, and the body code into the parts/gtm-body-code.html file.

About

Template to build a WordPress Avada theme child theme.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published