Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a. Open single-staff.php and add the following right after line 102
- <?php comments_template(); ?>
- * So the full code would look like this:
- <div class="grid_17 alpha omega">
- <h2><?php _e('About Me') ?></h2>
- <?php the_content(); ?>
- <?php comments_template(); ?>
- </div>
- * This will call the comment template on the staff page.
- b. Now open functions.php and change line 248:
- * From this:
- 'supports' => array('title','editor','thumbnail'),
- * To This:
- 'supports' => array('title','editor','thumbnail','comments'),
- * This will allow comments for the custom post type "Staff"
Advertisement
Add Comment
Please, Sign In to add comment