• ugua

    (@ugua)


    Hi,

    I use the default theme of WP.
    I’d like to add a line at the bottom of every post.

    What template should I edit?
    Thanks

Viewing 3 replies - 16 through 18 (of 18 total)
  • Thread Starter ugua

    (@ugua)

    there is no main index template ??
    I’ve look in any file

    https://img92.imageshack.us/img92/2788/wp8pn.jpg

    Chris_K

    (@handysolo)

    Well… I’m not sure where to go with this. I’m guessing the word “index” is localized to something else?

    Look through the .php files for a loop that starts with
    <?php while (have_posts()) : the_post(); ?>
    and ends with
    <?php endwhile; ?>

    That’s the loop that displays a series of posts on a page.

    In that loop, you’ll see the wordpress tags responsible for displaying your posts. For instance:

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

    Experiment a bit with where you could put <hr /> and see how it looks.

    That’s about as far as I can take this one.

    Thread Starter ugua

    (@ugua)

    I edited directly index.php trough ftp thanks ??

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘line at the end of post’ is closed to new replies.