Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Still trying to override TEMPLATEPATH with STYLESHEETPATH

  1. #1
    Thread Starter
    mcasdorph's Avatar
    Join Date
    Apr 2010
    Location
    WV, USA
    Posts
    122
    Thanks
    17
    Thanked 4 Times in 4 Posts

    Still trying to override TEMPLATEPATH with STYLESHEETPATH

    I dont know much at all about functions but I've been trying to override
    Code:
    include_once(TEMPLATEPATH.'/includes/theme-header.php');
    with

    Code:
    include_once(STYLESHEETPATH.'/includes/theme-header.php');
    I looked up override_function on PHP.net http://php.net/manual/en/function.override-function.php

    I'm hoping to ultimately use the childthemes function.php to override the first code above and use the second, so I can edit main template files without touching the parent themes.

  2. #2
    Marketplace Seller mohsinoffline's Avatar
    Join Date
    Dec 2011
    Location
    Algeria
    Posts
    1,575
    Thanks
    44
    Thanked 213 Times in 192 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Do you need content that helps to rank your website better on Google? Check out https://aicontently.com

    Create a website like Retailmenot with FlatterPro Theme , Check out the demo here Retailmenot





  3. #3
    Thread Starter
    mcasdorph's Avatar
    Join Date
    Apr 2010
    Location
    WV, USA
    Posts
    122
    Thanks
    17
    Thanked 4 Times in 4 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    Marketplace Seller mohsinoffline's Avatar
    Join Date
    Dec 2011
    Location
    Algeria
    Posts
    1,575
    Thanks
    44
    Thanked 213 Times in 192 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Do you need content that helps to rank your website better on Google? Check out https://aicontently.com

    Create a website like Retailmenot with FlatterPro Theme , Check out the demo here Retailmenot





  5. #5
    Thread Starter
    mcasdorph's Avatar
    Join Date
    Apr 2010
    Location
    WV, USA
    Posts
    122
    Thanks
    17
    Thanked 4 Times in 4 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  6. #6
    Marketplace Seller mohsinoffline's Avatar
    Join Date
    Dec 2011
    Location
    Algeria
    Posts
    1,575
    Thanks
    44
    Thanked 213 Times in 192 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Do you need content that helps to rank your website better on Google? Check out https://aicontently.com

    Create a website like Retailmenot with FlatterPro Theme , Check out the demo here Retailmenot





  7. #7
    Thread Starter
    mcasdorph's Avatar
    Join Date
    Apr 2010
    Location
    WV, USA
    Posts
    122
    Thanks
    17
    Thanked 4 Times in 4 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  8. #8
    Marketplace Seller mohsinoffline's Avatar
    Join Date
    Dec 2011
    Location
    Algeria
    Posts
    1,575
    Thanks
    44
    Thanked 213 Times in 192 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Do you need content that helps to rank your website better on Google? Check out https://aicontently.com

    Create a website like Retailmenot with FlatterPro Theme , Check out the demo here Retailmenot





  9. #9
    Thread Starter
    mcasdorph's Avatar
    Join Date
    Apr 2010
    Location
    WV, USA
    Posts
    122
    Thanks
    17
    Thanked 4 Times in 4 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  10. #10
    Marketplace Seller mohsinoffline's Avatar
    Join Date
    Dec 2011
    Location
    Algeria
    Posts
    1,575
    Thanks
    44
    Thanked 213 Times in 192 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Do you need content that helps to rank your website better on Google? Check out https://aicontently.com

    Create a website like Retailmenot with FlatterPro Theme , Check out the demo here Retailmenot





Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Child Theme: override the variables
    By einstein in forum ClassiPress General Discussion
    Replies: 3
    Last Post: March 25th, 2012, 05:04 PM
  2. Override Function in Core Theme
    By Leongelis in forum ClassiPress General Discussion
    Replies: 3
    Last Post: March 22nd, 2012, 12:14 AM
  3. Does membership override Ad expiry days? Thanks
    By nikthompson in forum Report ClassiPress Bugs
    Replies: 11
    Last Post: January 24th, 2012, 05:50 AM
  4. Templatepath vs Stylesheetpath
    By isimone in forum ClassiPress General Discussion
    Replies: 0
    Last Post: January 18th, 2011, 08:41 AM