Default Widgets
-
Hi,
I’m trying to setup WordPress, so that on installation there is a default text widget with (for example) an opt in box with the following code:
<div class="yellowbox"> <div class="roundedcornr_content_417160-y"> <h3 style="color:red; padding-top:5px;">Sign Up for Your FREE News, Views and Tips from Me</h3> <form class="clear"><table width="100%" border="0" align="center"><tr><td>Your Name: </td><td><input type="text" width="8" name="Name" /></td></tr> <tr><td>Your Email: </td><td><input type="text" width="5" name="Email" /></td></tr> </table> <div style='text-align:center;'><input style="margin-top:8px; padding: 2px 8px; font-weight: bold; text-align:center;" type="submit" value="Sign Me Up >>" /></div> </form> <div style="font-size:9px; text-align:center; padding-top:10px;">I protect your privacy. <a href="/privacy-policy/">Privacy Policy</a></div> </div> </div>
After the text widget, I’d like to also initialise the “Pages” widget.
I’d like to edit WordPress in a way so that there is no need to manually create these widgets, by dragging and dropping them into the “Sidebar” section of the widget editor.
Any ideas how I can achieve this?
Thanks in advance.
Cheers,
Reece.
- The topic ‘Default Widgets’ is closed to new replies.