simple user listing 2 columns

I use Simple User Listing http://wordpress.org/plugins/simple-user-listing/ and now user list its show in one column, but I need on two and I have no idea how to do this, I’m not a expert with php but know little about code 😉

code which show me user list:

<?php
/**
 * The Template for displaying Author listings
 *
 * Override this template by copying it to yourtheme/authors/content-author.php
 *
 */

if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly

global $user;

$user_info = get_userdata($user->ID);
?>
<style>
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%; 
}

.content {
    min-height: 100%;
    position: relative;
    overflow: auto;
    z-index: 0; 
}

.background {
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    margin: 0;
    padding: 0;
}

.top_block {
    width: 50%;
    display: block; 
    margin: 5px;
}

.bottom_block {
    position: absolute;
    width: 100%;
    display: block;
    bottom: 0; 
}

.left_block {
    display: block;
    float: left; 
    margin: 5px;
}

.right_block {
    display: block;
    float: right; 
}

.center_block {
    display: block;
    width: 50%; 
    margin: 5px;
    word-wrap: break-word;
}

.block_top {
    width: 50%;
    height: 30px;
    background-color: #9999ff;
    vertical-align: middle;

}

.background.block_left {
    height: auto !important;
    padding-bottom: 0;
    left: 0;
    width: 70px;
    background-color: #ffffff;
    margin-top: 70px; 
}

.block_left {
    height: auto;
    width: 150px;
    padding-bottom: 0px;
}

</style>
    <div class="content">
        <div class="top_block block_top">
            <div class="content"><h4><a href="<?php echo get_author_posts_url($user->ID); ?>"><?php echo $user_info->display_name; ?></a></h4>
            </div>
        </div>
        <div class="background block_left">
        </div>
        <div class="left_block block_left">
            <div class="content"><a target="_self" href="<?php echo get_author_posts_url($user->ID); ?>">
<?php echo get_avatar( $user->ID, 90 ); ?>
</a>
            </div>
        </div>
        <div class="background block_blurb">
        </div>
        <div class="center_block block_blurb">
            <div class="content"><?php echo $user_info->description; ?>
            </div>
        </div>
    </div>

Read more here: simple user listing 2 columns

Leave a Reply

Your email address will not be published. Required fields are marked *