Viewing 5 replies - 1 through 5 (of 5 total)
  • @jpw94

    You can place the Subscribe2 form on different pages with the appropriate button hidden but on submission the content will be redirected to the default Subscribe2 page – perhaps make that one simple with just the form and hide it.

    Thread Starter jpw94

    (@jpw94)

    I think you’ve answered the question but to clarify: I want to link to different pages when a person either subscribes or unsubscribes. I’m guessing that can’t be done.

    Thanks for the quick response.

    @jpw94

    Actually thinking about it a little more this could be done with careful use of the shortcode, the parameters are documented here:
    https://subscribe2.wordpress.com/support/shortcode-usage-and-parameters/

    For the ‘subscribe’ page, say you created a page with an id number of 100, the shortcode would be:
    [subscribe2 id=”100″ hide=”unsubscribe”]

    The create your ‘unsubscribe’ page (probably ID 101), the shortcode will be:
    [subscribe2 id=”101″ hide=”subscribe”]

    Thread Starter jpw94

    (@jpw94)

    Yes, that’s definitely an approach. Pushing the envelope a little, I was thinking more in the line of something like this

    [subscribe2 sub-id=”100″ unsub-id==101″]

    So that there’s a single subscribe/unsubscribe form but different destinations depending on the operation taken.

    100 – “Thanks for subscribing your confirmation email is on it’s way….”
    101 – “We’re sorry to see you go….”

    @jpw94

    That’s almost available too, on clicking the link in the email the user is taking to a page saying either “You have successfully subscribed” or “You have successfully unsubscribed”.

    You could customise that message using the API hooks ‘s2_subscribe_confirmed’ and ‘s2_unsubscribe_confirmed’ as documented here:
    https://subscribe2.wordpress.com/support/api/

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Separate confirmation page for unsubscribe’ is closed to new replies.