Trouble with Child Theme (5 posts)

  1. TheHypnonaut
    Posted 4 years ago #

    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?


  2. Michael
    Forum Moderator
    Posted 4 years ago #

    do not copy the full functions.php of the parent theme into a child theme;


  3. TheHypnonaut
    Posted 4 years ago #

    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.

  4. TheHypnonaut
    Posted 4 years ago #

    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: http://demos.antthemes.com/target/
    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: http://antthemes.com/
    Tags: black,translation-ready,threaded-comments,light,two-columns,theme-options
    License: GNU General Public License v2.0
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    Template: target
    @import url (".../target/style.css");
  5. TheHypnonaut
    Posted 4 years ago #

    I know what it is now....damn

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.