Hello All,
If I want to hard code the E-News/RSS by email sign-up into my sidebar and create my own background, can I do that by inserting the code above the widgeted area in the sidebar.php and then defining my own CSS for that? I want to still be able to use the widgeted area, but don't want it to overwrite the RSS sign-up.
I'm thinking I can add this:
Code:
<div class="enews">
<h4>eNews & Updates</h4>
<form id="subscribe" action="http://feedburner.google.com/fb/a/mailverify" method="post" target="popupwindow" onsubmit="window.open('http://feedburner.google.com/fb/a/mailverify?uri=<?php echo get_theme_mod('enews_id'); ?>', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true">
Sign up to receive breaking news
as well as receive other site updates!</p><input type="text" value="Enter your email address..." id="subbox" onfocus="if (this.value == 'Enter your email address...') {this.value = '';}" onblur="if (this.value == '') {this.value = 'Enter your email address...';}" name="email"/><input type="hidden" value="<?php echo get_theme_mod('enews_id'); ?>" name="uri"/><input type="hidden" name="loc" value="en_US"/><input type="submit" value="GO" id="subbutton" /></form>
</div>
Between this code:
Code:
<div id="sidebar">
<ul id="sidebarwidgeted">
Please correct me if I am wrong in my thinking about this. I'm not sure where this line of code would need to go as I am not real familiar with php: <?php if(get_theme_mod('enews') == 'Yes') { ?>. If anyone can help me out with this I would greatly appreciate it. Thanks for the help
Tyy