WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Customizing Author Pages (2 posts)

  1. Hazlo
    Member
    Posted 3 years ago #

    Hello to everybody here

    I use a two columns theme, with flexible width, and I'm trying now to customize my author pages. I'd like to get them with a width of 100%. So I first removed the sidebar call (in the Page Template), but now I don't know which code I should add (and where) to overpass the posts template (only regarding the width).
    I do my best but... I don't know very much about code actually !
    Could someone help?
    Many thanks, in advance.

    Hazlo, painter

    this is the page link

    and this is the main blog link

  2. Hazlo
    Member
    Posted 3 years ago #

    ...And here is the Page Template code, in case it could help.
    Thx.

    <?php get_header(); ?>
    <div id="content">
    <?php if (have_posts()) : ?>
    <?php while (have_posts()) : the_post(); ?>
    <div class="post" id="post-<?php the_ID(); ?>">

    <div class="postmetadata"><?php the_time('F jS, Y') ?> <?php edit_post_link('(Edit this entry)', '', ''); ?></div>
    <?php the_content(); ?>
    <?php wp_link_pages('before=<p class="link-pages">Pages: &after=</p>'); ?>

    <?php comments_template(); ?>
    </div><!-- end .post -->

    <?php endwhile; ?>

    <?php else : ?>
    <div class="post">
    <h2 class="title">Not Found</h2>
    <p>Sorry, but you are looking for something that isn't here. Contact me or yourself</p>
    </div><!-- end .post -->
    <?php endif; ?>
    </div><!-- end #content -->

    <?php get_footer(); ?>

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.