queue  46
support
Results 1 to 3 of 3

Thread: No Staff Member Pictures? [SOLVED]

  1. #1
    Junior Member
    Join Date
    Sep 2013
    Posts
    4

    No Staff Member Pictures? [SOLVED]

    I am trying to add pictures to the staff section but the directions:
    "2. Insert a featured picture..." does not show up on my Add Staff Member page.
    I have Title, then the Visual or Text section, and then it skips to the Personal Info Section (position, twitter link, etc)


    When I look at the pagecontent-staff.php area I can see photo size is there: <?php $content->img(220,180); ?>

    here is the full code:

    <?php $t =& peTheme(); ?>
    <?php $content =& $t->content; ?>
    <?php $meta =& $content->meta(); ?>


    <section class="about" id="<?php $content->slug(); ?>">
    <div class="inner">
    <h2><?php $content->title(); ?>
    <i class="title_line"></i>
    </h2>

    <?php if (!empty($meta->staff->subtitle)): ?>
    <p class="lead"><?php echo $meta->staff->subtitle; ?></p>
    <?php endif; ?>

    <?php if (!empty($meta->staff->members)): ?>
    <?php if ($content->customLoop(
    "staff",-1,null,
    array(
    "post__in" => $meta->staff->members,
    "orderby" => "post__in"
    ),false)):
    ?>
    <ul id="portraits">
    <?php while ($content->looping() ) : ?>
    <?php $meta =& $content->meta(); ?>
    <li>
    <?php $content->img(220,180); ?>
    <span class="name"><?php $content->title(); ?></span><br/>
    <?php if (!empty($meta->info->position)): ?>
    <span class="poste"><?php echo $meta->info->position; ?></span><br/>
    <?php endif; ?>
    <span class="whathedo">
    <?php if (!empty($meta->info->twitter)): ?>
    <a href="<?php echo esc_url($meta->info->twitter); ?>"><i class="icon">L</i></a>
    <?php endif; ?>
    <?php if (!empty($meta->info->linkedin)): ?>
    <a href="<?php echo esc_url($meta->info->linkedin); ?>"><i class="icon">I</i></a>
    <?php endif; ?>
    <?php if (!empty($meta->info->facebook)): ?>
    <a href="<?php echo esc_url($meta->info->facebook); ?>"><i class="icon">F</i></a>
    <?php endif; ?>
    </span>
    </li>
    <?php endwhile; ?>
    <?php $content->resetLoop(); ?>
    </ul>
    <?php endif; ?>
    <?php endif; ?>
    </div>
    </section>

    Please tell me what I am missing.
    Thanks for your help.

  2. #2
    Junior Member
    Join Date
    Sep 2013
    Posts
    4
    Solved.
    I saw on the "Edit Staff Member" page that there is a blue link on the right sidebar, click on "Set Featured Image" and the link takes you to the Media Library or you can upload an image. Click on the picture of the staff person and it loads. Nice.
    Last edited by mich; 09-08-2013 at 04:09.

  3. #3
    Junior Member
    Join Date
    Oct 2015
    Posts
    27
    Thank Mich for the solution, I couldn't find it neither.