WordPress.org

Ready to get started?Download WordPress

Forums

Customizr
[resolved] bad code in footer (4 posts)

  1. AGraphicStyle
    Member
    Posted 7 months ago #

    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!

  2. rdellconsulting
    Member
    Posted 7 months ago #

    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?

  3. esmi
    Forum Moderator
    Posted 7 months ago #

    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.

  4. AGraphicStyle
    Member
    Posted 7 months ago #

    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!

Reply

You must log in to post.

About this Theme

About this Topic