Tagged: Wall Photo
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.
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
You can check the $args’component’] ==’groups’ to check it it is for groups wall gallery. Hope that helps.
With version 1.1.6 and above, there is a better way to do it.
The topic ‘ [Resolved] Rename Wall Photo’ is closed to new replies.