WordPress.org

Ready to get started?Download WordPress

Forums

Question about comments and forwarding blog to an email address (10 posts)

  1. artistwantab
    Member
    Posted 7 years ago #

    I am not sure if its something I did or if it was never there.

    I would like the link for commenting after the each blog.

    I would also like the viewer to have the option of email forwarding the blog entry.

    How is this done?

  2. artistwantab
    Member
    Posted 7 years ago #

    Maybe I am not too clear.

    In most blogs the link for commenting is underneath the post.

    In mine the link is at the top of the post. I would like to move comment link to the bottom.

    Also, on some blogs you can also email the post to a friend from the blog.

    Can someone help me with this please?

  3. moshu
    Member
    Posted 7 years ago #

    1. That's a theme design issue.
    Edit your index.php file in the theme: move the code below the content.

    2. http://www.lesterchan.net/portfolio/programming.php
    WP-Email plugin

  4. artistwantab
    Member
    Posted 7 years ago #

    I found a plug in for the email part.

    Just need to know about the comment part.

  5. artistwantab
    Member
    Posted 7 years ago #

    Just noticed your post after I replied. Thank you.

    Let me give it a try and I will post my results here.

  6. artistwantab
    Member
    Posted 7 years ago #

    I moved things around and it doesn't change where the comment is located. Am I missing something.

    <body>
    <div id="rap">
    	<?php get_header(); ?>
    	<div id="main">
    	<div id="content">
    			<?php if ($posts) : foreach ($posts as $post) : start_wp(); ?>
    			<div class="post">
    				<?php require('post.php'); ?>
    				<?php comments_template(); // Get wp-comments.php template ?>
    			</div>
    			<?php endforeach; else: ?>
    			<p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
    			<?php endif; ?>
    		<p align="center"><?php posts_nav_link() ?></p>
    	</div>
  7. moshu
    Member
    Posted 7 years ago #

    Oh, this is one of those idiotic themes that have a post.php.
    You will have to edit that file.

  8. artistwantab
    Member
    Posted 7 years ago #

    I am still having trouble figuring out where to put it.

    Thanks for the help.

    <p class="post-date"><?php the_time('D j M Y'); ?></p>
    <div class="post-info"><h2 class="post-title"><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link: <?php the_title(); ?>"><?php the_title(); ?></a></h2>
    Posted by <?php the_author(); ?> under <?php the_category(' , '); ?><?php edit_post_link('(edit this)'); ?><br/><?php comments_popup_link('No Comments', '1 Comment', '[%] Comments'); ?>&nbsp;</div>
    <div class="post-content">
    	<?php the_content(); ?>
    	<p class="post-info">
    		<?php wp_link_pages(); ?>
    	</p>
    	<!--
    		<?php trackback_rdf(); ?>
    	-->
    	<div class="post-footer">&nbsp;</div>
    </div>
  9. moshu
    Member
    Posted 7 years ago #

    This is the code line displaying the comments link:
    <?php comments_popup_link('No Comments', '1 Comment', '[%] Comments'); ?>

  10. artistwantab
    Member
    Posted 7 years ago #

    Thank you, I got it!

Topic Closed

This topic has been closed to new replies.

About this Topic