The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

functions.php breaking suffusion child theme (2 posts)

  1. bclogston041
    Posted 4 years ago #

    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.

  2. Sayontan Sinha
    Posted 4 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic