• Resolved sonosara

    (@sonosara)


    Hi there,

    Please, I am looking for some help/advise about the footer info on class-footer-footer_main.php. I was trying to edit it in order to change some info but intead the site is not working anymore.

    I tried to leave the code as the original, however it might content some error because I can’t update the editor changes and the site is no accesible. Right now the code looks like below:

    `function tc_colophon_center_block() {

    echo apply_filters(
    ‘tc_credits_display’,
    sprintf(‘<div class=”%1$s”>%2$s</div>’,
    apply_filters( ‘tc_colophon_center_block_class’, ‘span4 credits’ ),
    sprintf( ‘<p> · ? %1$s <a href=”%2$s” title=”%3$s” rel=”bookmark”>%3$s</a> · Desined by %4$s ·</p>’,
    esc_attr( date( ‘Y’ ) ),
    esc_url( home_url() ),
    esc_attr(get_bloginfo()),
    ‘<a href=”‘.TC_WEBSITE.'”>Themes & Co</a>’
    )
    )
    );
    }`

    Any idea?

    Thanks so much!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter sonosara

    (@sonosara)

    The whole admin is not working…

    If you have access via ftp, rename the customizr folder to something else. Then the default theme will load and you will get your admin panel back. From there, reinstall Customizr.

    You need to resurrect your core code. Go to Appearance>Themes and change to a different Theme, delete Customizr, add Customizer again – you’ll have a clean install.

    You’ve then learnt THE lesson with WP – Don’t hack core files!

    When you’re back up, come back and get help on what you want to do. Start by reading about Child Themes.

    Thread Starter sonosara

    (@sonosara)

    Yes, big lesson…

    #ElectricFeet I have renamed the folder but the admin panel doesn’t allow me to install any new theme, a blank page appears.

    #rdellconsulting I can’t change the theme from admin panel.

    Thanks both for your answers. Any other suggestion?

    Thread Starter sonosara

    (@sonosara)

    Hey again,

    My website is back! Finally I uploaded the customizr theme via ftp (having renamed the first customizr folder with the code error).

    Thanks so much for your help. Now it’s time to create a child theme and back up…

    Have a nice week.

    Thread Starter sonosara

    (@sonosara)

    Topic resolved.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Problem when editing copyright info on class-footer-footer_main.php’ is closed to new replies.