Hi, I’ve been supplied with the code for a remarking pixel that is to be placed before the closing tag. I am already running a Pro child theme. What is the best way of doing this please?
Hi there,
Please install and activate the child theme and login through FTP and create the file path: wp-content/themes/pro-child/framework/views/footer
then create the base.php file in the footer directory and add this code in the file:
<?php
// =============================================================================
// VIEWS/FOOTER/BASE.PHP
// -----------------------------------------------------------------------------
// Includes the wp_footer() hook and closes out the .x-site <div>, .x-root
// <div>, <body> and <html> tags.
// =============================================================================
?>
<?php do_action( 'x_before_site_end' ); ?>
</div> <!-- END .x-site -->
<?php do_action( 'x_after_site_end' ); ?>
</div> <!-- END .x-root -->
<?php wp_footer(); ?>
<!-- Add the code below this -->
</body>
</html>
Please add the code you have below the line <!-- Add the code below this -->
Hope this helps.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.