[Plugin: FeedWordPress] Sing Post Page
-
When somebody clicks on the post with the syndicated content, instead of them going directly to that site, I want them to first go to the single.php page.
I had this working before, but my new theme doesn’t have the same code.
Here’s what I used to do:
I would replace the following line of code:
<?php get_header();?>
with this code:
<?php get_header();$post_guid = get_post(the_ID());
$guid = $post_guid->guid;
if($guid==””) { $guid = get_permalink(); }?>Next, I would replace the following line of code (if you do not find get_permalink, look for the_permalink):
get_permalink() ?>” rel=”bookmark”
with this code:
print $guid; ?>” rel=”nofollow”
However, my new theme doesn’t have anything that says permalink.
I don’t know php, I was just following directions I had. Any ideas for me? Thank you!
- The topic ‘[Plugin: FeedWordPress] Sing Post Page’ is closed to new replies.