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

  1. joetheinsider
    Posted 2 years ago #


    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!


  2. engel31
    Posted 2 years ago #


    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_% 

    [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

  • People Lists
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.