Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /var/www/weblogmechanic/wp-content/plugins/wp-syntax/wp-syntax.php on line 380
Warning: WP_Syntax::substituteToken(): Argument #1 ($match) must be passed by reference, value given in /var/www/weblogmechanic/wp-content/plugins/wp-syntax/wp-syntax.php on line 380
Feedwordpress is a WordPress plugin which allows easy syndication of RSS-feeds to your blog, sidebar or both.
In Feedwordpress you are presented with the choice between linking to your local post when a excerpt is imported or linking directly to the remote site.
Often you will want to present a link to the original post, but also allow visitors to comments (and ping) on your site. The setting ‘ Point to local comment feeds on this website’ doesn’t seem to do much if you point your permalinks to the original site. This is a quirk which held many, including me, up for a few hours.
The solution is to reverse the problem. If your feed is set to pointing to the original site, the permalink always links away from your page. In many views this is not ideal.
But Feedwordpress offers a solution in the form of the function ‘the_syndication_permalink()’ . You will probably need to edit the theme, but fortunately this is not too hard.
Set all your feeds to point to the local copy on the website. Then enter you theme, for instance index.php where the main page usually resides. You will probably see something like this:
1 2 | <a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a> |
The permalink now points to your site. You can easily add a link to the source adding a link like this:
1 2 | <a href="<?php the_syndication_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>">Original link</a> |
Voila. You now control where your posts link to, and the original website owner get his link as well.
Tags: feedwordpress, permalinks, RSS, syndication, wordpress
userphoto_the_author_thumbnail('', '', array(style => 'float:left')); ?>
the_author_meta('display_name') ?>
the_author_meta('description') ?>//related_posts(); ?>