jerome-toole / skindeep

1 stars 0 forks source link

Link to mailing list in masthead #26

Closed briggySmalls closed 7 years ago

briggySmalls commented 7 years ago

The masthead should have a link to sign up to the mailing list. As demonstrated at http://idler.co.uk/ as seen in the attached image.

screen shot 2017-03-06 at 23 31 49
briggySmalls commented 7 years ago

Currently the site mailing list pop-up links to Mail Chimp's signup form as an action after submitting an email and name to: http://skindeepmag.us12.list-manage.com/subscribe/post?u=52a202f000bbf7fb27d49f694&id=943ad6701c

If the URL is visited without submitted form data it immediately shows validation errors as the username is not supplied.

Perhaps there is a place on Mail Chimp where a different link can be obtained from.

screen shot 2017-03-07 at 01 49 42

Additionally the 'Sign Up Source' checkboxes are confusing. When visiting from the pop-up the 'Newsletter sign up' option is ticked. Perhaps it can be hidden.

briggySmalls commented 7 years ago

The MailChimp settings in the wp-admin area have a setting to show/hide the Sign up Source. Whilst it was already set to 'hide', a select/deselect + save was required to actually hide this area.

briggySmalls commented 7 years ago

My current plan is to trigger the Icegram popup to show on click:

[icegram campaigns="XXXX"]<a href="#">Your Text </a> [/icegram]

I had wanted to put this into a widget rather than hardcode it into the theme. However even when enabling shortcodes in widgets it didn't play nice with the opening/closing of shortcodes. Perhaps a customiser option to select from currently active campaigns is a compromise? Perhaps with an option to change the text.

briggySmalls commented 7 years ago

This issue was not the fact that the shortcodes were not working in a widget. In fact the Campaign has rules set in the Retargeting section (Once shown, do NOT show this campaign again for: XXXX) that interfere with the shortcode working. Duplicating the campaign in Icegram with different rules works.

briggySmalls commented 7 years ago

This has been implemented by duplicating the Icegram campaign and using the icegram shortcode to make it appear on click as per comments above. In order to embed the shortcode in a widget, the Shortcode Widget plugin was used.