Skip to:
Content
Pages
Categories
Search
Top
Bottom

How to call【profile-loop.php】in【edit.php】


  • mutoha
    Participant

    @mutoha

    I want to call tamplate【A】in the template【B】.

    template【A】
    plugins\buddypress\bp-templates\bp-legacy\buddypress\members\single\profile-loop.php

    template【B】
    plugins\buddypress\bp-templates\bp-legacy\buddypress\members\single\edit.php

    But even if you write the following code in 【B】, 【A】 can not be called.

    <?php get_template_part( 'profile/profile', 'loop' ); ?>	
    <?php bp_get_template_part( 'profile/profile', 'loop' ); ?>

    What should I write in 【B】?

    Tthanks.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar