Results 1 to 2 of 2

Thread: Override child theme-sidebars.php

  1. #1
    Thread Starter
    Expired Customer tinnojr's Avatar
    Join Date
    Jun 2013
    Location
    Brazil
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Override child theme-sidebars.php

    Hello guys.

    I just want to put a span tag before some h2 tag on sidebar widgets.

    I'm assuming that I can do that overriding the includes/theme-sidebars.php, right?

    How can I do that?
    I'd created the file on includes folder and paste the original code to try some result and
    Code:
    require_once (dirname( __FILE__ ) . '/includes/theme-sidebars.php')
    on child function.php. And got

    Cannot redeclare cp_sidebars_init()

    can anybody help me?

  2. #2
    samcy's Avatar
    Join Date
    Mar 2012
    Location
    Germany
    Posts
    12,098
    Thanks
    121
    Thanked 1,756 Times in 1,442 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Rolf Hassel (Samcy)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] includes/theme-xxyyzz.php files don't override parent theme?
    By businessbloomer in forum JobRoller General Discussion
    Replies: 1
    Last Post: December 11th, 2014, 02:50 AM
  2. Child them-sidebars file
    By armi in forum ClassiPress General Discussion
    Replies: 2
    Last Post: August 6th, 2013, 04:26 AM
  3. Using child theme to change backgrounds. Can't override blue.css
    By thomson1833 in forum Report ClassiPress Bugs
    Replies: 3
    Last Post: November 8th, 2012, 01:15 PM
  4. child themes css override
    By binh in forum Report ClassiPress Bugs
    Replies: 3
    Last Post: May 22nd, 2012, 04:31 AM
  5. [SOLVED] Child Theme: override the variables
    By einstein in forum ClassiPress General Discussion
    Replies: 3
    Last Post: March 25th, 2012, 04:04 PM