WordPress.org

Ready to get started?Download WordPress

Forums

Job Manager
Make my own job template (2 posts)

  1. xionhack
    Member
    Posted 3 years ago #

    Hi! Great Plugin! I love it! Is there any way for me to create my own template that shows the jobs that are available. I feel that I would be able do more things if I had more control. I checked the database and the data is very hard to use at least for me. Is there any way to do that? Thanks!

  2. Remi
    Member
    Posted 2 years ago #

    Are you looking for a list that shows the newest jobs?

    Then i think you can use this code:

    <ul>
    <?php $jobs = get_posts('post_type=jobman_job&numberposts=5'); ?>
    <? if ( $jobs ) : foreach ( $jobs as $job ) : setup_postdata( $jobs ); ?>
    <?php $permaid = $job->ID; ?>
    <li class="job_title"><p><a href="<?php echo get_permalink( $permaid ); ?>"><?php echo $job->post_title; ?></a></p></li>
    <? endforeach; endif; ?>
    </ul>

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic