• Resolved Crjensen4

    (@crjensen4)


    Hey

    I was attempting to change the link in line 154 – but then got this error.
    I had made a back-up of the file first – but when I attempt to re-enter the original text from wordpad – I still get the error.

    I also tried copy pasting from the original file in the zipfile.

    What am I doing wrong?

    It currently looks like this:
    /**
    * Footer Credits call back functions
    * Can be filtered using the $site_credits, $tc_credits parameters
    *
    *
    * @package Customizr
    * @since Customizr 3.0.6
    */
    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 %3$s · Designed by %4$s ·</p>’,
    esc_attr( date( ‘Y’ ) ),
    esc_url( home_url() ),
    esc_attr(get_bloginfo()),
    Themes & Co
    )
    )
    );
    }

Viewing 15 replies - 1 through 15 (of 19 total)
  • Thread Starter Crjensen4

    (@crjensen4)

    Error can be seen here: hairpursuits.com

    Thread Starter Crjensen4

    (@crjensen4)

    ` /**
    * Footer Credits call back functions
    * Can be filtered using the $site_credits, $tc_credits parameters
    *
    *
    * @package Customizr
    * @since Customizr 3.0.6
    */
    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> · Designed by %4$s ·</p>’,
    esc_attr( date( ‘Y’ ) ),
    esc_url( home_url() ),
    esc_attr(get_bloginfo()),
    ‘<a href=”‘.TC_WEBSITE.'”>Themes & Co</a>’
    )
    )
    );
    }

    re-install customizr
    and use this snippet to change the footer credits:
    https://www.themesandco.com/snippet/altering-adding-footer-credits/

    Thread Starter Crjensen4

    (@crjensen4)

    Hi – thank you for your answer

    So this means all is lost?

    What do you mean with all?
    Have you changed other core files (which is not a good idea)?

    Thread Starter Crjensen4

    (@crjensen4)

    I mean – reinstall usually means that all the work that I have done so far will be lost – I guess this is the case here as well or am I wrong?

    Thread Starter Crjensen4

    (@crjensen4)

    no core files changed – other than I attempted to change the footer credit

    So I presume you just added some css rules maybe in the custom css box, and or create contents like posts and pages right?
    In this case, nothing is lost. Those things are in the db and except for the custom css (that one in the box, but you shouldn’t lose that anyway) are not tied to the theme.

    Thread Starter Crjensen4

    (@crjensen4)

    I havent done any coding – all i have done is make the changes in the customizr menus – i.e: add logo, add images to the slider, add a menu.

    So all that remains if I reinstall?

    Is there a link to a guide on this?

    Thread Starter Crjensen4

    (@crjensen4)

    by guide – simply reinstall customizr in wordpress and im good to go?

    Thread Starter Crjensen4

    (@crjensen4)

    sorry for the insecurity – this is my first time with WP

    Crjensen4 copy the original
    customizr/parts/class-footer-footer_main.php
    in your customizr dir/parts/class-footer-footer_main.php, I mean the whole file.
    And it have to work, if it doesn’t you have some server caching issue.

    Thread Starter Crjensen4

    (@crjensen4)

    and do this on via – filezilla – not ,erely a copy paste

    yep, would be better, this way you’re sure you cannot make errors while copy/paste … is something that could happen..

    Thread Starter Crjensen4

    (@crjensen4)

    YOU ARE THE BEST!!!!!!!!!!!!!!!!

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Parse error class- Footer- footer line 154’ is closed to new replies.