Replies
Hi, So to explain what i want it’s to understand how to do with this answer you give to nick in that post : https://buddydev.com/support/forums/topic/rename-wall-photo/
———-
Step 1: Force MediaPress to avoid creating the context gallery on demand:-remove_filter( ‘mpp_get_context_gallery’, ‘mpp_get_activity_wall_gallery’, 10, 2 );
Now, Provide your own context gallery helper by adding to the filter ‘mpp_get_context_gallery’ Please see how we do it in
mpp_get_activity_wall_gallery()
You can check the $args’component’] ==’groups’ to check it it is for groups wall gallery. Hope that helps.
——-Can you tell me where to put the remove_filter and how to use the mpp_get_context_gallery.
Thanks a lotHi Brajesh,
I would like to rename by the name of the group.I’m using this shortcode : mpp-list-gallery
The name is always : Wall photo galerie
I would like to have the name of the group exemple : for the group “Repair café” to have “Repair café Photo” or for the group “Permaculture” to have “Permaculture Photo”.
Is it possible ?
Thanks for your answer
Françoise