Support » Themes and Templates » Trouble with Child Theme

  • I’m following the Child Theme prompt and I get this message

    Fatal error: Cannot redeclare target_list_pings() (previously declared in /homepages/11/d424201237/htdocs/wp-content/themes/target-child/functions.php:37) in /homepages/11/d424201237/htdocs/wp-content/themes/target/functions.php on line 40

    What am i doing wrong?

Viewing 4 replies - 1 through 4 (of 4 total)
  • do not copy the full functions.php of the parent theme into a child theme;

    I think it has something to do with functions.php I deleted that from my child theme and I have my child up. The only thing now is that there is a white border around my pages. I do not like.

    I deleted functions.php from my child folder; however, there is now a white border around my pages and my footer widgets are skewed. What happened? All I have in my child is style.css, screenshot, and footer (I made changes to this fine. Below is the code I got.

    Theme Name: target child
    Theme URI:
    Description: A very neat and clean black and white business theme. The theme supports widgets. And features theme-options, threaded-comments and multi-level dropdown menu. A simple and neat typography.
    Version: 1.8.3
    Author: Manishg
    Author URI:
    Tags: black,translation-ready,threaded-comments,light,two-columns,theme-options
    License: GNU General Public License v2.0
    License URI:
    Template: target
    @import url (".../target/style.css");

    I know what it is now….damn

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Trouble with Child Theme’ is closed to new replies.