Comments on: How To Create a Custom Divi Footer https://www.markhendriksen.com/how-to-create-a-custom-divi-footer/ Thu, 24 Apr 2025 04:40:05 +0000 hourly 1 https://wordpress.org/?v=6.8.3 By: Mark https://www.markhendriksen.com/how-to-create-a-custom-divi-footer/#comment-6803 Thu, 22 Aug 2019 12:16:06 +0000 https://www.markhendriksen.com/?p=11439#comment-6803 In reply to Anna M.

Hi Anna,

The code snippet was gone after an update I have replaced it back now and you can copt/paste it.

you still have to replace the ID with yours.

]]>
By: Anna M https://www.markhendriksen.com/how-to-create-a-custom-divi-footer/#comment-6775 Wed, 21 Aug 2019 03:21:41 +0000 https://www.markhendriksen.com/?p=11439#comment-6775 Thank you for this tutorial. I think I am so close, but it is not publishing my custom footer. Is this the correct snippet for the functions.php ?

// CUSTOM FOOTER

function custom_footer() {
echo do_shortcode(‘[et_pb_section global_moule="8264"][/et_pb_section]‘);
}
add_action( ‘et_after_main_content’, ‘custom_footer’ );

]]>
By: Mark https://www.markhendriksen.com/how-to-create-a-custom-divi-footer/#comment-4516 Fri, 10 May 2019 06:47:22 +0000 https://www.markhendriksen.com/?p=11439#comment-4516 In reply to William Whitehurst.

Hi William,

You need to place the php code in your child theme function.php file. use an open tag

]]>
By: William Whitehurst https://www.markhendriksen.com/how-to-create-a-custom-divi-footer/#comment-4425 Mon, 06 May 2019 12:31:06 +0000 https://www.markhendriksen.com/?p=11439#comment-4425 I just get a white bar across the bottom of the website – It doesn’t drag in the section. I’m placing it as the first line of text after the opening <?php or does it need to go in a specific section of the functions file?

]]>
By: Mark https://www.markhendriksen.com/how-to-create-a-custom-divi-footer/#comment-4217 Thu, 25 Apr 2019 07:19:02 +0000 https://www.markhendriksen.com/?p=11439#comment-4217 In reply to joe ault.

Hi Joe,

I have a tutorial how you can create a horizontal email opt-in here:
https://www.markhendriksen.com/how-to-make-a-horizontal-email-opt-in-divi/

]]>
By: joe ault https://www.markhendriksen.com/how-to-create-a-custom-divi-footer/#comment-4204 Wed, 24 Apr 2019 16:14:23 +0000 https://www.markhendriksen.com/?p=11439#comment-4204 how did you get the email optin button on one line in the first design?

]]>
By: Mark https://www.markhendriksen.com/how-to-create-a-custom-divi-footer/#comment-3746 Wed, 03 Apr 2019 06:55:09 +0000 https://www.markhendriksen.com/?p=11439#comment-3746 In reply to wassy.

Hi,

Yes that is normal.

Unfortunately you can’t use the visual builder with injected layouts.

]]>
By: wassy https://www.markhendriksen.com/how-to-create-a-custom-divi-footer/#comment-3738 Tue, 02 Apr 2019 23:23:32 +0000 https://www.markhendriksen.com/?p=11439#comment-3738 thanks for your post, it is normal that the visual builder cannot retrieve the styles of the injected divi layouts? in the visual builder they looks like missing css/unstylized. no problems in the frontend only visual builder.
many many thanks

]]>
By: Michael https://www.markhendriksen.com/how-to-create-a-custom-divi-footer/#comment-3714 Sun, 31 Mar 2019 17:52:15 +0000 https://www.markhendriksen.com/?p=11439#comment-3714 In reply to Mark.

Perfect, thanks for the help!

]]>
By: Mark https://www.markhendriksen.com/how-to-create-a-custom-divi-footer/#comment-3688 Sat, 30 Mar 2019 07:04:05 +0000 https://www.markhendriksen.com/?p=11439#comment-3688 In reply to Michael.

If you give the section of your custom footer a class then you can hide it with CSS. For example, give the section this class custom_footer.

Every WordPress page has a unique class, you can find this in the source code in the body tag. With this class, you can only target that specific page. You can then hide the custom footer with CSS. You can use a snippet like this:

.page-id-10 .custom_footer {
display: none;
}

You need to change the page ID number with yours.

]]>