WordPress.org

Ready to get started?Download WordPress

Forums

Trouble with Child Theme (5 posts)

  1. TheHypnonaut
    Member
    Posted 2 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?

    http://www.thehypnonaut.com

  2. alchymyth
    The Sweeper & Moderator
    Posted 2 years ago #

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

    http://codex.wordpress.org/Child_Themes#Using_functions.php

  3. TheHypnonaut
    Member
    Posted 2 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
    Member
    Posted 2 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
    Member
    Posted 2 years ago #

    I know what it is now....damn

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.