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: WP Rocket | Disable Page Caching for Specific Custom Post Type | |
* Description: Disable WP Rocket’s page cache for Specific Custom Post Type. | |
* Author: your name here | |
* License: GNU General Public License v3 or later | |
* License URI: http://www.gnu.org/licenses/gpl-3.0.html | |
*/ | |
defined( 'ABSPATH' ) or die( 'Cheatin’ uh?' ); |
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 | |
defined ( 'ABSPATH') or die ( 'Cheatin & # 8217;? uh'); | |
/ ** | |
* Plugin Name: WP Rocket | Remove ETag from htaccess | |
* Description: Prevents ETag code to be added to htaccess. | |
* Author: WP Rocket Support Team | |
* Author URI: http://wp-rocket.me/ | |
* License: GNU General Public License v3 or later | |
* License URI: http://www.gnu.org/licenses/gpl-3.0 .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
<?php | |
defined( 'ABSPATH' ) or die( 'Cheatin’ uh?' ); | |
/** | |
* Plugin Name: WP Rocket | Fix Expires Rules Varnish issue on DreamHost | |
* Description: Prevents the dreaded error 500 from appearing. | |
* Author: WP Rocket Support Team | |
* Author URI: http://wp-rocket.me/ | |
* License: GNU General Public License v3 or later | |
* License URI: http://www.gnu.org/licenses/gpl-3.0.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
/wp-content/uploads/wp-less/dt-the7/css/custom-old-ie-da2ef4bad9.css | |
/wp-content/uploads/wp-less/dt-the7/css/main-da2ef4bad9.css | |
/wp-content/uploads/wp-less/dt-the7/css/custom-da2ef4bad9.css |
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
<div id="head_banner"> | |
<?php | |
if ( option::get('ad_head_select') == 'on' ) { ?> | |
<?php if ( option::get('ad_head_code') <> "" ) { | |
echo stripslashes(option::get('ad_head_code')); | |
} else { | |
?><a href="<?php echo option::get('ad_head_imgurl'); ?>"><img src="<?php echo option::get('ad_head_imgpath'); ?>" alt="<?php echo option::get('ad_head_imgalt'); ?>" /></a><?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 | |
while ( $loop->have_posts() ) : $loop->the_post(); | |
$parentMeta = get_post_custom(); | |
if (isset($parentMeta['wpzoom_slide_tagline'][0])) { $tagline = $parentMeta['wpzoom_slide_tagline'][0]; } | |
$large_image_url = wp_get_attachment_image_src( get_post_thumbnail_id(), 'thumb-homepage-slider' ); | |
$style = isset( $large_image_url[0] ) && !empty( $large_image_url[0] ) ? sprintf( ' style="background-image:url(\'%s\')"', $large_image_url[0] ) : ''; | |
echo '<li' . $style . ' class="slide"> </li>'; |
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 | |
while ( $loop->have_posts() ) : $loop->the_post(); | |
$parentMeta = get_post_custom(); | |
if (isset($parentMeta['wpzoom_slide_tagline'][0])) { $tagline = $parentMeta['wpzoom_slide_tagline'][0]; } | |
$permalink = get_permalink(); | |
$large_image_url = wp_get_attachment_image_src( get_post_thumbnail_id(), 'thumb-homepage-slider' ); | |
$style = isset( $large_image_url[0] ) && !empty( $large_image_url[0] ) ? sprintf( ' style="background-image:url(\'%s\')"', $large_image_url[0] ) : ''; | |
echo '<li' . $style . ' class="slide"><a href="'. $permalink .'"> </a></li>'; | |
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 get_the_image( array( 'size' => 'slider', 'width' => 560, 'height' => 315 ) ); ?> |
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 if ( empty( $videoexternal ) && empty( $videoselfhosted ) ) : ?> | |
<?php /* No video? Display featured image. */ ?> | |
<?php get_the_image( array( 'size' => 'slider', 'width' => 560, 'height' => 315 ) ); ?> | |
<?php else: ?> | |
<?php | |
if ( $videotype == 'external' && ! empty( $videoexternal ) ) { | |
$video_embed = embed_fix( $videoexternal, 560, 315 ); |
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 if ( empty( $videoexternal ) && empty( $videoselfhosted ) ) : ?> | |
<?php /* No video? Display featured image. */ ?> | |
<?php get_the_image( array( 'size' => 'slider', 'width' => 560, 'height' => 315 ) ); ?> | |
<?php else: ?> | |
<?php | |
if ( $videotype == 'external' && ! empty( $videoexternal ) ) { | |
$video_embed = embed_fix( $videoexternal, 560, 315 ); |
NewerOlder