View lead.html
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
[lead]Your lead text[/lead] |
View staff-group-shortcode.html
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
[staff group="core"] |
View fit-video.html
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
[fit]Your video code[/fit] |
View upside-down-staff.php
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 | |
/* | |
* Template Name: Staff List | |
* | |
* | |
* This file displays the complete | |
* list of staff members | |
* | |
* @package WordPress | |
* @subpackage United |
View custom-js.php
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
jQuery('.flexslider').flexslider({ | |
animation : "<?php echo of_get_option('type','') ?>", | |
slideshow : <?php echo of_get_option('auto','') ?>, | |
slideshowSpeed : <?php echo of_get_option('duration','') ?>, | |
animationDuration : <?php echo of_get_option('transition','') ?>, | |
directionNav : <?php echo of_get_option('prev_next','') ?>, | |
controlNav : false, | |
pauseOnAction : true, | |
smoothHeight : true, |
View pre-posts.php
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
function foundation_pre_posts( $query ) { | |
if ( is_tax( 'staff-group' ) && $query->is_main_query() ) { | |
// displays in post order | |
$query->set( 'order', 'ASC' ); | |
$query->set( 'orderby', 'menu_order' ); | |
return; | |
} | |
} | |
add_action( 'pre_get_posts', 'foundation_pre_posts', 1 ); |
View special-staff-page.php
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 | |
/* | |
Template Name: Special Staff Home | |
* | |
* | |
* This file controls the display of the | |
* themes home page | |
* | |
* @package WordPress | |
* @subpackage Elite |
View widget-featured-posts.php
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 | |
/** | |
* Posts Widget | |
* | |
* This widget adds a list of your | |
* lastest posts from the category of your | |
* choosing. | |
* | |
*/ |
View post-query.php
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 $loop = new WP_Query( array( 'posts_per_page' => 10 ) ); ?> |
OlderNewer