StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-20-2009, 12:01 PM
TyyWard TyyWard is offline
Registered User
Pro Plus Member
 
Join Date: Nov 2008
Posts: 345
Default E-News/RSS by Email Question

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 &amp; 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
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Signup for email news and updates.... Molson11 General Discussion 11 12-22-2009 04:38 PM
How to add 'Sign Up for email news and update!'? sharm General Discussion 5 06-18-2009 12:51 PM
Recent news question StuUK General Discussion 1 03-07-2009 12:34 PM
Email news and updates Moranimal General Discussion 1 01-09-2009 05:09 PM


All times are GMT -5. The time now is 07:09 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.