Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Installing & running WordPress (http://forum.bytesforall.com/forumdisplay.php?f=6)
-   -   [SOLVED] Remove byline or kicker when post is sticky? (http://forum.bytesforall.com/showthread.php?t=4020)

blueprairie Oct 22, 2009 03:41 PM

[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!

juggledad Oct 22, 2009 04:28 PM

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>'); } ?>

blueprairie Oct 22, 2009 05:02 PM

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)

juggledad Oct 22, 2009 05:08 PM

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.

blueprairie Oct 22, 2009 05:11 PM

Any tips for a successful upgrade? The "You Will Lose All Your Settings" message is quite frightening.

Thanks for your help!

juggledad Oct 22, 2009 05:26 PM

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.

blueprairie Oct 24, 2009 11:00 AM

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:38 PM.

Powered by vBulletin® Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.