![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
#1
|
||||
|
||||
|
I'd like to add an "Announcement" feature to a site that uses the old Code Blue (30) theme. Since I'm currently not posting to that blog frequently, I don't want a noticeably old post to be at the top of the home/blog page. So I thought I'd add a Welcome notice at the top of the page, using the WP-Sticky plugin's "Announcement" feature.
I'm currently testing the plugin locally, so I can't direct you to a live example, but the site I want to apply the announcement to is Lewisville Photos. My questions are threefold: QUESTION #1 I only want a TITLE and BODY TEXT to be displayed in the announcement. How can I REMOVE the following info from the Announcement, while retaining that info for regular posts?
STYLING the Announcement: I read on one website that if I changed the following code in index.php: Code:
<div class="postarea"> Code:
<div class="postarea"<?php if (is_announcement()) {echo " id="announcement"";} ?>>
Code:
#announcement .postarea{
background-color:#FFFF99;
}
What CSS code is needed in order to apply custom styling to the announcement? QUESTION #3 Just curious, when I publish this "Announcement" post — or whenever I make changes to it — will the announcement show up in the site's RSS feed? Will my email subscribers receive an email with the contents of the announcement? Sorry this is a bit long :smile:, but thanks for any assistance. Deb
__________________
Deb Phillips The Photo Gal |
| Thread Tools | |
| Display Modes | |
|
|
© Copyright 2012 Copyblogger Media LLC · StudioPress™ is a trademark of Copyblogger Media LLC
Privacy Policy | Refund Policy | Terms of Service | Affiliate Program | Contact Us