How to add custom designed footer globally in divi

 

Use this code in functions.php file of your child theme.

function my_custom_footer() {
echo do_shortcode(‘[ et_pb_section   global_module=”123″] [/et_pb_section  ]’);}
add_action(‘et_after_main_content’, ‘my_custom_footer’);

1 Comment

Submit a Comment

Your email address will not be published. Required fields are marked *

Start Working with me for any wordpress project!