Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter maychookmusic

    (@maychookmusic)

    Okay, that’s good. I added description and formatting by myself for now. Thank you for your help.

    Thread Starter maychookmusic

    (@maychookmusic)

    Hi, it works now but it doesn’t have formatting. It looks like this:-

    Assistant Volunteer Coordinator & Info Ambassador (2013 – Present)
    North York Arts (Toronto Arts Foundation)
    artsAndCulture
    Assistant Stage Manager (2010 – 2013)
    Multiple arts organizations and festivals
    artsAndCulture
    Installation Assistant (2011 – 2013)
    Multiple exhibits
    artsAndCulture
    Front of House Volunteer (2011 – 2011)
    The Canadian Stage Company
    artsAndCulture
    Peer Mentor – Faculty of Fine Arts & York International (2010 – 2012)
    York University
    education
    Student Ambassador (2010 – 2010)
    York University
    education

    Also, would it be possible to include the summary of each role? Thank you.

    Thread Starter maychookmusic

    (@maychookmusic)

    positions, skills, educations, languages, volunteer

    Thread Starter maychookmusic

    (@maychookmusic)

    Hi Claude,

    Unfortunately it didn’t work. I tried changing from “role” to “volunteer”, nothing changed. I used var_dump($profile) and this is what I got..showing you 2 examples (since it’s a long list)

    ["volunteerExperiences"]=>
        object(stdClass)#18 (2) {
          ["_total"]=>
          int(6)
          ["values"]=>
          array(6) {
            [0]=>
            object(stdClass)#5 (3) {
              ["id"]=>
              int(64)
              ["organization"]=>
              object(stdClass)#356 (1) {
                ["name"]=>
                string(41) "North York Arts (Toronto Arts Foundation)"
              }
              ["role"]=>
              string(49) "Assistant Volunteer Coordinator & Info Ambassador"
            }
            [1]=>
            object(stdClass)#357 (3) {
              ["id"]=>
              int(65)
              ["organization"]=>
              object(stdClass)#358 (1) {
                ["name"]=>
                string(41) "Multiple arts organizations and festivals"
              }
              ["role"]=>
              string(23) "Assistant Stage Manager"
            }
    
    I made some minor changes and nothing changed on my page. 
    
    <?php if (isset($profile->volunteerExperiences->values) && is_array($profile->volunteerExperiences->values)): ?>
    <div id="volunteer" class="section">
    <div class="heading"><?php _e('Volunteer Experience', 'wp-linkedin'); ?></div>
    <?php foreach ($profile->volunteer->values as $v): ?>
    <div class="volunteer">
    <div class="role"><?php echo $v->role; ?> (<?php echo $v->startDate->year; ?> - <?php echo isset($v->endDate) ? $v->endDate->year : __('Present', 'wp-linkedin'); ?>)</div>
    <div class="organization"><?php echo $v->organization->name; ?></div>
    <?php if (isset($v->cause)): ?>
    <div class="cause"><?php echo nl2br($v->cause); ?></div>
    <?php endif; ?>
    </div>
    <?php endforeach; ?>
    </div>
    <?php endif; ?>

    It would be great to add volunteer field to the standard template if things work out.

Viewing 4 replies - 1 through 4 (of 4 total)