[SOLVED] Remove byline or kicker when post is sticky?
It is possible to set up my homepage/blog page so that if a post is sticky the byline and/or kicker do not display?
Thanks for the help! |
yup, put a php if arround the items you don't want in 'The LOOP' so to prevent the byline you would do
HTML Code:
<?php if (!is_sticky()) { bfa_post_byline('<div class="post-byline">','</div>'); } ?> |
Sorry to be dense...but where do I put it?
I found a reference to inserting into loop as: Go to ATO->Style & edit CENTER COLUMN->The LOOP But I cannot find "Style & edit CENTER COLUMN" only "Center" and that's not for PHP inserts (version 3.2) |
Ohhh you are on 3.2.....
I'd suggest you move up to 3.4.4 - 'The LOOP' is a new area that was introduced in 3.4.x so you wouldn't have to make all kinds of changes to the code and the changes woulld carry over from release to release. |
Any tips for a successful upgrade? The "You Will Lose All Your Settings" message is quite frightening.
Thanks for your help! |
I'd make sure you are on the latest Wordpress (2.8.5 as of this writting) and PHP 5xx
Only upgrade one thing at a time. Make sure it is working and you have a backup, then upgrade the next thing. To upgrade Atahualpa from 3.2 to 3.4.4 1) do a backup of your database 2) Manually copy the new version of the theme to the themes folder and make sure it's folder is called atahualpa344. This should mean that you will have 2 atahualpa folders in the themes folder 3) If you have any header images in the atahualpa/images/header folder, copy them to the atahuapa344//images/header folder 4) go to DASHBOARD/Appearances/Themes and activate Atahuapa 3.4.4 sit back and look over all the new features You won't lose any settings however if you have madeany changes to the php code, you will loose those. |
Fantastic! The upgrade went smoothly and the change in The Loop did exactly what I needed.
Thank you! |
All times are GMT -6. The time now is 06:11 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.