-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #125 from FameThemes/Development
Update to version 1.1.3
- Loading branch information
Showing
11 changed files
with
73 additions
and
38 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,3 +47,12 @@ | |
} | ||
} | ||
} | ||
|
||
|
||
/* WP 4.7 Shortcut */ | ||
section > .customize-partial-edit-shortcut { | ||
z-index: 95; | ||
button { | ||
left: 30px; | ||
} | ||
} |
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,41 @@ | ||
<?php | ||
$default = apply_filters( 'screenr_default_slider_items', array( | ||
array( | ||
'content_layout_1' => screenr_get_default_slider_content(), | ||
'media'=> array( | ||
'url' => get_template_directory_uri() . '/assets/images/hero.jpg', | ||
'id' => '' | ||
$disable = get_theme_mod( 'slider_disable' ); | ||
if ( ! $disable ) { | ||
$default = apply_filters('screenr_default_slider_items', array( | ||
array( | ||
'content_layout_1' => screenr_get_default_slider_content(), | ||
'media' => array( | ||
'url' => get_template_directory_uri() . '/assets/images/hero.jpg', | ||
'id' => '' | ||
) | ||
) | ||
) | ||
) | ||
); | ||
$slider = new Screenr_Slider( get_theme_mod( 'slider_items', $default ) ) ; | ||
$autoplay = get_theme_mod( 'slider_autoplay' , 7000 ); | ||
?> | ||
<?php if ( ! screenr_is_selective_refresh() ) { ?> | ||
<section id="<?php echo esc_attr( get_theme_mod( 'slider_id', 'hero' ) ); ?>" class="section-slider screenr-section swiper-slider <?php echo screenr_is_fullscreen() ? 'full-screen' : ''; ?> fixed" > | ||
<?php } ?> | ||
<div class="swiper-container" data-autoplay="<?php echo intval( $autoplay ); ?>"> | ||
); | ||
$slider = new Screenr_Slider(get_theme_mod('slider_items', $default)); | ||
$autoplay = get_theme_mod('slider_autoplay', 7000); | ||
?> | ||
<?php if (!screenr_is_selective_refresh()) { ?> | ||
<section id="<?php echo esc_attr(get_theme_mod('slider_id', 'hero')); ?>" class="section-slider screenr-section swiper-slider <?php echo screenr_is_fullscreen() ? 'full-screen' : ''; ?> fixed" > | ||
<?php } ?> | ||
<div class="swiper-container" data-autoplay="<?php echo intval($autoplay); ?>"> | ||
<div class="swiper-wrapper"> | ||
<?php | ||
echo $slider->render(); | ||
echo $slider->render(); | ||
?> | ||
</div> | ||
<?php if ( $slider->number_item > 1 ) { ?> | ||
<div class="swiper-button-prev"><i class="fa fa-angle-left" ></i> <div class="slide-count"> <span class="slide-current" >1</span> <span class="sep"></span> <span class="slide-total">3</span> </div></div> | ||
<div class="swiper-button-next"><i class="fa fa-angle-right" ></i> <div class="slide-count"> <span class="slide-current" >1</span> <span class="sep"></span> <span class="slide-total">3</span> </div> </div> | ||
<?php if ($slider->number_item > 1) { ?> | ||
<div class="swiper-button-prev"><i class="fa fa-angle-left"></i> | ||
|
||
<div class="slide-count"><span class="slide-current">1</span> <span class="sep"></span> <span class="slide-total">3</span></div> | ||
</div> | ||
<div class="swiper-button-next"><i class="fa fa-angle-right"></i> | ||
|
||
<div class="slide-count"><span class="slide-current">1</span> <span class="sep"></span> <span class="slide-total">3</span></div> | ||
</div> | ||
<?php } ?> | ||
<div class="btn-next-section"></div> | ||
</div> | ||
<?php if ( ! screenr_is_selective_refresh() ) { ?> | ||
</section> | ||
<?php } ?> | ||
<?php if (!screenr_is_selective_refresh()) { ?> | ||
</section> | ||
<?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