• Resolved jp

    (@viererspitzegmailcom)


    dear sir –

    i have googled until my hands bled and i have found many many posts from several years reagarding how to change the look and shape of the subscribe or unsubscribe botton in the widget.
    and i have battled my way through lines and lines of code as a complete novice – and well, ended up with nothing that works…

    so in desparation i am now turning to the experts to maybe find the solutions – where/ in what file do i need to make which changes?

    thank you for hopefully saving my day, jens

    https://www.ads-software.com/extend/plugins/subscribe2/

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

    I would recommended strongly against changing any of the source code as you would lose this changes every time I release an update.

    Instead use a div class name with appropriate CSS to the Subscribe2 form by either wrapping the shortcode in DIV tags or adding the necessary class name in the Widget settings.

    Thread Starter jp

    (@viererspitzegmailcom)

    hi mattyrob – thank you for the answer and all the other answers i have discovered you giving to clueless folks like me…
    but i am still puzzled: i have again googled alot as i am really not knowledgable on wordpress. so it looks like the file i should cahnge is class-s2-frontend.php
    is that correct?
    then i seems like i should do the css wrapping soemwhere close to line 60? correct?
    but what is it that i will wrap?
    all the other examples on the web that i can find of other people dealing with the same problem show code that does not show up in my installation (Version 8.9.1 and widget 1.1)
    i would reaaaaallly aprecaite your help on this again. thank you, jens

    @viererspitze,

    No code editing is needed, in the WordPress admin area go to Pages->All Pages. Find your subscription handling page and edit it.

    Where you currently have:
    [subscribe2]

    In the source of the page, change it to something like this:

    <div class="myclass">
    [subscribe2]
    </div>

    The ‘myclass’ bit needs to be a class configured in your theme that will style the form and buttons, maybe start with the class used for the search form is you have one.

    Thread Starter jp

    (@viererspitzegmailcom)

    hi – well, i now created a new page for folks to subscribe and unsubscribe, moving the function out of the sidebar. that actually looks good on a dedicated page and no need to fiddle around with the buttons anymore. so thank you for inspiring me to this idea ??

    Thread Starter jp

    (@viererspitzegmailcom)

    mhhh – sorry for coming back with another challenge: so i had moved the whole subscrib e and unsubscribe to a dedicated page. worked like a charm… but then i cleaned up the widget sidebar because i did not need it anymore. and now the process on the page does not work anymore. but the widget back on the sidebar, page works again. any clue what i might b doing wrong? maybe the link to the page (work in progress) helps?
    https://vu2620.srv01.hofstede.de/
    thanks, jens

    @jens,

    You probably need to go to Subscribe2->Settings and in the Appearance tab you need to select this new page in the drop down at the top where it says “Set default Subscribe2 page as”.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘old time favorite – change buttons’ is closed to new replies.