Modifyin Edu-clean

Hey guys,

Issue: I’ve been modifying some theme files and copying the modified version into the edu-clean-child directory. I am now modifying the bp-profile.php and copied to the edu-clean-child directory but changes are not showing. I noticed that in the header, the reference to profile is not the same as to bp-profile

<?php locate_template( array( ‘profile.php’:wink:, true ) ?>

vs.

<?php include (TEMPLATEPATH . ‘/bp-profile.php’:wink:; ?>

How do I handle changes to bp-profile.php ?

Thanks.

  • Richie_KS
    • HummingBird

    hi joe

    first you need to edit the parent-theme home.php (if you haven’t done so in our previous discussion)

    replace the include for both front-left and front-right..this is to make sure all tpl changes will take effect.

    <?php locate_template( array( 'front-left.php'), true ); ?>

    <?php locate_template( array( 'front-right.php'), true ); ?>

    now..open front-right and replace

    <?php include (TEMPLATEPATH . ‘/bp-profile.php’:wink:; ?>

    with

    <?php locate_template( array( ‘bp-profile.php’:wink:, true ); ?>

    and see if the changes take effect..also could you try if this work instead of the locate_template()

    <?php include ( get_template_directory() . ‘/bp-profile.php’:wink:; ?>

    want to see if this can be alternative other than locate_template() call…thx

  • Joe
    • Site Builder, Child of Zeus

    Hey Richie,

    It looks like this worked: <?php locate_template( array( ‘bp-profile.php’:wink:, true ); ?>

    But not this: <?php include ( get_template_directory() . ‘/bp-profile.php’:wink:; ?>

    thanks!