WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Help required for template editing. (3 posts)

  1. rome2ng
    Member
    Posted 8 years ago #

    Hi guys,

    I have a site at http://www.atomise.net

    I am having a problem with the templates.

    http://img102.imageshack.us/img102/6232/capture17gs.gif
    See image.

    As you see, the title of the next entries and the Comment bar of the previous entries seem always glued together, i have tried adding 'br' tag but it doesn't work.

    here's the script. someone pls help me. thank you.
    Template : skuteczni_v2

    '<?php get_header(); ?>
    <?php get_sidebar();?>

    <div id="body">
    <div class="blockDistinct">
    <?php if (have_posts()) : ?>

    <?php while (have_posts()) : the_post(); ?>
    <div class="post" id="post-<?php the_ID(); ?>">
    <h1>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></h1>
    <small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small>
    <div class="entry">
    <?php the_content('Read the rest of this entry »'); ?>
    </div>
    <p class="postmetadata">Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit','','|'); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?>
    </div>
    <?php comments_template(); ?>
    <?php endwhile; ?>
    <p align="center"><?php next_posts_link('« Previous Entries') ?>   <?php previous_posts_link('Next Entries »') ?>
    <?php else : ?>
    <h2 align="center">Not Found</h2>
    <p align="center">Sorry, but you are looking for something that isn't here.
    <?php endif; ?>

    </div>
    </div>
    <div id="footer" title="Stopka">
    <?php get_footer(); ?>
    </div>
    </div> '

  2. the
    Member
    Posted 8 years ago #

    The <br /> tag works just fine when I try it.

    Try it after the closing </div> of the post div. It should be the end of line 21 in index.php

    <?php get_header(); ?>
    <?php get_sidebar();?>
    <?php if (have_posts()) : ?>

    <div id="body">
    <div class="blockDistinct">

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

    <div class="post" id="post-<?php the_ID(); ?>">
    <h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h1>
    <small><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></small>

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

    <p class="postmetadata">Posted in <?php the_category(', ') ?> <strong>|</strong> <?php edit_post_link('Edit','','<strong>|</strong>'); ?> <?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?>

    </div>

    <?php comments_template(); ?>
    <?php endwhile; ?>

    <p align="center"><?php next_posts_link('&laquo; Previous Entries') ?> &nbsp; <?php previous_posts_link('Next Entries &raquo;') ?>

    <?php else : ?>
    <h2 align="center">Not Found</h2>
    <p align="center">Sorry, but you are looking for something that isn't here.

    <?php endif; ?>

    </div>
    </div>
    <div id="footer" title="Stopka">
    <?php get_footer(); ?>
    </div>
    </div>

  3. rome2ng
    Member
    Posted 8 years ago #

    thks pal

    i was editing the single.php,

    nor wonder it didn't work.

    thank you, my friend :)

Topic Closed

This topic has been closed to new replies.

About this Topic