stephnikel
Forum Replies Created
-
Well, i find a way to change a line in a core file : um-actions-profile.php
echo $overlay . get_avatar( um_user( ‘ID’ ), $default_size);
to -> echo $overlay . get_avatar( um_user( ‘ID’ ), $default_size == ‘original’ );
But not sure it’s a good practice, as i’m not sure we can override a core file…
Got it.
Check this post if have same issue :
https://wordpress.org/support/topic/search-filters-for-logout-users/
Got it i think!
For those who are interested :
$value = um_user( ‘jobs’ );
if(is_array($value)) {
$value = implode(‘,’, $value);
echo $value;
}
———————
Return on my web page : DesignerWell,
actually if i put this : <?php var_dump (um_user(‘jobs’)); ?>
it returns : array (size=1)
0 => string ‘Designer’ (length=11)I’m probably not far. Going on.
Update,
Well i success to change the language of the plugin.
For those who could need the process :
1.
I made translation’s files into Poedit in French
Output 2 files :
-wp-plugins-subscribe2-dev-fr.po
-wp-plugins-subscribe2-dev-fr.mo2.Theses files i place them into wp-content>languages>plugins
3.Checking that my general settings of wordpress was in French
4.At this step , the translation doesn’t work yet.
One more action
I rename the two files:
-wp-plugins-subscribe2-dev-fr.po –> subscribe2-fr_FR.po
-wp-plugins-subscribe2-dev-fr.mo –> subscribe2-fr_FR.mo5.Refresh and you got the plugin translate.
***
Just, from my first post, one question:
Actually the status of the translation is “Waiting”. What do excatly means ? Some people will check the translation to validate it.Regards