How to reorder priests/sermons/churches?

We will show how to do this on ‘Priests‘ custom post type, but you can repeat this on any other CPT.

Please follow these instructions:

1. open lib/post_types/priest.php

2. find this line:

'supports' => array( 'title', 'editor', 'thumbnail' ),

and change it to read:

'supports' => array( 'title', 'editor', 'thumbnail', 'page-attributes'  ),

3. when you save it, you will get new field above featured image of priest (admin side of site – please check following screenshot order.png)

order

4. open page-priests.php

5. find this line:

$args['post_type'] = TB_PRIEST_CPT;

and change it to read:

$args['post_type'] = TB_PRIEST_CPT;
$args['order'] = 'ASC';
$args['orderby'] = 'menu_order';

6. install this plugin: http://wordpress.org/plugins/post-types-order/ (here is a quick explanation: http://www.youtube.com/watch?v=VEbNKFSfhCc) and you will be able to arrange your staff in order you want

White around images: please follow these instructions:

1. open skeleton.css

2. find this line:

		.container img {
			overflow: hidden;
			max-width: 640px;
			height: auto;
		}

and below it add this line:

		.container .sixteen img {max-width: 100% !important;}

3. save and refresh your site in front-end

Please note that images in portrait mode will still have white around themselves.

0