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 »

Remove "Leave Comment" on Syndicated Posts


  #1  
Old Sep 2, 2009, 02:56 PM
chrisp
 
18 posts · Aug 2009
Hello,

I would like to remove " leave comment" from the footer of the posts on my syndicated feeds. As clicking on "leave comments" just takes them to the feed source. But, I do want it to show on all other posts.

This is the code that I am currently using for my feeds. Do I have to add something to this code to prevent it from showing or do I need to something elsewhere?


Quote:
<?php if (is_syndicated()) : ?>
<a href="<?php the_syndication_permalink(); ?>" title="<?php the_title(); ?>">Read
the Full Story Here</a><br/>
<?php the_syndication_source(); ?></a></p>
<?php endif; ?>
Thanks
  #2  
Old Sep 5, 2009, 05:02 AM
juggledad's Avatar
juggledad
 
23,576 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
can you point me to a url so I can see the issue?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Sep 5, 2009, 02:41 PM
chrisp
 
18 posts · Aug 2009
Sure,

http://sustainapet.com

Thanks
  #4  
Old Sep 6, 2009, 09:19 AM
juggledad's Avatar
juggledad
 
23,576 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
which post sould show the issue?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Sep 6, 2009, 11:00 AM
chrisp
 
18 posts · Aug 2009
Hello,

If you go to http://sustainapet.com/category/dogs/ anything that is a syndicated post shows the Link "Read Full Story" and the syndicated source name beneath it. This is where I want to leave out the "leave comments" link.

Thanks
  #6  
Old Sep 6, 2009, 01:08 PM
juggledad's Avatar
juggledad
 
23,576 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
How are you getting the syndicated posts?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #7  
Old Sep 6, 2009, 01:31 PM
chrisp
 
18 posts · Aug 2009
FeedWordPress plugin
  #8  
Old Sep 6, 2009, 01:55 PM
juggledad's Avatar
juggledad
 
23,576 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
where are you putting the code from post #1?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #9  
Old Sep 6, 2009, 02:16 PM
chrisp
 
18 posts · Aug 2009
I put the code in the Loop of center column ATO right after
Quote:
<?php bfa_post_pagination('<p class="post-pagination"><strong>'.__('Pages:','atahualpa').'</strong>','</p>'); ?>

<?php if (is_syndicated()) : ?>
<a href="<?php the_syndication_permalink(); ?>" title="<?php the_title(); ?>">Read
the Full Story Here</a><br/>
<?php the_syndication_source(); ?></a></p>
<?php endif; ?>

<?php bfa_post_footer('<div class="post-footer">','</div>'); ?>

</div><!-- / Post -->
  #10  
Old Sep 6, 2009, 03:20 PM
juggledad's Avatar
juggledad
 
23,576 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
try this, change that bit to this:
HTML Code:
<?php bfa_post_pagination('<p class="post-pagination"><strong>'.__('Pages:','atahualpa').'</strong>','</p>'); ?>

<?php if (is_syndicated()) : ?>
<a href="<?php the_syndication_permalink(); ?>" title="<?php the_title(); ?>">Read 
the Full Story Here</a><br/>
<?php the_syndication_source(); ?></a></p>
<?php else: 
  bfa_post_footer('<div class="post-footer">','</div>'); 
  endif; ?>

</div><!-- / Post -->
so IF it is syndicated, you get the 'Read the Full Story Here' but no 'Leave Comment' and vice versa.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to remove &quot;comments are closed&quot; from the end of posts wylde1der Post-Kicker, -Byline & -Footer 3 Dec 14, 2009 06:45 AM
Controlling "Leave a Reply" area FairfieldPhoto Atahualpa 3 Wordpress theme 4 Oct 8, 2009 05:25 AM
How do I make the font of "Leave a Reply" smaller? nasu Comments, trackbacks & pings 4 May 28, 2009 07:41 PM
Clicking "Leave a comment" does not lead to comment form Fux Comments, trackbacks & pings 2 May 5, 2009 12:34 AM
Customizing "Leave a Comment" text HenryGomez Post-Kicker, -Byline & -Footer 2 Feb 11, 2009 05:07 PM


All times are GMT -6. The time now is 01:05 AM.


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