WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Aleph] Design users.php: Photo

[Resolved] [Plugin: Aleph] Design users.php: Photo

  • Chris Andersen
    Member

    @chris1

    Hi Detective,

    on my users.php
    the photo should be in the right box. I tried different things… no success.

    How should I do that? Here is my code:

    <ol class="user-list">
    		<?php while (have_users()){ the_user(); ?>
    		<li class="user">
    <a href="http://www.c-salsa.com/wp-login.php?"><img src="Upload photo" width="90" height="90" align="right" vspace="10" hspace="20" alt="Upload Photo"></a><a href="<?php echo aleph_get_user_profile_url(); ?>"><h2><?php aleph_the_user_complete_name(); ?></a></a></h2>
    <ul>
    <li>Username: <class="user-name" id="user-<?php aleph_the_user_ID(); ?>"><?php aleph_the_user_profile_link(); ?>
    <li><?php echo aleph_get_user_cimy_field('city'); ?> | <?php echo aleph_get_user_cimy_field('country'); ?></li>
    <li><?php aleph_the_taxonomy_link('author-contacts'); ?></li>
    <li><?php aleph_the_user_avatar('<li class="user-avatar">', '</li>'); ?>
    				</ul>
    		</li>
    		<?php } ?>
    		</ol>

Viewing 2 replies - 1 through 2 (of 2 total)
  • Detective
    Member

    @detective

    That’s a matter of css. Perhaps you could do the following:

    <li class="user-avatar"><?php aleph_the_user_avatar(); ?></li>

    And put the following in your themes’ style.css:

    li.user-avatar img { float: right; }

    Chris Andersen
    Member

    @chris1

    Hi Detective,

    that’s perfect, thanks a lot.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] [Plugin: Aleph] Design users.php: Photo’ is closed to new replies.