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 template for the Meteor Slides 1.5.6 slideshow | |
Copy "meteor-slideshow.php" from "/meteor-slides/" to your theme's directory to replace | |
the plugin's default slideshow loop. | |
Learn more about customizing the slideshow template for Meteor Slides: | |
http://www.jleuze.com/plugins/meteor-slides/customizing-the-slideshow-template/ | |
*/ |
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 | |
/** | |
* The Header template for our theme | |
* | |
* Displays all of the <head> section and everything up till <div id="main"> | |
* | |
* @package WordPress | |
* @subpackage Twenty_Twelve | |
* @since Twenty Twelve 1.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
<?php | |
/** | |
* Header template for our theme | |
* | |
* Displays all of the <head> section and everything up till <div id="main">. | |
* | |
* @package WordPress | |
* @subpackage Twenty_Ten | |
* @since Twenty Ten 1.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
<?php | |
/** | |
* Header template for our theme | |
* | |
* Displays all of the <head> section and everything up till <div id="main">. | |
* | |
* @package WordPress | |
* @subpackage Twenty_Ten | |
* @since Twenty Ten 1.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
<?php | |
/** | |
* Header template for the theme | |
* | |
* Displays all of the <head> section and everything up till <div id="main">. | |
* | |
* @package WordPress | |
* @subpackage Twenty_Eleven | |
* @since Twenty Eleven 1.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
<?php | |
/** | |
* Header template for the theme | |
* | |
* Displays all of the <head> section and everything up till <div id="main">. | |
* | |
* @package WordPress | |
* @subpackage Twenty_Eleven | |
* @since Twenty Eleven 1.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
<?php | |
/** | |
* The template for displaying the header | |
* | |
* Displays all of the head element and everything up until the "site-content" div. | |
* | |
* @package WordPress | |
* @subpackage Twenty_Sixteen | |
* @since Twenty Sixteen 1.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
<?php | |
/* Loop template for the slide posts list */ | |
// Settings for slide list loop | |
global $post; | |
$meteor_posttemp = $post; | |
$meteor_count = 1; | |
$meteor_loop = new WP_Query( array( |
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 | |
add_action( 'pre_get_posts', 'et_custom_posts_per_page' ); | |
function et_custom_posts_per_page( $query ) { | |
global $shortname; | |
if ( is_admin() ) return $query; | |
if ( $query->is_main_query() && $query->is_category ) { | |
$query->set( 'posts_per_page', et_get_option( $shortname . '_catnum_posts' ) ); |
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 /* | |
Plugin Name: Remove Meteor Scripts | |
Description: Remove JS and CSS for Meteor Slides when not needed. | |
Author: Josh Leuze | |
Author URI: http://www.jleuze.com/ | |
Version: 1.0 */ | |
add_action( 'template_redirect', 'disable_meteorslides_scripts' ); | |
function disable_meteorslides_scripts() { |
NewerOlder