Mar 16, 2012

Tutorial: Feedwordpress, include permalink to original post

Figured we'd document this incase anyone else comes across it. We have a few small autoblogs running using the wicked cool FeedWordPress plugin. All is well and good, unless you want to have your post title link to your site, but include a read more link that visits the original article location. Well, with a little searching we found the answer.
Basically, just edit your wordpress template, and wherever you want it to show up (probably index, and single) you'll add this line, again wherever you want it to show up

<br />
<a href="<?php the_syndication_permalink(); ?>" title="<?php the_title(); ?>">Read the original Article</a>
<br />



This will let you have permalinks to your own site, while still letting the visitor hit off to the originating site. You can replace words with your own keyword or afflink.

No comments:

Post a Comment