Wordpress plugin to allow comments

12 replies
  • WEB DESIGN
  • |
Hi Everyone,

I'm using the theme le-mag for my new wordpress site, but the theme doesn't come loaded with the normal comment section (as seen on each page/post).

Does anyone know of a plugin which will overrule this so I can get my comments back!?

Thanks,

Sam
#comments #plugin #wordpress
  • Profile picture of the author WCRocket
    Originally Posted by Apollo-Articles View Post

    Hi Everyone,

    I'm using the theme le-mag for my new wordpress site, but the theme doesn't come loaded with the normal comment section (as seen on each page/post).

    Does anyone know of a plugin which will overrule this so I can get my comments back!?

    Thanks,

    Sam
    I doubt there is a plugin for a secondary comment system within wordpress. Most comment plugins require the wordpress comment template.


    Use the wordpress code <?php comments_template(); ?> in your theme's single.php file after the the content area.

    If you need help doing it, let me know.
    {{ DiscussionBoard.errors[3634268].message }}
  • Profile picture of the author Apollo-Articles
    Thanks for the reply, unfortunately my single.php already has that line but the comment aren't showing.

    Code:
    <?php get_header(); ?>
    
    <div id="content">
    
    <div id="post-content">
    <div class="post">
     <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
      <h2><a href="<?php echo get_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>
      <div class="space"></div>
      <?php the_content('<p>Read the rest of this entry &raquo;</p>'); ?>
      <?php wp_link_pages(array('before' => '<p><strong>Pages:</strong> ', 'after' => '</p>', 'next_or_number' => 'number')); ?>
      <div class="postmeta">
       <p><?php comments_popup_link('No Comments', '1 Comment', '% Comments'); ?><!-- | <?php trackback_rdf(); ?>--></p>
       <p>Category <?php the_category(', ') ?> | Tags: <?php the_tags(' ', ',', ' '); ?></p>
       <p>You can follow any responses to this entry through the <?php comments_rss_link('RSS 2.0'); ?> feed.</p>
      </div><!-- end #postmeta -->
    </div>
    
     <?php endwhile; else: ?>
      <p><strong>There has been a glitch in the Matrix.</strong><br />
      There is nothing to see here.</p>
      <p>Please try somewhere else.</p>
     <?php endif; ?>
     <?php comments_template(); ?>
              
    </div> <!-- end #post-content -->
    <?php get_sidebar(); ?>
    </div> <!-- end #content -->
    
    <?php get_footer(); ?>
    Seems like the theme is just a bit odd, any more suggestions?

    Thanks,

    Sam
    {{ DiscussionBoard.errors[3646372].message }}
  • Profile picture of the author crushthenet
    And you have a comments.php file in your theme?

    As well as a comment-template.php in your wp-includes folder?

    And on the post or page in the admin area you have comments on, checked or whatever?
    Signature
    Video Background Music :: Royalty Free Background Music for Just About Anything! 50 Tracks for just $17...
    My Personal Blog :: The Calaboratory
    {{ DiscussionBoard.errors[3648511].message }}
  • Profile picture of the author Istvan Horvath
    1. The wp-includes (and other) folders are NOT theme-dependent: which means they should be there is any normal WP installation. [ergo, wrong question]

    2. Normally, if a template file is missing in the active theme WP used to pull it from the default theme (pre-3 versions). Somebody should check whether this is still true for the latest versions... Of course, this means you MUST have the default theme next to your custom theme on your server!

    EDIT. You must be doing something wrong: I checked the theme and it has all the necessary template files....
    Signature

    {{ DiscussionBoard.errors[3648850].message }}
  • Profile picture of the author crushthenet
    Are you saying "ergo, wrong question" to me?

    I know it's not part of the theme dude, but it needs to be there to work. lol

    Those were just the 3 simplest and quickest things he could check out first.
    Signature
    Video Background Music :: Royalty Free Background Music for Just About Anything! 50 Tracks for just $17...
    My Personal Blog :: The Calaboratory
    {{ DiscussionBoard.errors[3649567].message }}
  • Profile picture of the author Kezz
    If Istvan checked your theme and it has all the required files you can take that as reliable advice - he knows his stuff.

    So the next thing to check is your admin settings. Check out this guide and make sure you have all the right boxes ticked:

    Settings Discussion SubPanel « WordPress Codex
    {{ DiscussionBoard.errors[3650629].message }}
    • Profile picture of the author Apollo-Articles
      Hi All,

      Kezz I followed the picture and all the same boxes are ticked, the page comment box is also ticked.

      I do have comments.php in my wordpress editor and in the cpanel I do have a comment-template.php

      )

      Seems strange to me. Please note I have no posts on the site, just pages.

      Thanks,

      Sam
      {{ DiscussionBoard.errors[3652703].message }}
      • Profile picture of the author Istvan Horvath
        Originally Posted by Apollo-Articles View Post

        Please note I have no posts on the site, just pages.
        And in any normal WP theme the page templates do NOT call for the comments template.

        You should have started with the statement quoted above to save time and frustration.

        To display the content of Pages... none of the post templates are used.
        Mandatory reading: Template Hierarchy « WordPress Codex (the article will explain you which template file is used to display different content...)
        Signature

        {{ DiscussionBoard.errors[3659518].message }}
  • Profile picture of the author Apollo-Articles
    Istvan, thanks for posting the links. I didn't understand how wordpress called upon different php files depending on categories. So is there anyway I can change the index.php to call for the comments which the single post.php would have?

    Thanks,

    Sam
    {{ DiscussionBoard.errors[3686144].message }}
    • Profile picture of the author Istvan Horvath
      Sorry for the late reply.
      Originally Posted by Apollo-Articles View Post

      I didn't understand how wordpress called upon different php files depending on categories
      Unfortunately, that's not true. I suggest you revisit that page...

      Originally Posted by Apollo-Articles View Post

      So is there anyway I can change the index.php to call for the comments
      Why are we talking about the index.php?
      Pages are displayed by default with the page.php.

      If you don't have page.php - then yes, you should add the call for comments template to index.php.
      Signature

      {{ DiscussionBoard.errors[3698409].message }}
  • Profile picture of the author haymanpl
    Try Disqus which is a free comments plugin used by big tech sites like Mashable and Tech Crunch
    {{ DiscussionBoard.errors[3696159].message }}
  • Profile picture of the author websitedesign1
    Thanks for sharing .. i will use it.
    {{ DiscussionBoard.errors[3696486].message }}

Trending Topics