Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages » Post-Kicker, -Byline & -Footer »

Remove Byline from a single post


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Jun 11, 2011, 01:48 PM
vCopia's Avatar
vCopia
 
72 posts · Jan 2011
Long Island, NY
Remove Byline from a single post

I read this related post: http://forum.bytesforall.com/showthr...ndividual+post, used the code provide therein, inserted it into the "Center Column Style" section of my ATO but nothing happened. See code below.

The post ID is #1.
I'm using ATO v. 3.6.7

Suggestions?

PHP Code:
<?php if ( !is_single('1') ) { bfa_post_byline('<div class="post-byline">','</div>');} ?>
  #2  
Old Jun 11, 2011, 08:24 PM
juggledad's Avatar
juggledad
 
22,186 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
Center colum style is for CSS not code

You need to edit index.php
__________________
Give a person a solution, you fix one issue, teach a person how to solve their problem you enable them forever.
Juggledad | Forum Moderator/Support
  #3  
Old Jun 12, 2011, 09:40 AM
vCopia's Avatar
vCopia
 
72 posts · Jan 2011
Long Island, NY
OK. I think I've got it. So for ATO v. 3.6.7 I have to edit the index.php directly. I also have an web site using v 3.4.9, and have a bunch of code inserted within the front-end ATO. Set up a new, quickie site this weekend with the new version and didn't note all the changes.

Thanks.
vCopia
  #4  
Old Jun 12, 2011, 10:02 AM
aQuickStudy's Avatar
aQuickStudy
 
43 posts · Mar 2010
Could you do it by setting it to "display:none" using CSS inserts? (And using the post number.) That would keep you from having to edit theme files.
  #5  
Old Jun 12, 2011, 10:11 AM
vCopia's Avatar
vCopia
 
72 posts · Jan 2011
Long Island, NY
Quote:
Originally Posted by aQuickStudy
Could you do it by setting it to "display:none" using CSS inserts? (And using the post number.) That would keep you from having to edit theme files.
Good point. Not sure. Let's see what Juggledad says...
  #6  
Old Jun 12, 2011, 10:53 AM
juggledad's Avatar
juggledad
 
22,186 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
sure you could do it with CSS, just have to have the right selector.
HTML Code:
div.post-1 .post-byline {display:none;}
__________________
Give a person a solution, you fix one issue, teach a person how to solve their problem you enable them forever.
Juggledad | Forum Moderator/Support
  #7  
Old Jun 12, 2011, 10:09 AM
vCopia's Avatar
vCopia
 
72 posts · Jan 2011
Long Island, NY
Nope. Spoke too soon. I ain't "got it" yet...

Tried inserting the code, as written above, in the index.php. First, I inserted it into the loop section, and when that didn't work I inserted it above the loop section. Both give me fatal errors. So... I'm guessing there is an error in the code, itself, as I've written it, that I'm not seeing. Thoughts?

vCopia

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Move Byline only on Single Post Pages? Jeff G Post-Kicker, -Byline & -Footer 3 Aug 2, 2010 10:42 AM
how to remove Post Title from Single Post page ONLY vargaso Center area post/pages 2 Apr 30, 2010 01:38 PM
[SOLVED] Byline working in single post pages, but not multiple? denise Post-Kicker, -Byline & -Footer 2 Mar 17, 2010 03:35 PM
[SOLVED] Remove byline or kicker when post is sticky? blueprairie Installing & running WordPress 6 Oct 24, 2009 11:00 AM
[SOLVED] Remove Byline in an individual post Per Lund Post-Kicker, -Byline & -Footer 7 Aug 31, 2009 05:22 AM


All times are GMT -6. The time now is 03:55 PM.


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