• hello,

    the title is nearly saying all, additionally:

    Fatal error: Cannot redeclare square_content_width() (previously declared in domain/wp-content/themes/square_child/functions.php:63) in domain/wp-content/themes/square/functions.php on line 64

    line 62 to 65 from functions.php

    function square_content_width() {
    	$GLOBALS['content_width'] = apply_filters( 'square_content_width', 800 );
    }
    add_action( 'after_setup_theme', 'square_content_width', 0 );

    how get i solved this issue? –
    respectively – how should my functions.php in child theme look like?

    thanks in advance
    jürgen

    • This topic was modified 8 years, 3 months ago by photomaxe.
    • This topic was modified 8 years, 3 months ago by photomaxe.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘failed with copying functions.php to my child theme’ is closed to new replies.