WordPress.org

Ready to get started?Download WordPress

Forums

Editing the Posting Page? (11 posts)

  1. pawsingleton
    Member
    Posted 5 years ago #

    Trying to change the template of each post. Need to add two line breaks and a line <hr>.

    Can't find where I would make these changes or where in the code I would put the

    <hr> code, if that's what I need to do.

    Thanks for the input.

    tiger
    pawupclose.net

  2. Samuel B
    moderator
    Posted 5 years ago #

    posts use your theme's
    single.php

  3. pawsingleton
    Member
    Posted 5 years ago #

    just tried that. It worked but showed up at the very bottom. The point I guess is to have a line show up after the post but before the "Share This" widget appears. they are way too close together.

    Any ideas.

  4. Samuel B
    moderator
    Posted 5 years ago #

    should work if added right after comment code

  5. pawsingleton
    Member
    Posted 5 years ago #

    Where would you put it in here.

    <div id="content" class="narrowcolumn">

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

    <div class="post" id="post-<?php the_ID(); ?>">
    <div class="post-top">
    <div class="post-title">
    <h2>" rel="bookmark" title="Permanent Link to <?php if ( function_exists('the_title_attribute')) the_title_attribute(); else the_title(); ?>"><?php the_title(); ?></h2>
    <h3>
    Filed Under (<?php the_category(', ') ?>) by <?php the_author() ?> on <?php the_time('d-m-Y') ?>
    </h3>
    <?php if ( function_exists('the_tags')) the_tags('<h3 class="tags"><span>Tagged Under : </span>', ', ', ' </h3>'); ?>

    </div>
    </div>
    <div class="entry clear">
    <?php the_content('Read the rest of this entry »'); ?>

    </div>

    <div class="postmetadata">
    <div class="alignleft">
    <?php comments_popup_link('No Comments', '<span>(1)</span> Comment', '<span>(%)</span> Comments'); ?>
    <?php edit_post_link('Edit', '   ', ''); ?>
    </div>
    <div class="alignright">" >Read More</div>
    </div>
    </div>

    <?php comments_template(); ?>

    <?php endwhile; else: ?>

    <p>Sorry, nothing came up. Try looking through the keyword tags</p>

    <?php endif; ?>

    </div>

    <?php get_footer(); ?>

  6. pawsingleton
    Member
    Posted 5 years ago #

    Can anybody take a look at this, still need some help.

  7. arpowers
    Member
    Posted 5 years ago #

    Do you want it after each post?

  8. Samuel B
    moderator
    Posted 5 years ago #

    <?php comments_template(); ?>
    after this if you want it under post and comments

  9. pawsingleton
    Member
    Posted 5 years ago #

    If you look at my daily blog, you'll see how the "share this" icon comes up right after the post, "with no spaces," I want to have a line (<hr>) and a couple line breaks after the post before the share this button.

    http://www.pawupclose.net/2009/gooey-semantics-5709-paw-daily-empowerment-quote

    Thanks

  10. pawsingleton
    Member
    Posted 5 years ago #

    anybody out there?

  11. StackError
    Member
    Posted 5 years ago #

    I have another question along those lines....
    I have a set list of keyword tags i want to be displayed with a line break after ever post i make. I use the same keyword tags for every post as it is a single niche type blog. I use qumana to post my articles from my mac.

    What edit to i need to make to my single.pgp page to accomplish this?

    Thank you

Topic Closed

This topic has been closed to new replies.

About this Topic