Hi Nick,
I didn’t get a reply back from you, are you still supporting this plugin?
I managed to integrate the plugin into my child successfully and all looks after making some CSS styling changes but the issue I have now is that when a new job is posted to the resume it goes to the bottom of the list on the page instead of showing at the top as this is the latest job?
Is this how you intended it to be or is there something wrong?
This plugin is just what I require but I need the latest job experience to show at the top of the list.
Cheers
Martin
WOW thanks for reaching out on Twitter! I seriously had no idea this message was even here. π
To answer your question, yes the latest job shows at the bottom, however this can certainly be updated to list the last at top.
Hi Nick,
Thanks for coming back to me.
Love you plugin and it’s works well with my existing theme, how would I go about making the latest jobs show at the top of the list?
Cheers
Martin
You would have to edit the code itself. It just lists them as they are created.
Ok Nick fantastic, but could you just point in the right direction and I”l get this done?
You’d probably have to do an array reverse on the iterated jobs. This is in the template file towards the bottom, work places.
Hi Nick,
Was looking at the template file to see how this worked, could see an array though?
But this is the code for the job experience section is this what you meant?
if (!$hide_experience) { ?>
<!– start work experience wrap –>
<section class=”row resume-work-wrap”>
<div class=”col-sm-3″>
<h4 class=”zmt resume-item-title”><?php echo $experience_title;?></h4>
</div>
<div class=”col-sm-9″>
<?php foreach($companies as $company): ?>
<!– company –>
<div class=”row resume-company-item”>
<div class=”col-sm-9″>
<h4 class=”zmt resume-company-title”><?php echo $company[‘rp_work_title’];?></h4>
<h4 class=”zmt”><small><?php echo $company[‘rp_work_company’];?></small></h4>
<p><?php echo $company[‘rp_work_desc’];?></p>
</div>
<div class=”col-sm-3 tar”>
<p class=”label label-resume”><?php echo $company[‘rp_work_dates’];?></p>
</div>
</div>
<!– end company –>
<?php endforeach; ?>
</div>
</section>
<hr />
<!– end work experience wrap –>
<?php }
Hi,
Unfortunately I don’t have the time to teach you how to do this. I’d be more than happy to update the plugin just as soon as I’m able.
Ok Nick, thanks for your help, yes your resume page plugin would be awesome if the last entry displayed at the top as this would be the persons latest experience and would keep everything in chronological order.
I realise that you busy but could you just confirm if the code chunk I just posted is what I’d need to work with? I’m just getting started with php but could probably work it out?
Cheers
Martin