[Plugin: Staff Directory] Formatting and making the plugin work for you.
-
I used this plugin recently and just wanted to share my implementation for anyone that may have issues. Within the Templates tab under Staff Directory:
Just use basic html to layout the elements (remember in order to see the elements (such as [photo]) they must be included in the template)<div class="staff-directory"> [staff_loop] <div id="loopy"> <div class="photo">[photo]</div> <div class="bio"> <div class="head">[name_header]</div> [position]<br> [bio_paragraph][email_link]<br><br> <div class="space"></div> </div> </div> [/staff_loop] </div>
within the CSS, style your elements according to your design:
.staff-directory img{ width:405px; float:left; } .head{ margin-top:-10px; padding-top:0px; } #loopy{ margin-top:5px; } .photo { width:150px; float:left; } .photo img{ max-width: 150px; min-width: 150px; } .bio{ float:left; width:420px; margin-left:10px; } .head h3{ margin-top:10px; padding-top:0px; margin-bottom:0px; padding-bottom:0px; } .space{ height:20px; }
my result: https://myoklg.com/beta/?page_id=6 soon to be https://myoklg.com/?page_id=6
- The topic ‘[Plugin: Staff Directory] Formatting and making the plugin work for you.’ is closed to new replies.