• Hello,

    I’m pretty new to WordPress so customizing a theme is somehow try and error.
    I want to add a few settings to the Theme Settings. I’m using the theme “responsive” and I’m trying to include my own “/core/includes/theme-options/theme-options.php” .
    I require it in the child-themes function.php like this.

    require_once( get_template_directory(). '-child/core/includes/theme-options/theme-options.php' );

    Reading through the child theme documentation made me think that the old theme-options.php file would be overwritten.
    But i get the error:

    Fatal error: Cannot redeclare responsive_admin_enqueue_scripts() (previously declared in /var/www/virtual/efa/html/wordpress/wp-content/themes/responsive-child/core/includes/theme-options/theme-options.php:31) in /var/www/virtual/efa/html/wordpress/wp-content/themes/responsive/core/includes/theme-options/theme-options.php on line 31

    How can I fix this?

    Greetings
    j0h4nn3s

  • The topic ‘customizing Theme Settings within Child Theme’ is closed to new replies.