Changeset 1158478
- Timestamp:
- 05/12/2015 06:40:00 AM (11 years ago)
- Location:
- mail-subscribe-list/tags/2.1.1
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
mail-subscribe-list/tags/2.1.1/index.php
r1158474 r1158478 64 64 ?> 65 65 66 <div class="meta-box-sortables"> 67 <div class="postbox"> 68 69 <h3><span>How to setup</span></h3> 70 <div class="inside"> 71 <p>You can use this to subscribe readers from any email service you like. Just export the subscribers whenever you want and import them at your convenience. </p> 72 <p>1- <a href="/wp-admin/widgets.php">Click here</a> to add your Subscribe Widget</p> 73 <p>2- Add [smlsubform] on any page / post you'd like</p> 74 <p>3- Add <code><?php echo smlsubform(); ?></code> in any template to show the form</P> 75 <p>There are extra options you can add. Below is an explanation of what each option does:</p> 76 <ul> 77 <li><strong>"prepend" </strong>-> Adds a paragraph of text just inside the top of the form.</li> 78 <li> <strong>"showname" </strong>-> If true, this with show the name label and input field for capturing the users name.</li> 79 <li> <strong>"nametxt" </strong>-> Text that is displayed to the left of the name input field.</li> 80 <li> <strong>"nameholder" </strong>-> Text that is displayed inside the name input box as a place holder.</li> 81 <li> <strong>"emailtxt" </strong>-> Text that is displayed to the left of the email input field.</li> 82 <li> <strong>"emailholder" </strong>-> Text that is displayed inside the email input box as a place holder.</li> 83 <li> <strong>"submittxt"</strong> -> Text/value that will be displayed on the form submit button.</li> 84 <li> <strong>"jsthanks"</strong> -> If true, this will display a JavaScript Alert Thank You message instead of a paragraph above the form.</li> 85 <li> <strong>"thankyou" </strong>-> Thank you message that will be displayed when someone subscribes. (Will not show if blank)</li> 86 </ul> 87 </div> 88 </div> 89 </div> 66 90 67 <table cellspacing="0" class="wp-list-table widefat fixed subscribers"> 91 68 <thead> … … 154 131 </div></div></div> 155 132 133 <div class="meta-box-sortables"> 134 <div class="postbox"> 135 136 <h3><span>How to setup</span></h3> 137 <div class="inside"> 138 <p>You can use this to subscribe readers from any email service you like. Just export the subscribers whenever you want and import them at your convenience. </p> 139 <p>1- <a target="_blank" href="wp-admin/widgets.php">Click here</a> to add your Subscribe Widget</p> 140 <p>2- Add [smlsubform] on any page / post you'd like</p> 141 <p>3- Add <?php echo smlsubform(); ?> in any template to show the form</P> 142 <p>There are extra options you can add. Below is an explanation of what each option does:</p> 143 <ul> 144 <li><strong>"prepend" </strong>-> Adds a paragraph of text just inside the top of the form.</li> 145 <li> <strong>"showname" </strong>-> If true, this with show the name label and input field for capturing the users name.</li> 146 <li> <strong>"nametxt" </strong>-> Text that is displayed to the left of the name input field.</li> 147 <li> <strong>"nameholder" </strong>-> Text that is displayed inside the name input box as a place holder.</li> 148 <li> <strong>"emailtxt" </strong>-> Text that is displayed to the left of the email input field.</li> 149 <li> <strong>"emailholder" </strong>-> Text that is displayed inside the email input box as a place holder.</li> 150 <li> <strong>"submittxt"</strong> -> Text/value that will be displayed on the form submit button.</li> 151 <li> <strong>"jsthanks"</strong> -> If true, this will display a JavaScript Alert Thank You message instead of a paragraph above the form.</li> 152 <li> <strong>"thankyou" </strong>-> Thank you message that will be displayed when someone subscribes. (Will not show if blank)</li> 153 </ul> 154 </div> 155 </div> 156 </div> 157 156 158 157 159 … … 166 168 <div class="inside"> 167 169 168 <p>We are a small company who makes useful software.<a target="_blank" href="https://wordpress.org/plugins/sumome">Check out our Amazing SumoMe plugin</a>!</p> 169 <p><a target="_blank" href="https://wordpress.org/plugins/mail-subscribe-list">Leave a :) review</a></p> 170 <p>We are a small company who makes useful software.<br /><br /> 171 1- <a style="font-weight:bold;size:20px" target="_blank" href="https://wordpress.org/plugins/sumome">Check out our Amazing SumoMe plugin</a>!</p> 172 <p>2- <a target="_blank" href="https://wordpress.org/plugins/mail-subscribe-list">Leave a :) review</a></p> 170 173 </div> 171 174 </div> -
mail-subscribe-list/tags/2.1.1/sml.php
r1158475 r1158478 85 85 $return .= '<p class="sml_email"><label class="sml_emaillabel" for="sml_email">'.$emailtxt.'</label><input class="sml_emailinput" name="sml_email" placeholder="'.$emailholder.'" type="text" value=""></p>'; 86 86 if ($showsubmit) $return .= '<p class="sml_submit"><input name="submit" class="btn sml_submitbtn" type="submit" value="'.($submittxt?$submittxt:'Submit').'"></p>'; 87 $return .= '<small><a href="http://sumome.com/?src=wp_msl">Powered by SumoMe</ small></form>';87 $return .= '<small><a href="http://sumome.com/?src=wp_msl">Powered by SumoMe</a></small></form>'; 88 88 89 89 return $return;
Note: See TracChangeset
for help on using the changeset viewer.