Possible? Making COMMENTS work without link to comments-popup.php??

  • Unknown's avatar

    Hi,

    I started WP last week and still read the WP Codex to make it work for me. Right now I am a little stuck after trying all afternoon.

    I want to use WP outside the the template stucture, just utilizing the functions in my own site. I succeeded with displaying POSTS, but failed to make COMMENTS work. Does anybody know how I could display all comments on the same site without the link which jumps outside my page to the comments-popup.php site?

    Your help is appreciated
    Max

    The code below is in my website and
    (1) loads the WP functions (works)
    (2) Displays all posts (works)
    (3) Displays comments (works, but won’t show all comments plus I can’t get the link to comments-popup.php out)

    <? include (‘./blog/wp-blog-header.php’); ?> <!– Load WP Functions Header –>

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <!–Begin WordPress Loop–>

    <h1 class=”storytitle”><?php the_title(); ?></h1> <!– Show Blog Post Title–>
    <?php the_content(__(‘(more…)’)); ?> <!– Show each post content –>
    <?php the_date(”,'<p> (‘,’)</p>’); ?> <!– Show each post date –>

    <?php comments_popup_link(__(‘Comments (0)’), __(‘Comments (1)’), __(‘Comments (%)’)); ?> <!– Lost here Part I–>
    <?php comments_template(); ?> <!– Lost here Part I–>

    <?php endwhile; endif; ?> <!–End WordPress Loop –>

  • Unknown's avatar
  • Unknown's avatar

    sorry for the inconvenience.

    I will always read the ‘read me first’
    I will always read the ‘read me first’
    I will always read the ‘read me first’
    I will always read the ‘read me first’
    I will always read the ‘read me first’

    ;-)

    No serious. Pardon my ignorance.

  • The topic ‘Possible? Making COMMENTS work without link to comments-popup.php??’ is closed to new replies.