How to add excerpt function to WP Job Manager

By Chris on July 7, 2015 in php
0
0

The WP Job Manager plug in great, however you may need to add custom exceprt function to the job descriptions (if you want something like a custom post slider of jobs displayed on your home page for example).

If this is the case adding this code to your functions.php file will add the exceprt text field to the bottom of the listings page:

add_action(‘init’, ‘my_custom_init’);
function my_custom_init() { add_post_type_support( ‘job_listing’, ‘excerpt’ ); }

About the Author

ChrisView all posts by Chris >

0 Comments

Leave a reply

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.