SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Apr 2010
    Posts
    49
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Easy Wordpress questions

    Dear all,

    In my newbie practice blog I have created several authors. In the blog home page there are links on the right for recent articles and to list posts by category, but there are no links to list all posts by author A, author B etc and no links to author profiles ie a few lines about who author A, author B etc is.

    Any help please??

  2. #2
    Mazel tov! bronze trophy kohoutek's Avatar
    Join Date
    Aug 2004
    Location
    Hamburg, Germany
    Posts
    4,248
    Mentioned
    30 Post(s)
    Tagged
    0 Thread(s)
    Maleika E. A. | Rockatee | Twitter | Dribbble



  3. #3
    SitePoint Enthusiast
    Join Date
    Apr 2010
    Posts
    49
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by kohoutek View Post
    Ok thank you.

    I added the bit in blue below to sidebar.php, and the list of authors displays correctly but then when I click on the link for any author the author page is messed up with very big fonts. Any suggestions please??

    Thank you




    <?php global $titan; ?>
    <div id="sidebar">
    <?php if ($titan->sideboxState() != 'true' ){ ?>
    <div id="sidebox">
    <?php if ($titan->sideboxCustom() == 'true' ): ?>
    <?php echo $titan->sideboxCode(); ?>
    <?php else : ?>
    <a href="/"><img src="<?php bloginfo( 'template_url'); ?>/images/sidebar/sidebox.jpg" width="236" height="236" alt="Titan WordPress Theme" /></a>
    <?php endif; ?>
    </div><!--end sidebox-->
    <?php } ?>
    <?php if ($titan->adboxState() == 'true' ){ ?>
    <div id="adbox" class="clear">
    <a href="<?php if ($titan->adboxUrl1() != '' )echo $titan->adboxUrl1(); else echo "#"; ?>"><img class="alignleft" src="<?php bloginfo( 'stylesheet_directory'); ?>/images/sidebar/<?php if ($titan->adboxImage1() != '' )echo $titan->adboxImage1(); else echo "125_ad_1.gif"; ?>" width="125" height="125" alt="<?php if ($titan->adboxAlt1() != '' )echo $titan->adboxAlt1(); else echo bloginfo( 'name'); ?>" /></a>
    <a href="<?php if ($titan->adboxUrl2() != '' )echo $titan->adboxUrl2(); else echo "#"; ?>"><img class="alignright" src="<?php bloginfo( 'stylesheet_directory'); ?>/images/sidebar/<?php if ($titan->adboxImage2() != '' )echo $titan->adboxImage2(); else echo "125_ad_1.gif"; ?>" width="125" height="125" alt="<?php if ($titan->adboxAlt2() != '' )echo $titan->adboxAlt2(); else echo bloginfo( 'name'); ?>" /></a>
    </div><!--end adbox-->
    <?php } ?>
    <?php if ( is_active_sidebar( 'normal_sidebar' )) echo "<ul>" ?>
    <?php if ( !function_exists( 'dynamic_sidebar')|| !dynamic_sidebar( 'normal_sidebar' )) : ?>
    <ul>
    <li class="widget widget_recent_entries">
    <h2 class="widgettitle"><?php _e( 'Recent Articles', 'titan'); ?></h2>
    <ul>
    <?php $side_posts = get_posts( 'numberposts=10'); foreach($side_posts as $post) : ?>
    <li><a href= "<?php the_permalink(); ?>"><?php the_title(); ?></a></li>
    <?php endforeach; ?>
    </ul>
    </li>


    <li class="widget widget_list_of_authors">
    <h2 class="widgettitle"><?php _e( 'List of Authors', 'titan'); ?></h2>
    <ul>
    <?php wp_list_authors( $args ); ?>
    </ul>
    </li>


    <li class="widget widget_categories">
    <h2 class="widgettitle"><?php _e( 'Categories', 'titan'); ?></h2>
    <ul>
    <?php wp_list_cats( 'sort_column=name&hierarchical=0'); ?>
    </ul>
    </li>
    <li class="widget widget_archive">
    <h2 class="widgettitle"><?php _e( 'Archives', 'titan'); ?></h2>
    <ul>
    <?php wp_get_archives( 'type=monthly'); ?>
    </ul>
    </li>
    </ul>
    <?php endif; ?>
    <?php if ( is_active_sidebar( 'normal_sidebar' )) echo "</ul>" ?>


    </div><!--end sidebar-->


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •