WordPress.org

Forums

redirecting comments_popup_link URL (2 posts)

  1. gabeg
    Member
    Posted 3 years ago #

    I am trying to redirect the comments_popup_link url.

    Essentially, I am embedding news postings from a wordpress site into another site. I want the comments to pop up in the same frame that the news is posting in with the option to go back to the main news area.

    This is the site: http://antigonerising.com/test/

    As you can see, right now, the comments bring you to the wordpress site (current site) but i just want the one comment page from the one news posting to be accessed.

    Any help?

  2. gabeg
    Member
    Posted 3 years ago #

    OH - and this is the code on my news page...

    <?php
    // Include WordPress
    define('WP_USE_THEMES', false);
    require('../newsblog/wp-load.php');
    query_posts('showposts=25');
    ?>
    <font face="Arial, Helvetica, sans-serif" size="2" color="#FFFFFF">
    <?php while (have_posts()): the_post(); ?></font>

    <?php endwhile; ?>
    <?php while (have_posts()): the_post(); ?>
    <font face="Arial, Helvetica, sans-serif" size="3" color="#A50713"><?php the_title(); ?>
    <?php the_date(); ?></font>
    <font face="Arial, Helvetica, sans-serif" size="2" color="#FFFFFF"><?php the_content(); ?></font>
    <p><font face="Arial, Helvetica, sans-serif" size="2" color="#FFFFFF"><?php comments_popup_link('Comments ( 0 )', 'Comments ( 0 )', 'Comments ( % )'); ?></font><p>
    <img src="space.jpg" width="522"></p>
    <?php endwhile; ?>
    </font>

Topic Closed

This topic has been closed to new replies.

About this Topic