WordPress.org

Ready to get started?Download WordPress

Forums

Simple Staff List
Using the Short Code with HTML (4 posts)

  1. ussailing
    Member
    Posted 10 months ago #

    Hi,

    I have a site where I am using the shortcode. The problem is I have a bunch of groups and I want to have it set up so for each group, the staff list is brought on the next line. I have been using the
    tag and read that wordpress doesn't like this. Does anyone know how I can have this work...you can see what I am talking about at http://dev.ussailing.org/index.php/about-us/staff-directory/ . Basically it should be Executive and then the people in that department and then Membership should be on the next line but it isnt....any ideas?

    http://wordpress.org/plugins/simple-staff-list/

  2. lothsun
    Member
    Posted 10 months ago #

    Can you post an example of your page code and the template code you are using? That will help me see how you have it set up and help you get the layout you want.

  3. ussailing
    Member
    Posted 10 months ago #

    This is the page

    http://dev.ussailing.org/index.php/about-us/staff-directory/

    and the template code being used is being pulled

    Staff Loop Template

    [staff_loop]
    <img class="staff-member-photo" src="[staff-photo-url]" alt="[staff-name] : [staff-position]">

    [staff-name-formatted]
    [staff-position]
    [staff-phone]
    [staff-email-link]
    [/staff_loop]

    Staff page CSS:

    div.main_inner {
    display: table;
    }

    div.staff-member {
    float:left;/*fix for buggy browsers*/
    display:table-column;
    width:210px;
    height:325px;
    text-align: left;
    padding-right: 35px;
    }

  4. lothsun
    Member
    Posted 10 months ago #

    Looks as though you got this figured out.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.