Support » Plugin: Subscribe2 » "Subscribe" button text

Viewing 6 replies - 1 through 6 (of 6 total)
  • @krmediadesigns,

    There are two filters in the code that allow you to do this;
    ‘s2_subscribe_button’ and ‘s2_unsubscribe_button’. To use them you need to create a little plugin with code something like this.

    function my_subscribe_button() {
    	return "My Preferred Text";
    }
    add_filter('s2_subscribe_button', 'my_subscribe_button');

    Perfect, thanks!

    I have the same problem both for “subscribe” and “unsubscribe” buttons.

    But where do you put that code?

    Regards

    @tcas,

    You need to create your own mini-plugin. This codex article should help you.

    Thank you for your quick response but i have’nt tried to create a plugin before, it seems to be a little too complicated.

    Maybe krmediadesigns who asked the question in the first place could give us his resolution if he is reading this.

    @tcas,

    It’s really not that difficult as all the code you need is listed above. You just need to add the plugin header and then wrap that in the PHP open and close tags.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘"Subscribe" button text’ is closed to new replies.