WordPress.org

Ready to get started?Download WordPress

Forums

Utombox 4U Theme Blocks (1 post)

  1. Jardry
    Member
    Posted 7 years ago #


    <li><a>"><span class="date"><?php the_time( $hemingway->date_format() ) ?></span> <?php the_title() ?> </a></li>

    The above lists the post title aligned left and the date aligned right.

    Can anyone suggest how I can use the same span to again align the title left, but have the number of views aligned right.

    This is the code block which needs to be amended:

    <?php get_most_viewed('post',10); ?>

    The get_most_viewed code is by GaMerZ and I think this might be the code that needs to be modified:

    $temp .= "<li><a>$post_title</a> - $post_views ".__('Views', 'wp-postviews')."</li>
    n";

    Any help would be much appreciated.

    EDIT - Sorry about not being able to post code correctly.

Topic Closed

This topic has been closed to new replies.

About this Topic