This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$args = array( | |
'post_type' => 'volunteer-opportunit', // enter your custom post type | |
'orderby' => 'date', // order | |
'order'=> 'ASC', //reverse order | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$args = array( | |
'post_type' => 'volunteer-opportunit', // enter your custom post type | |
'orderby' => 'date', // order | |
'order'=> 'ASC', //reverse order | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// insert into functions.php | |
//* Add new image sizes | |
add_image_size('grid-thumbnail', 100, 100, TRUE); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$args = array( | |
'post_type' => 'faqa', // enter your custom post type | |
'orderby' => 'rand', // order | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$args = array( | |
'post_type' => 'mini-features', // enter your custom post type | |
'orderby' => 'date', // order | |
'feature-type' => 'web', | |
'posts_per_page'=> '0', // return only 1 post | |
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Customizer additions. | |
* | |
* @package Workstation Pro | |
* @author StudioPress | |
* @link http://my.studiopress.com/themes/workstation/ | |
* @license GPL2-0+ | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Masonry Custom CSS */ | |
/* Masonry container */ | |
body.blog div#content, body.archive div#content { | |
-moz-column-count: 4; | |
-webkit-column-count: 4; | |
column-count: 4; | |
-moz-column-gap: 1em; | |
-webkit-column-gap: 1em; | |
column-gap: 1em; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Flexbox Grid | |
------------*/ | |
/* Uncomment and set these variables to customize the grid. */ | |
.container-fluid { | |
margin-right: auto; | |
margin-left: auto; | |
padding-right: 2rem; | |
padding-left: 2rem; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Extra Widget Area for resources page | |
function genesischild_footerwidgetheader() { | |
genesis_register_sidebar( array( | |
'id' => 'footerwidgetheader', | |
'name' => __( 'Footer Widget Header', 'genesis' ), | |
'description' => __( 'This is for the Footer Widget Headline', 'genesis' ), | |
) ); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* | |
* @author Calvin Makes | |
* @link http://www.calvinmakes.com/ | |
* @version 1.0 | |
* | |
* Add previous and next buttons to custom post types. | |
*/ | |
function cm_custom_navigation_links() { |