-
How can i change the text to something else where it say ‘Recent Activity’ on activity page?
Thanks in advance,
Gaz
Just figured it out. For anyone who is interested or needs this you simply need to go to the following within your main servers WordPress installation directory:
/wp-content/plugins/userpro/addons/social/functions/shortcode-main.php
Then simply edit the text within code at the top of the file:
PHP1234567891011/* Filter shortcodes args */add_filter('userpro_shortcode_args', 'userpro_sc_shortcodes_arg', 99);function userpro_sc_shortcodes_arg($args){$args['following_heading'] = __('Following','userpro');$args['followers_heading'] = __('Followers','userpro');$args['activity_heading'] = __('Recent Activity','userpro');$args['activity_all'] = 0;$args['activity_per_page'] = userpro_sc_get_option('activity_per_page');$args['activity_side'] = 'refresh';$args['activity_user'] = '';return $args;In my case i needed to edit the text Recent Activity so i edited the text within the appostraphy e.g.
('Recent Activity','userpro');
to as an example('My Text Here','userpro');
This will work for
Followers
theRecent Activity
text andFollowing
Thought I would share with all of you to help you out like I needed it!
Regards,
Gaz
Hey Thank you so much for sharing the solution over here which could also help others in need.
Your welcome! Using Userpro I am learning more and more each day. It should be me thanking you for an excellent plugin well worth every penny paid! You’re the real hero’s!
You must be logged in to reply to this topic.