changes in includes directory of a child theme aren't included
Hi,
I'm trying to set a child theme for my changes. CSS and changes in the main child directory are working well, but I can't make my include directory changes to stick. They are being ignored.
My child theme, called classipressHeb (for hebrew) sits in it's own directory.
I've placed a new sidebar-contact.php under the classipresHeb/includes folder but it's ignored.
To debug I've add the sidebar-ad.php (which calls it) to the child theme and when I print the TEMPLATEPATH I see it points to the parent theme. I believe the following code is responsible for the include, so if TEMPLATEPATH is wrong it's clear why it isn't called.
Code:
include_once(TEMPLATEPATH . '/includes/sidebar-contact.php' );
I get:
mysite....com.com..../httpdocs/
wp/
wp-content/themes/classipress
Am I missing something? should I change the calling php file in the parent to explicitly call the includes directory?
I've read the tutorials on the child theme but none of them explain how the mechanism works so I'm having a difficulty of sorting this out.