WordPress.org

Ready to get started?Download WordPress

Forums

Subscribe2
[resolved] Removing the "Unsubscribe" button (4 posts)

  1. ewsweb
    Member
    Posted 2 years ago #

    Hello,

    Does anyone knows how to remove the "Unsubscribe" button, and in which file or path is located the code?

    Do I need FTP to do it, or from wordpress edit plugins?

    Thank you

    Adri

    http://wordpress.org/extend/plugins/subscribe2/

  2. mattyrob
    Member
    Plugin Contributor

    Posted 2 years ago #

    @ewsweb,

    You don't need to make any code changes to do this, it's already available.

    If you are using the Widget in the sidebar go to Appearance->Widgets, open un the Subscribe2 widget and check the button to hide the Unsibscribe button.

    If you have put the form on a page and want to do the same edit the Page and look at the HTML source of the page, you'll fine the Subscribe2 token, edit it to this:
    [subscribe2 hide="unsubscribe"]
    And the Unsubscribe button will get hidden.

  3. idealistia
    Member
    Posted 1 year ago #

    How can you change the text/color/size of the button and put the subscribe button on the same line? Would also like to change the "enter email" text that instructs what the button is for. And just one last question... how do I change the page it automatically redirects to after you enter your email. Want it to go back to the homepage. Thank you.

  4. mattyrob
    Member
    Plugin Contributor

    Posted 1 year ago #

    @idealistia,

    How can you change the text/color/size of the button and put the subscribe button on the same line?

    With CSS. You need to define your style in your themes style.css file, probably best to do this in a new class. Then apply this class name in the widget settings or wrap the subscribe2 shortcode in HTML DIV tags using that same class.

    Would also like to change the "enter email" text that instructs what the button is for.

    You can only accomplish this by editing the code.

    And just one last question... how do I change the page it automatically redirects to after you enter your email. Want it to go back to the homepage.

    Well, that depends on whether Subscribe2 is present on your homepage, if it isn't redirecting to there will mean the plugin won't work. If it is on there then you can select "Use Home Page" in the Widget settings where it says "Post form content to page:"

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags