I’m looking for how I can edit the text within the [swpm_mini_login] widget? It reads as:
Login Here | Not a member? Join Now
and I’d like to modify what it says slightly.
Any thoughts and direction appreciated!
We will try to add this to the custom messages addon in the next release.
For the time being, you can modify the following function’s PHP code to customize it:
Look for the following function:
you probably already solved it, but this might help someone else – rather than customising the plugin and losing changes on update. Put it in a little site specific plugin, and modify the shortcode’s output. e.g. I use the mod_swpm_login_form shortcode, instead of swpm_login_form
//Replace the [swpm_login_form] shortcode output with something else
$output=do_shortcode(‘[swpm_login_form]’); //Get the standard shortcode’s output
//do stuff with the strings here, replace this, remove that, etc
You must be logged in to reply to this topic.