[Plugin: FeedWordPress] permalinks in single.php
-
Hi this is probably a really simple issue, but boy is it bugging me. I’m running FWP with the permalinks pointing to the local copy on all pages. However I want to change things in the single template and have the title as a permalink pointing to the original source. I’ve tried to edit the code but the best I can do is to have the title repeated, once as a permalink and the other just as the title. It’s probably just my lack of knowledge of the if… else… statement that is spoiling things. Any way, here’s what I’ve got:
<?php if (is_syndicated()): ?> <h2><a href="<?php the_syndication_permalink(); ?>"><?php the_title(); ?></a></h2> <?php endif; ?> <h2><?php the_title(); ?></h2>
Is this enough code to be able to tell me what’s wrong? It’s the only thing that I have changed in the original single.php
Many thanks in anticipation of a speedy answer to my query.
- The topic ‘[Plugin: FeedWordPress] permalinks in single.php’ is closed to new replies.