WordPress.org

Support

Support » Themes and Templates » functions.php breaking suffusion child theme

functions.php breaking suffusion child theme

  • I’m trying to get the functions.php template into a Suffusion child theme because I’d like to link all my featured images to their posts. I’m new to WordPress in general but I’ve loaded a few other templates into the child theme with no issues. Every time I send the functions.php template into the child theme’s directory though my FTP, however, I get this everywhere:

    Fatal error: Cannot redeclare suffusion_theme_setup() (previously declared in /home/a8608451/public_html/wp-content/themes/suffusion-child/functions.php:28) in /home/a8608451/public_html/wp-content/themes/suffusion/functions.php on line 45

    What do you guys think? I really need this template in there.

Viewing 1 replies (of 1 total)
  • If you are trying to copy the functions.php from the parent theme to the child theme, you will obviously get this error. Try starting from scratch and create just your own functions in your functions.php file.

Viewing 1 replies (of 1 total)
  • The topic ‘functions.php breaking suffusion child theme’ is closed to new replies.