Tagged: Wall Photo
Hello,
How do I rename Wall Photo Gallery to the <GROUP NAME> Wall Photo Gallery ? I have users belonging to multiple groups and when I create a page where they can see all the groups using shortcode [mpp-list-gallery] it shows all the Galleries from the Groups as ‘Wall Photo Gallery’ confusing the user, which Gallery is for which Group.
-Nick
Hi Nick,
Are you using MediaPress 1.0.6?If yes, It can be easily done.
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.
Marking it as resolved and closing due to lack of replies.
With version 1.1.6 and above, there is a better way to do it.
https://buddydev.com/support/forums/topic/rename-wall-photo-gallery-2/#post-9961
The topic ‘ [Resolved] Rename Wall Photo’ is closed to new replies.