Title: Templater overwrite
Last modified: September 12, 2020

---

# Templater overwrite

 *  Resolved [nergerf](https://wordpress.org/support/users/nergerf/)
 * (@nergerf)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/templater-overwrite/)
 * Hello, how can I overwrite the template?
    thank you

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

 *  Plugin Author [StaxWP](https://wordpress.org/support/users/staxwp/)
 * (@staxwp)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/templater-overwrite/#post-13396672)
 * Hello, you mean to override the templates from the plugin under templates/buddypress/?
 * Let me know. Thanks
 *  Thread Starter [nergerf](https://wordpress.org/support/users/nergerf/)
 * (@nergerf)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/templater-overwrite/#post-13397178)
 * Hello,
 * Yes, I would like. For example: stax-buddy-builder / templates / buddypress /
   members / members-loop.php, following position “<? Php if (bp_has_members (bp_ajax_querystring(‘
   members’))):?>”
    change to “<? php if (bp_has_members (bp_ajax_querystring (‘
   members’). ‘& type = alphabetical’)):?>”
 * Thanks
 *  Plugin Author [StaxWP](https://wordpress.org/support/users/staxwp/)
 * (@staxwp)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/templater-overwrite/#post-13401940)
 * Hi, I will add an option so you can add that directly from the Elementor editor
   🙂
    But if you want to override it you can just copy it in your child theme in
   buddypress/members/members-loop.php
 *  Thread Starter [nergerf](https://wordpress.org/support/users/nergerf/)
 * (@nergerf)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/templater-overwrite/#post-13401988)
 * Thank you.
    I have overwritten it in ChildTheme / buddypress / members / members-
   loop.php. Unfortunately it doesn’t work with builder, but only without stax-buddy-
   builder
 * thank you
 *  Plugin Author [StaxWP](https://wordpress.org/support/users/staxwp/)
 * (@staxwp)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/templater-overwrite/#post-13402469)
 * Hi, let me check that and get right back
 *  Plugin Author [StaxWP](https://wordpress.org/support/users/staxwp/)
 * (@staxwp)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/templater-overwrite/#post-13402899)
 * An update will be released in a few hours and you will be able to override the
   templates in child theme: /buddybuilder/
 * Also just for that override I recommend to add this snippet instead to functions.
   php
 *     ```
       add_filter( 'bp_ajax_querystring', 'stax_override_bp_querystring', 10, 2 );
       function stax_override_bp_querystring( $query_string, $object ) {
   
       	if ( $object === 'members' ) {
       		$query_string .= '&type=alphabetical'; //custom query here
       	}
   
       	return $query_string;
   
       }
       ```
   
 *  Thread Starter [nergerf](https://wordpress.org/support/users/nergerf/)
 * (@nergerf)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/templater-overwrite/#post-13402983)
 * Thank you very much
 *  Plugin Author [StaxWP](https://wordpress.org/support/users/staxwp/)
 * (@staxwp)
 * [5 years, 6 months ago](https://wordpress.org/support/topic/templater-overwrite/#post-13403642)
 * Sure thing. Don’t forget to support our plugin with a 5 🌟 rating. It will mean
   a lot. Thanks

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

The topic ‘Templater overwrite’ is closed to new replies.

 * ![](https://ps.w.org/stax-buddy-builder/assets/icon-256x256.png?rev=2534986)
 * [BuddyPress Builder for Elementor - BuddyBuilder](https://wordpress.org/plugins/stax-buddy-builder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/stax-buddy-builder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/stax-buddy-builder/)
 * [Active Topics](https://wordpress.org/support/plugin/stax-buddy-builder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/stax-buddy-builder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/stax-buddy-builder/reviews/)

## Tags

 * [template](https://wordpress.org/support/topic-tag/template/)

 * 8 replies
 * 2 participants
 * Last reply from: [StaxWP](https://wordpress.org/support/users/staxwp/)
 * Last activity: [5 years, 6 months ago](https://wordpress.org/support/topic/templater-overwrite/#post-13403642)
 * Status: resolved