• Resolved Jason Lasky

    (@yehoshanah)


    Hi Surbma

    I’ve added the Divi Extras plugin and child theme.
    I noticed the theme footer.php asks if footer creds is defined.

    You said:
    The child theme has its own custom footer feature, of course! 🙂 To have a custom footer, you have to add a new line in the wp-config.php:

    define(‘DIVI_EXTRA_FOOTER_CREDS’, ‘here_is_your_custom_html_code’);

    Question: Is that really the best place to define custom footer html text? Why not add a custom theme function for that?

    regards Jason

    https://ww.wp.xz.cn/plugins/surbma-divi-extras/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Surbma

    (@surbma)

    Hi Jason,

    first, thank you for using my plugin and child theme!

    Is that really the best place to define custom footer html text?

    It depends on what do you mean by “best”? If you mean easy to manage, than this is not the best way. If you mean the best performance, than yes, it is the best way. 🙂 For me performance is more important, so I’m using this method.

    It is not very hard to edit the wp-config.php file and add a line to it. Do you have any difficulties with this step?

    Thread Starter Jason Lasky

    (@yehoshanah)

    Thanks for your reply.
    I decided to simply edit the child theme file footer.php with the text I wanted.

    regards Jason

    Plugin Author Surbma

    (@surbma)

    Smart decision. Just don’t forget to backup, when a new version come up. 😉

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘custom footer text’ is closed to new replies.