• How do i get my comments not to pop up I am using a free theme this is the index.php

    <?php
    get_header();
    ?>

    <?php if (have_posts()) : while (have_posts()) : the_post(); ?>

    <table border=0 cellpadding=0 cellspacing=0 width=100%><tr><td class=”date”>

    <?php the_time(‘F d, Y’,true); ?> – <?php the_time() ?>
    </tr></td></table>

    <div class=”meta”><?php _e(“Filed under:”); ?> <?php the_category() ?> — written by <?php the_author(); ?> — <?php the_title(); ?> | <?php echo(str_word_count(get_the_content())); ?> words
    </div>

    <?php the_content(); ?>

    <div align=”right”>
    <?php wp_link_pages(); ?>

    <BR>

    <?php comments_popup_link(__(‘comments’), __(‘1 comment’), __(‘% comments’)); ?> </div></tr></td></table>

    <HR><BR>

    <!–
    <?php trackback_rdf(); ?>
    –>

    </div>

    <?php comments_template(); // Get wp-comments.php template ?>

    <?php endwhile; else: ?>
    <?php _e(‘Sorry, no posts matched your criteria.’); ?>
    <?php endif; ?>

    <?php get_footer(); ?>

Viewing 14 replies - 1 through 14 (of 14 total)
  • In your header.php file, check for this line here:

    <?php comments_popup_script(); // off by default ?>

    and then replace with this one:

    <?php //comments_popup_script(); // off by default ?>

    I hope this helps. =)

    spencerp

    Atleast that’s what I’m thinking is going on there lol..

    Thread Starter breanna

    (@breanna)

    Thanks, I tried that, still no luck. Here is my header.php;

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html xmlns="http://www.w3.org/1999/xhtml">

    <head profile="http://gmpg.org/xfn/11"&gt;
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />

    <title>my daily blog</title>

    <meta name="generator" content="WordPress <?php bloginfo('version'); ?>" /> <!-- leave this for stats please -->

    <style type="text/css" media="screen">
    @import url( <?php bloginfo('stylesheet_url'); ?> );
    </style>

    <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php bloginfo('rss2_url'); ?>" />
    <link rel="alternate" type="text/xml" title="RSS .92" href="<?php bloginfo('rss_url'); ?>" />
    <link rel="alternate" type="application/atom+xml" title="Atom 0.3" href="<?php bloginfo('atom_url'); ?>" />

    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    <?php wp_get_archives('type=monthly&format=link'); ?>

    <?php //comments_popup_script(); // off by default ?>
    <?php wp_head(); ?>

    <script src="showMore.js" type="text/javascript"></script>
    </head>

    <body>

    Please use http://pastebin.com to paste lots of code next time. πŸ˜‰

    LoL@Viper… =P What theme are you using? Have a blog url? Cause the one for your profile name, doesn’t bring anything. =/

    You could always use another version of the “comments_link” in your index.php file..*I think*.. If I remember right, I had tried something different and had something working, but just decided to use the original stuff anyway.. hmm.

    Instead of this one you have now:
    <?php comments_popup_link(__('comments'), __('1 comment'), __('% comments')); ?>

    How about trying this one:

    <?php comments_popup_link('No Comments ;', '1 Comment ', '% Comments ;'); ?>

    I’m not really sure what’s going on with it sigh.. I never used the comment pop up crap before lol.

    spencerp

    LoL@Viper… =P What theme are you using? Have a blog url? Cause the one for your profile name, doesn’t bring anything. =/

    Really? o_O Hmm, works fine here. Mighta been a temporary downage or something…

    Hahaha, Viper.. the last part was to the O.P. I should have spaced it out more I guess..sorry about that.. =P

    This part, down:

    What theme are you using? Have a blog url? Cause the one for your profile name, doesn’t bring anything. =/

    I know your site is up Viper. =) πŸ˜‰

    spencerp

    I’m lost…

    And the theme I’m using is linked to in my footer.

    Hahaha…omg.. I *know* your theme and site are fine, Viper.

    I was talking to the original poster about the site not coming up… this one: http://www.toxickiss.net/

    And I *asked her*, what theme she was using.. I didn’t say that stuff to you =P Understand now lol?

    spencerp

    Man, if he’s drinking some good shit today, I’m starting to get jealous.. hahaha.. hell nah, I’m just kidding..

    Ah, I getcha now. Make better use of that “Enter” key next time. πŸ˜‰

    Ah, I getcha now. Make better use of that “Enter” key next time. πŸ˜‰

    Yeah…[spanks self] lol!

    spencerp

    Thread Starter breanna

    (@breanna)

    The site in my profile is old sorry I will change it soon. I’m using the free iframe theme at babydoll.nu; http://www.babydoll.nu/go.php?/scripts/pinkbaby.zip

    Thread Starter breanna

    (@breanna)

    Ok I changed my profile. Any ideas what is wrong?

    Thread Starter breanna

    (@breanna)

    Is anyone available to help?

    Thread Starter breanna

    (@breanna)

    bump

Viewing 14 replies - 1 through 14 (of 14 total)

The topic ‘Non popup comments’ is closed to new replies.