Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: Theme blocking my attempts to edit footer text

Discussion in 'Misc WordPress Requests' started by paulwpxp, Dec 15, 2017.

  1. paulwpxp

    Guest

    Reply To: Theme blocking my attempts to edit footer text, by paulwpxp

    Editing theme file is strongly not recommended, it risks ruining the site and all the changes will be lost when updating the theme. Changes or modification with php should be done via Childtheme or plugin.

    This theme uses action hook to get the footer text displayed. We have to use php function to remove action. Doing that we have to dig into theme’s functions and use the same hook name. This kind of modification requires a child theme, or we can just wrap it in a plugin, but since the purpose is just to remove one line of text we can just go with CSS display none.

    Use this code in Appearance > Additional CSS


    .site-info .container {
    display: none;
    }
    .site-info:before {
    content: "My copyright text goes here";
    }


    Replace “My copyright text goes here” with your own. There is one caveat, the added in text is via CSS content, this means it’s for display only, search engines don’t read it, users viewing the site can’t select this text.

    Reply To: Theme blocking my attempts to edit footer text
     
    #1

Share This Page

Monarch Social Sharing Plugin