include (TEMPLATEPATH . ''); not working in the child the
In version 1.0.3 of buddypress, I build a member theme and use the
<?php include (TEMPLATEPATH . ”); ?> tag to bring my sidebars into the profile, groups pages and so on.
Now I have changed my template structure to the parent/child architecture.
All is running well. Just all the sidebars I included are not there.
I tried with get_stylesheet_directory_uri() instead of TEMPLATEPATH .
I wrote in the path the static way.
But all is not working.
If I echo the get_stylesheet_directory_uri() or TEMPLATEPATH . Both give back the same correct path.
What I’m doing wrong? Any help please
- The topic ‘include (TEMPLATEPATH . ''); not working in the child the’ is closed to new replies.