WordPress.org

Support

Support » Themes and Templates » [Resolved] bad code in footer

[Resolved] bad code in footer

  • Parse error: syntax error, unexpected ‘www’ (T_STRING) in /home/agraphicstyle/public_html/wyantbuilders.com/wp-content/themes/customizr/parts/class-footer-footer_main.php on line 154

    I am getting this error.. I tried to add some text to the footer and It will nto allow me on the site at all or to do any edits/// So lost and need help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Did you make the changes in the 1)core file or 2)a child theme?

    1) Don’t do it again! You’ll need to restore the core file and start again with a Child Theme

    2) You should have taken a copy of the core file and copied it to /wp-content/themes/customizr-child/parts and edited it there. Check line #154 and see what you’ve done or come back with more information.

    Did you see this Snippet?

    esmi

    @esmi

    Forum Moderator

    Do not edit the theme itself. First create a child theme for your changes. For now, upload a fresh, unpacked copy of the theme to wp-content/themes using FTP.

    Thank you I got it fixed through my hosting and a new install.. The other problem was it would not let me even see line 154 without just showing the error… I will use child themes from now on! Thank you for the tips!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] bad code in footer’ is closed to new replies.