spacer
Tweet
Love It - 2

There are several plugins and “app” themes available for job board / job posting websites, but what if you want to roll your own? A lot of people would go about thinking that building such as system would be extremely complex and expensive, and some of the time they would be right. However, if we leverage the power of a few of different plugins, it is actually quite easy to build our own jobs board or job posting system that we can integrate into any WordPress website.

The system created in the above video is pretty simple, but works quite well as a demonstration of the kind of system that is quite easy to build you combine Easy Content Types, Gravity Forms, and Custom Post Types add-on for Gravity Forms.

In the video I walk you through the process of building the system shown in the screenshots below:

The code used for both template files is also below:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<h3>Latest Job Postings</h3>
<?php
	$jobs_query = new WP_Query( array('post_type' => 'jobs', 'posts_per_page' => -1) );
	if ( $jobs_query->have_posts() ) :
		while ( $jobs_query->have_posts() ) : $jobs_query->the_post(); ?>
 
			<h4><a class="<?php the_permalink(); ?>"><?php the_title(); ?></a></h4>
			<?php the_excerpt(); ?>
			<p><a class="<?php the_permalink(); ?>">View Details</a></p>
 
		<?php endwhile;
	else:
		echo 'no jobs found';
	endif;
	wp_reset_postdata();
 
?>
1
2
3
4
5
6
7
 
<?php the_content(); ?>
<h4>Job Meta</h4>
<ul>
	<li>Submitted by: <?php echo get_post_meta($post->ID, 'ecpt_postedby', true); ?></li>
	<li>Inquiry Email: <a class="mailto:<?php echo get_post_meta($post->ID, 'ecpt_contactemail', true); ?>"><?php echo get_post_meta($post->ID, 'ecpt_contactemail', true); ?></a></li>
</ul>
Tweet Follow @pippinsplugins
Brad Vincent, easy content types, gravity forms

15 comments on “Jobs Posting with Easy Content Types and Gravity Forms

  1. spacer drewmcmanus says:
    April 17, 2012 at 12:35 pm

    This is terrific Pippin, kudos! I currently use the jobroller theme from AppThemes and it’s okay, but I am looking for a better solution. I love GF but I’m wondering if you have any suggestions on creating the sort of frontend UX that allows users to filter jobs, etc.

    Drew

    Reply