Pippins Plugins
  • Email
  • Facebook
  • Feedburner
  • Github
  • Google
  • Twitter
  • Vimeo
  • Youtube
  • Rss
  • About
  • News
  • Join the Site
    • Member Benefits
    • Member Plugins
    • Email Notifications
  • Plugin Store
    • Affiliate Area
    • Checkout
  • Plugins
    • Plugin Portfolio
      • Plugin Portfolio – List View
    • Free
    • Premium
    • Member Plugins
    • Coding Standards
    • Get Plugin Support
  • Tutorials
    • Series
      • Plugin Development 101
      • Creating a User Follow System Plugin
      • Customizing Restrict Content Pro
      • Displaying Content with Easy Content Types
      • Writing Your First WordPress Plugins, Basic to Advanced
      • Working with Widgets
      • User Submitted Image Galleries
      • Plugin Thoughts
      • Integrating Stripe.com with WordPress
      • WordPress Rewrite API
    • Member Exclusive
      • Free Members
      • Subscriber Only
    • Difficulty
      • Beginner
      • Intermediate
      • Advanced
    • Action and Filter Hooks
    • Ajax
    • Custom Post Types
    • External APIs
    • Short Codes
    • Taxonomies
    • Video Tutorials
    • Widget Tutorials
    • WordPress Admin / Dashboard
    • Working with jQuery
    • WordPress Database
    • Writing Plugins
    • Tag Index
  • Reviews
  • Support Forum
  • Contact
    • Support the Site
    • Request Code Review
    • Plugin Support

Jobs Posting with Easy Content Types and Gravity Forms

Posted on April 17, 2012 by Pippin in Custom Post Types, Intermediate, Member Restricted, Subscriber Only, Tutorials, Video Tutorials 26 Comments
Home» Tutorials » Custom Post Types » Jobs Posting with Easy Content Types and Gravity Forms
Tweet
Love It - 5

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:

jobs-page
post-a-job
jobs-admin
developer-needed

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 href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h4>
			<?php the_excerpt(); ?>
			<p><a href="<?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 href="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

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

  1. 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
    • Pippin says:
      April 17, 2012 at 12:42 pm

      Thanks, Drew. Creating the filtering system really wouldn’t be very hard. Simply add a taxonomy to Jobs post type, then display the terms of the taxonomy on the Jobs page. The selected “category” can be added to the jobs query (in the template file) using URL query parameters.

      Did any of that make sense?

    • drewmcmanus says:
      April 17, 2012 at 1:28 pm

      sure did, many thanks.

  2. Paul says:
    April 17, 2012 at 2:07 pm

    the power and flexibility of Gravity Forms seems limitless. I recently took a similar approach to create paid member business listings. I used ECPT to generate the post types and taxonomies, then GF for the submission and membership. And the Members plugin for protecting content. I posted it on my blog

    Reply
    • Pippin says:
      April 17, 2012 at 2:09 pm

      Yeah, it’s awesome. You should post the link, that sounds great!

  3. sasank says:
    April 18, 2012 at 6:19 am

    Thanks Pippin for considering my request and create a tutorial but is there a way do the same without using Gravity Forms?

    Reply
    • Pippin says:
      April 18, 2012 at 9:16 am

      Yes it can be done, as long as you are okay with creating the submission form completely from scratch. I could do another tutorial on that.

    • sasank says:
      April 18, 2012 at 10:37 am

      it would be great if you can do another for it.

      Thank you

  4. iryna says:
    April 23, 2012 at 6:55 am

    Great tut!
    How about editing the entries that users created once they back ond logged in?? Is it possible?
    Thanks so much,
    Iryna

    Reply
    • Pippin says:
      April 23, 2012 at 10:17 am

      Editing entries by the admin or the user that posted the job?

    • iryna says:
      April 23, 2012 at 10:30 am

      for the user that posted the job.

      Thanks os much!

  5. iryna says:
    April 23, 2012 at 10:31 am

    for the user edit without going to the back-end. thanks

    Reply
    • Pippin says:
      April 23, 2012 at 10:33 am

      For scenarios where the user wants to update their job posting I presume? That’s definitely possible, but goes quite a bit beyond the scope of this tutorial. Maybe later.

    • sasank says:
      April 23, 2012 at 10:39 am

      Looks very useful feature!!

  6. iryna says:
    April 23, 2012 at 4:12 pm

    I think I fugured the edit post for users by using this plugin: http://wordpress.org/extend/plugins/wp-user-frontend/installation/

    thanks!

    Reply
  7. kos818 says:
    June 18, 2012 at 6:42 pm

    Hi Pippin,

    I got a membership for that specific post, but don’t see any video. Just trying it on FF without any add blocker, but with activated VPN as I am currently located in Mainland China, which is kind of a PITA when it comes to browing the internet.

    Any thoughts about the missing video would be highly appreciated
    Best
    Sven

    Reply
    • Pippin says:
      June 18, 2012 at 7:18 pm

      Hmm, can you try it in Chrome? I’ve just checked and the video is working fine here.

    • Pippin says:
      June 19, 2012 at 9:56 am

      I think I found the problem. Can you take a look and see if the video loads for you now?

  8. kos818 says:
    June 28, 2012 at 4:27 pm

    Hi Pippin,

    sorry for not following up. Comment notification seemes to have failed too ;-)
    Still not working in FF, but I managed to download the video in the meantime…

    Another question: I would be highly interested in the 2nd part of the tutorial. Should read an online application process. I might use part 1 on my private blog some day, as it covers internships in China, but part 2 would really sweeten the cake!

    Best
    Sven

    Reply
    • Pippin says:
      June 29, 2012 at 3:05 pm

      I’m glad you’ve been able to download the video at least :)

  9. Scot MacDonald says:
    May 1, 2013 at 2:20 pm

    Pippin

    I’d like to use this technique to allow users to submit reviews for a CPT on my site (‘universities’). I’m thinking the review would then need to be associated with the particular university being reviewed, and then ideally output below the university profile page somehow. Could this be done in concert with the ‘posts 2 posts’ plugin or some such thing?

    Reply
    • Pippin says:
      May 1, 2013 at 8:47 pm

      Most certainly!

  10. Scot MacDonald says:
    May 2, 2013 at 10:37 am

    Pippin

    Trying to work my way through this tutorial with jobs prior to tacking my reviews, however I’m getting caught up trying to display the meta info. Not sure if this is the best place to seek help or in the forums.

    Reply
    • Pippin says:
      May 2, 2013 at 10:44 am

      Are they meta fields from Easy Content Types? If so, in the forums please.

  11. Scot MacDonald says:
    May 2, 2013 at 11:41 am

    Actually, have it working now. Your templates are a little different than mine but figured it out.

    Reply
    • Pippin says:
      May 2, 2013 at 12:01 pm

      Great!

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

  • Login

Lost your password?

Please enter your username or e-mail address. You will receive a new password via e-mail.

  • Facebook Become a Fan Like

  • Twitter Subscribe on Twitter Follow

  • YouTube Follow my Videos Subscribe

  • RSS Feed Subscribe with RSS Subscribe

Easy Digital Downloads

Most Loved

  • Love It Pro for WordPress
  • Write a “Love It” Plugin with Ajax to Let Users Love Their Favorite Posts / Pages
  • Simple Notices Pro Plugin for WordPress
  • User Bookmarks for WordPress
  • Front End Registration and Login Forms Plugin

Similar Plugins and Posts

  • Making a Simple Rating Field Type in Easy Content Types
  • Adding a Simple Image Gallery with the Repeatable Upload Field
  • Repeatable Upload Fields for Easy Content Types
  • Creating a Simple Events System with Easy Content Types
  • Registering Custom Meta Field Types for Easy Content Types

Latest Premium Content

  • Plugin Development 101 – Introduction to Adding Dashboard Menus
  • Plugin Development 101 – Intro to Loading Scripts and Styles
  • User Follow System – Part 5
  • Plugin Development 101 – Intro to Short Codes
  • Plugin Development 101 – Registering a Custom Post Type
  • Plugin Development 101 – Intro to Actions

Latest Tutorials

  • Submitting Your First Pull Request to a WordPress Plugin on Github (2)

    Github is an extremely popular tool for managing WordPress plugins, and one...

  • Plugin Development 101 – Introduction to Adding Dashboard Menus (1)

    Adding new menus, both top level and sub level, to the WordPress Dashboard is a really common task for plugins...

  • Plugin Development 101 – Intro to Loading Scripts and Styles (16)

    In this part of Plugin...

Enter your email to receive automated updates when new posts are published

Latest Tweets

  • RT @Astoundify: We are hiring p/t tech support rep for our support forum if your interested email contact [at] http://t.co/bcXNhcwZx5
    May 23, 2013
  • @trepmal @Namecheap I&#039;ve double refunded my certs there three times. Stupid
    May 23, 2013
  • @digitalFocus I&#039;m done for the day but can chat tomorrow
    May 23, 2013

Topics

add_shortcode the_content Rémi Corson add_options_page wp_enqueue_script get_user_meta shortcodes contextual help Sugar Event Calendar meta box register_setting campaign monitor featured mail chimp authors attachment Related posts image plugin forms do_action short codes login post types bbpress recent posts comments apply_filters short code taxonomies custom post type Ajax images gallery Stripe taxonomy jquery users widgets add_filter easy content types add_action widget restrict content pro easy digital downloads

Weekly Newsletter

Useful Links

  • Join the Site
  • Plugin Store
  • Affiliate Area
  • Tag Index
  • Support the Site
  • Suggest a Tutorial
  • Random Post
  • Contact

Monthly Archives

(c) 2011 Pippin's Plugins