Skip to:
Content
Pages
Categories
Search
Top
Bottom

include (TEMPLATEPATH . ''); not working in the child the


  • Sven Lehnert
    Participant

    @svenl77

    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

Viewing 2 replies - 1 through 2 (of 2 total)

  • Anonymous User 96400
    Inactive

    @anonymized-96400

    Substitute TEMPLATEPATH with STYLESHEETPATH and it should work


    Sven Lehnert
    Participant

    @svenl77

    Thanks a lot Travel-junkie, its working now!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘include (TEMPLATEPATH . ''); not working in the child the’ is closed to new replies.
Skip to toolbar