WordPress.org

Ready to get started?Download WordPress

Forums

People Lists
Display in 2 columns on page with pagination (2 posts)

  1. joetheinsider
    Member
    Posted 1 year ago #

    Hi,

    This is what I exactly need to show my members list without using BuddyPress. I have around 800 users and the People's List when showed on a page just shows a long 1 column list. How can I display the list in 2 columns with pagination breaks?

    Thanks a lot!

    http://wordpress.org/extend/plugins/people-lists/

  2. engel31
    Member
    Posted 1 year ago #

    Hello,

    Edit people-lists.php. At around line 841.
    Change $html = '<div class="person">';
    by $html = '<div class="person" style=";float:left">';

    After that modify your template to fit the width of the page and that's all. DONT FORGET to add a left margin! Here is one of my template for my residence (this is an adressbook)

    <div style="background-color:#FDC97D; margin-right:10px;margin-bottom:10px;width:270px; height:115px; border:1px solid black" >
    <div style="position:relative;float:left;margin-top:5px;margin-left:5px;">%thumbnail%</div>
    <div style="position:relative;padding-top:5px;margin-left:95px;height:15px;width:100%;"><font size="2.9"><strong>%firstname% %lastname%</strong></font>
    	<font size="2.5">Batiment %people_lists_votre_b_timent__juste_la_lettre_% - APPT %people_lists_votre_appartement__juste_le_num_ro_% 
    
    %people_lists_num_ro_de_mobile__sera_dans_l_annuaire_%
    	%people_lists_num_ro_de_fixe__sera_dans_l_annuaire_%
    	%people_lists_votre_email__sera_dans_l_annuaire_%</font></div>
    </div>

    [Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum's parser.]

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.