• Resolved sam2021

    (@sam2021)


    Hi Guys,

    We recently made a website and are using wordpress as an editor.

    Basically what the problem is when people visit the page we want them to be able to comment on some of our posts.

    If you can visit this page http://www.internalmarketingagency.com

    and as you can see there is one post up there, and a little 0 next to the title displaying the number of comments added.

    What we want to enable is a way for anyone to be able to write comments about the post displayed.

    And we’re not too sure how to enable this, first time website makers.

    Does anyone have any suggestions, would be highly helpful.

    Ta

Viewing 12 replies - 16 through 27 (of 27 total)
  • Eh, ignore that first character (`) as well.

    Thread Starter sam2021

    (@sam2021)

    Hey that looks a lot better, though the top banner still has “> in the front of it ?
    and there’s two random dots at the front of the test post and down the bottom?

    What the. Okay, what’s below will fix the title, but the dots are coming from the theme’s style, I believe.

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="EN" lang="EN">
    
    <?php get_header(); ?>
    
    <body>
    <div class="main">
    <div class="container">
    <div class="span-24 header">
    <h1 class="name"><?php bloginfo('name'); ?><!--<span class="bubble"><img src="<?php bloginfo('stylesheet_directory'); ?>/img/<?php echo $bubbles; ?>" alt="bubbles" /></span>--></h1>
    <span class="slogan"><?php bloginfo('description'); ?></span>
    </div>
    
    <?php include (TEMPLATEPATH . "/navigation.php"); ?>
    
    <?php include (TEMPLATEPATH . "/banner.php"); ?>
    
    <div class="span-24 content">
    <div class="span-16 post-wrapper">
    
    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
    <li class="post">
    <div class="text-header">
    <h2 class="title" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></h2>
    <span class="no"><?php comments_number('0', '1', '%', 'comments'); ?></span>
    <div class="clear"></div>
    </div>
    
    <div class="hr"><img src="<?php bloginfo('stylesheet_directory'); ?>/img/<?php echo $scissors; ?>" alt="scissors" /></div>
    
    <div class="info-small">
    <span class="date"><?php the_time('F jS, Y') ?></span><span class="author"><?php the_author() ?></span><span class="cat"><?php the_category(', ') ?></span>
    </div>
    
    <?php the_content('Read the rest of this entry »'); ?>
    <?php the_tags('<span class="tag"> Tags: ', ', ', '</span>'); ?>
    <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?>
    <?php edit_post_link('Edit', '<p class="edit">', '</p>'); ?>
    
    <?php endwhile; ?>
    <?php else : ?>
    <h2>Not Found</h2>
    <p>Sorry, but you are looking for something that isn't here.</p>
    
    <?php endif; ?>
    <li class="post">
    <p class="alignleft"><?php next_posts_link('« Older Entries') ?></p>
    <p class="alignright"><?php previous_posts_link('Newer Entries »') ?></p>
    
    </div>
    <div class="span-8 last sidebar">
    <?php get_sidebar(); ?>
    </div>
    </div>
    
    <?php get_footer(); ?>
    </div>
    </div>
    </body>
    </html>

    Thread Starter sam2021

    (@sam2021)

    Great! Thanks that works well… Mmm though they didn’t seem to be there before…

    Thread Starter sam2021

    (@sam2021)

    Anyone have any ideas on how to get rid of the two dots next to the test post and down the bottom?

    http://www.internalmarketingagency.com

    Oh. Man that theme is trash! I’d find a new one.
    Noob didn’t close the li tags. See what happens with this code…

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="EN" lang="EN">
    
    <?php get_header(); ?>
    
    <body>
    <div class="main">
    <div class="container">
    <div class="span-24 header">
    <h1 class="name"><?php bloginfo('name'); ?><!--<span class="bubble"><img src="<?php bloginfo('stylesheet_directory'); ?>/img/<?php echo $bubbles; ?>" alt="bubbles" /></span>--></h1>
    <span class="slogan"><?php bloginfo('description'); ?></span>
    </div>
    
    <?php include (TEMPLATEPATH . "/navigation.php"); ?>
    
    <?php include (TEMPLATEPATH . "/banner.php"); ?>
    
    <div class="span-24 content">
    <div class="span-16 post-wrapper">
    
    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
    <div class="post">
    <div class="text-header">
    <h2 class="title" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></h2>
    <span class="no"><?php comments_number('0', '1', '%', 'comments'); ?></span>
    <div class="clear"></div>
    </div>
    
    <div class="hr"><img src="<?php bloginfo('stylesheet_directory'); ?>/img/<?php echo $scissors; ?>" alt="scissors" /></div>
    
    <div class="info-small">
    <span class="date"><?php the_time('F jS, Y') ?></span><span class="author"><?php the_author() ?></span><span class="cat"><?php the_category(', ') ?></span>
    </div>
    
    <?php the_content('Read the rest of this entry »'); ?>
    <?php the_tags('<span class="tag"> Tags: ', ', ', '</span>'); ?>
    <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?>
    <?php edit_post_link('Edit', '<p class="edit">', '</p>'); ?>
    
    <?php endwhile; ?>
    <?php else : ?>
    <h2>Not Found</h2>
    <p>Sorry, but you are looking for something that isn't here.</p>
    
    <?php endif; ?>
    <div class="post">
    <p class="alignleft"><?php next_posts_link('« Older Entries') ?></p>
    <p class="alignright"><?php previous_posts_link('Newer Entries »') ?></p>
    
    </div>
    <div class="span-8 last sidebar">
    <?php get_sidebar(); ?>
    </div>
    </div>
    
    <?php get_footer(); ?>
    </div>
    </div>
    </body>
    </html>

    Thread Starter sam2021

    (@sam2021)

    Damn! I’ve done something really stupid.. I think i replaced the .css with that by mistake, wasn’t thinking straight.

    Now everytime I try to go to theme editor it comes up with a page with the message
    “The requested theme does not exist.”

    Help!?!! lol

    Thread Starter sam2021

    (@sam2021)

    Forget the above post, managed to fix that lol…

    Umm that seemed to work with the two random dots, but now the right side boxes have moved to the bottom!?!?! have a look for yourself

    Thread Starter sam2021

    (@sam2021)

    Hmm and it also looks like its gone to html hell…

    Sigh. Last time I’m touching this, man.

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="EN" lang="EN">
    
    <?php get_header(); ?>
    
    <body>
    <div class="main">
    <div class="container">
    <div class="span-24 header">
    <h1 class="name"><?php bloginfo('name'); ?><!--<span class="bubble"><img src="<?php bloginfo('stylesheet_directory'); ?>/img/<?php echo $bubbles; ?>" alt="bubbles" /></span>--></h1>
    <span class="slogan"><?php bloginfo('description'); ?></span>
    </div>
    
    <?php include (TEMPLATEPATH . "/navigation.php"); ?>
    
    <?php include (TEMPLATEPATH . "/banner.php"); ?>
    
    <div class="span-24 content">
    <div class="span-16 post-wrapper">
    
    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
    <div class="post">
    <div class="text-header">
    <h2 class="title" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></h2>
    <span class="no"><?php comments_number('0', '1', '%', 'comments'); ?></span>
    <div class="clear"></div>
    </div>
    
    <div class="hr"><img src="<?php bloginfo('stylesheet_directory'); ?>/img/<?php echo $scissors; ?>" alt="scissors" /></div>
    
    <div class="info-small">
    <span class="date"><?php the_time('F jS, Y') ?></span><span class="author"><?php the_author() ?></span><span class="cat"><?php the_category(', ') ?></span>
    </div>
    
    <?php the_content('Read the rest of this entry »'); ?>
    <?php the_tags('<span class="tag"> Tags: ', ', ', '</span>'); ?>
    <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?>
    <?php edit_post_link('Edit', '<p class="edit">', '</p>'); ?>
    </div>
    <?php endwhile; ?>
    <?php else : ?>
    <h2>Not Found</h2>
    <p>Sorry, but you are looking for something that isn't here.</p>
    
    <?php endif; ?>
    <div class="post">
    <p class="alignleft"><?php next_posts_link('« Older Entries') ?></p>
    <p class="alignright"><?php previous_posts_link('Newer Entries »') ?></p>
    </div>
    </div>
    <div class="span-8 last sidebar">
    <?php get_sidebar(); ?>
    </div>
    </div>
    
    <?php get_footer(); ?>
    </div>
    </div>
    </body>
    </html>

    Thread Starter sam2021

    (@sam2021)

    Thanks man, you’ve been great help! Truly appreciate it.. You could make alot of money off your help!

    You’re welcome; mark this thread as resolved.

Viewing 12 replies - 16 through 27 (of 27 total)
  • The topic ‘Problems with comments’ is closed to new replies.