Project

General

Profile

Actions

Feature #12065

closed

Tinyletter in sidebar widget

Added by Colin McDonald over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority name:
Normal
Assignee:
-
Category name:
WordPress Plugins
Target version:
Start date:
2019-11-13
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

As a final step in the newsletter plugin transition covered more in #11878 and #11647, I'm working with the CPCP (https://cpcp.commons.gc.cuny.edu/) to put a signup box in the sidebar of their homepage linked to their new Tinyletter account. The code provided by Tinyletter is below. When I try to add it as a Custom HTML widget in Wordpress, I'm told that the <form> and <input> tags aren't allowed. Perhaps we can do a workaround or simple custom widget on this? I believe there's already some code out there from others, like here: https://github.com/frebro/wp-tinyletter-widget

&lt;form style="border:1px solid #ccc;padding:3px;text-align:center;" action="https://tinyletter.com/cpcp" method="post" target="popupwindow" onsubmit="window.open('https://tinyletter.com/cpcp', 'popupwindow', 'scrollbars=yes,width=800,height=600');return true"&gt;&lt;p&gt;&lt;label for="tlemail"&gt;Enter your email address&lt;/label&gt;&lt;/p&gt;&lt;p&gt;&lt;input type="text" style="width:140px" name="email" id="tlemail" /&gt;&lt;/p&gt;&lt;input type="hidden" value="1" name="embed"/&gt;&lt;input type="submit" value="Subscribe" /&gt;&lt;p&gt;&lt;a href="https://tinyletter.com" target="_blank"&gt;powered by TinyLetter&lt;/a&gt;&lt;/p&gt;&lt;/form&gt;
Actions

Also available in: Atom PDF