Hi Mr. Vibe!
I'd like to use a FontAwesome icon for MyCred points prefix
I've found this tutorial http://codex.mycred.me/filters/mycred_format_creds/ on their website but don't know how/where to implement it on WPLMS
Thank you!
@plx00,
Please give me some time to test this on my setup.
@plx00,
Please go to wp-admin -> Plugins -> Editor -> select wplms customizer plugin
and paste the below code.
add_filter( 'mycred_format_creds', 'mycredpro_add_html_to_rendered_points' );
function mycredpro_add_html_to_rendered_points( $points ) {return '<i class="fa fa-diamond"></i> ' . $points;}
you can change fontawesome icon by passing class name.
This reply has been marked as private.
@plxs00,
Make sure you have both plugins activated: MyCred Plugin and WPLMS MyCred ADDON
Refer:
http://prntscr.com/hfudxf
http://prntscr.com/hfuegt
MyCred Settings:
http://prntscr.com/hfukh4
[Resolved]
Hello Diana, thank you very much for your help
The problem before is that I didn't have 'Editor' in my plugin sub-menu due to a Security tweak performed by a Security plugin
I changed the security settings and now it works, thank you!
@plxs00,
Thanks for confirming, now closing the topic.