Support » Fixing WordPress » Comment popup link in XML output

  • Resolved ssdesign


    I have created a custom XML template page.

    Here is part of the code where the POST details XML is output:

    <permalink><?php the_permalink() ?></permalink>
    <title><?php the_title(); ?></title>
    <time><?php the_time(‘F jS, Y’) ?></time>
    <?php the_author() ?>
    <data><![CDATA[<?php the_content(‘Read the rest of this entry »’); ?>]]></data>
    <?php the_category(‘, ‘, ”,’XML’) ?><?php comments_popup_link(‘No Comments’, ‘1’, ‘%’, ”, ”,’XML’); ?>

    note: ‘XML’ is an additional value I am passing to the functions which I have modified.

    Now the questions is about the comments link. Using the code above, the default comments link is output.

    I would like the comment-popup link to be displayed instead.

    From what I understand (correct me if i am wrong), the comment-popup link will display if a certain Javascript exist in the code.

    If I want to output a comment-popup link inside and XML, what should I be doing different?

    Thank for any advice on this.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Comment popup link in XML output’ is closed to new replies.