Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » RSS, Feeds & Subscribing »

[SOLVED] Is there a way to block JUST the byline from my feeds?


  #1  
Old Dec 26, 2009, 01:59 PM
kindofadraag
 
8 posts · Dec 2009
long beach, ca
Send a message via AIM to kindofadraag
I've inserted the php code for Simple Post Thumbnails in my byline.

I figured out how to block the byline from displaying in the first full post on the home page.

I've figured out how to make the byline show up on all the archive/category/etc pages.

But I can't figure out how to block it from showing up in my RSS feed.

As a result, I get a format that displays thumbnail AND post image - and they're the same photo.

Is there some conditional tag I can use to block the byline from displaying in my RSS feed? I tried to use the same php code that excludes certain categories from RSS, but it didn't work.

Site: http://www.fantasticweapon.com
Feed: http://www.fantasticweapon.com/feed
Running Atahualpa 3.4.2 and Wordpress 2.9

This is the code currently in my loop section (via Style/edit center column in Atahualpa Theme Options):

Code:
<?php /* Post Container starts here */ if ( function_exists('post_class') ) { ?> <div <?php if ( is_page() ) { post_class('post'); } else { post_class("$odd_or_even"); } ?> id="post-<?php the_ID(); ?>"> <?php } else { ?> <div class="<?php echo ( is_page() ? 'page ' : '' ) . $odd_or_even . ' post" id="post-'; the_ID(); ?>"> <?php } ?><?php
if ( has_post_thumbnail() ) {
	// the current post has a thumbnail
} else {
	// the current post lacks a thumbnail
}
?><?php bfa_post_kicker('<div class="post-kicker">','</div>'); ?> <?php bfa_post_headline('<div class="post-headline">','</div>'); ?><?php if ( is_front_page() AND $bfa_ata['postcount'] > 1) { ?>

<?php bfa_post_byline('<div class="post-byline">','</div>'); ?><?php } ?><?php if ( is_category() AND $bfa_ata['postcount'] > 1) { ?>

<?php bfa_post_byline('<div class="post-byline">','</div>'); ?><?php } ?><?php if ( is_author() AND $bfa_ata['postcount'] > 1) { ?>

<?php bfa_post_byline('<div class="post-byline">','</div>'); ?><?php } ?><?php if ( is_archive() AND $bfa_ata['postcount'] > 1) { ?>

<?php bfa_post_byline('<div class="post-byline">','</div>'); ?><?php } ?>
 <?php bfa_post_bodycopy('<div class="post-bodycopy clearfix">','</div>'); ?> <?php bfa_post_pagination('<p class="post-pagination"><strong>'.__('Pages:','atahualpa').'</strong>','</p>'); ?> <?php bfa_post_footer('<div class="post-footer">','</div>'); ?> </div><!-- / Post -->
Attachments: 2 examples of the problem I'm having (byline-feed.jpg, byline-feed2.jpg), 1 screenshot of current code in byline.

Anybody?
Attached Thumbnails
Click image for larger version

Name:	thumb-feed.jpg
Views:	843
Size:	64.5 KB
ID:	332  Click image for larger version

Name:	thumb-feed-2.jpg
Views:	825
Size:	56.1 KB
ID:	333  Click image for larger version

Name:	byline-config.jpg
Views:	823
Size:	36.3 KB
ID:	334  
  #2  
Old Dec 30, 2009, 03:51 PM
kindofadraag
 
8 posts · Dec 2009
long beach, ca
Send a message via AIM to kindofadraag
Help Code to block byline on ALL posts in EVERY category from display in RSS feed?

I posted this in the RSS forum but I'm getting no response and the issue is driving me nuts so I'm putting it here too. Sorry if that breaks rules or something but I need help pleaaaase

-----

I've inserted the php code for Simple Post Thumbnails in my byline.

I figured out how to block the byline from displaying in the first full post on the home page.

I've figured out how to make the byline show up on all the archive/category/etc pages.

But I can't figure out how to block it from showing up in my RSS feed.

As a result, I get a format that displays thumbnail AND post image - and they're the same photo.

Is there some conditional tag I can use to block the byline from displaying in my RSS feed? I tried to use the same php code that excludes certain categories from RSS, but it didn't work.

Site: http://www.fantasticweapon.com
Feed: http://www.fantasticweapon.com/feed
Running Atahualpa 3.4.4 and Wordpress 2.9

This is the code currently in my loop section (via Style/edit center column in Atahualpa Theme Options):

Code:
<?php /* Post Container starts here */ if ( function_exists('post_class') ) { ?> <div <?php if ( is_page() ) { post_class('post'); } else { post_class("$odd_or_even"); } ?> id="post-<?php the_ID(); ?>"> <?php } else { ?> <div class="<?php echo ( is_page() ? 'page ' : '' ) . $odd_or_even . ' post" id="post-'; the_ID(); ?>"> <?php } ?><?php
if ( has_post_thumbnail() ) {
	// the current post has a thumbnail
} else {
	// the current post lacks a thumbnail
}
?><?php bfa_post_kicker('<div class="post-kicker">','</div>'); ?> <?php bfa_post_headline('<div class="post-headline">','</div>'); ?><?php if ( is_front_page() AND $bfa_ata['postcount'] > 1) { ?>

<?php bfa_post_byline('<div class="post-byline">','</div>'); ?><?php } ?><?php if ( is_category() AND $bfa_ata['postcount'] > 1) { ?>

<?php bfa_post_byline('<div class="post-byline">','</div>'); ?><?php } ?><?php if ( is_author() AND $bfa_ata['postcount'] > 1) { ?>

<?php bfa_post_byline('<div class="post-byline">','</div>'); ?><?php } ?><?php if ( is_archive() AND $bfa_ata['postcount'] > 1) { ?>

<?php bfa_post_byline('<div class="post-byline">','</div>'); ?><?php } ?>
 <?php bfa_post_bodycopy('<div class="post-bodycopy clearfix">','</div>'); ?> <?php bfa_post_pagination('<p class="post-pagination"><strong>'.__('Pages:','atahualpa').'</strong>','</p>'); ?> <?php bfa_post_footer('<div class="post-footer">','</div>'); ?> </div><!-- / Post -->
Anybody?
  #3  
Old Dec 30, 2009, 03:51 PM
kindofadraag
 
8 posts · Dec 2009
long beach, ca
Send a message via AIM to kindofadraag
Quote:
Originally Posted by kindofadraag

Running Atahualpa 3.4.2 and Wordpress 2.9
Switched to 3.4.4 but still can't find a solution.
  #4  
Old Jan 28, 2010, 12:35 AM
jonasgrumby
 
19 posts · Aug 2009
You can go into Style POSTS & PAGES > BYLINE Box and replace what is there with

visibility: hidden;

That will make it always hidden though....
  #5  
Old Mar 12, 2010, 01:05 PM
kindofadraag
 
8 posts · Dec 2009
long beach, ca
Send a message via AIM to kindofadraag
Quote:
Originally Posted by jonasgrumby
You can go into Style POSTS & PAGES > BYLINE Box and replace what is there with

visibility: hidden;

That will make it always hidden though....
not what i'm looking for.
could i perhaps do it by adding something similar to this to functions.php, except change it to "if (is_feed())" ((whatever the php is for do not display p75thumbnail)))???


Code:
<?php
   if (is_home()) {
      query_posts("cat=-1,-2,-3");
   }
?>
  #6  
Old Mar 12, 2010, 01:18 PM
kindofadraag
 
8 posts · Dec 2009
long beach, ca
Send a message via AIM to kindofadraag
Quote:
Originally Posted by jonasgrumby
You can go into Style POSTS & PAGES > BYLINE Box and replace what is there with

visibility: hidden;

That will make it always hidden though....
maybe i could do is there a way to add something like

Code:
#feed .postbyline {visibility: hidden;}
does the feed have any CSS assigned to it?

Bookmarks

Tags
byline, exclude, php, rss, thumbnails

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble with block quote doug86 Atahualpa 3 Wordpress theme 4 Sep 25, 2010 10:21 PM
Shorten RSS Feeds bonoix RSS, Feeds & Subscribing 2 Dec 13, 2009 07:01 PM
Changing a widget display from block to inline (Twitter Text Widget) Flur Sidebars & Widgets 2 May 7, 2009 12:45 PM
[SOLVED] How to remove the block next to link in a specific widget? d_random Sidebars & Widgets 2 Apr 30, 2009 02:24 PM
Sidebar page navigation styling. Change the prefix to >> instead of the block. ray-zin Atahualpa 3 Wordpress theme 4 Mar 18, 2009 07:39 PM


All times are GMT -6. The time now is 09:56 AM.


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