WordPress.org

Forums

Open syndication feed link in new window (1 post)

  1. Lesley_T
    Member
    Posted 4 years ago #

    I have syndicated posts which link back to the source blog. Can I make these links open in a new browser window?
    my WP page

    this is the code in my php file:

    <?php if (is_syndicated()) : ?>
    <p>This blog post is from
    <u><a href="<?php the_syndication_source_link(); ?>"><?php the_syndication_source(); ?></a></u>
    <?php endif; ?>

Topic Closed

This topic has been closed to new replies.

About this Topic