Esempio n. 1
0
    do_action('easingsliderlite_pagination', $s, $c);
}
?>

    <?php 
/** Edit slideshow link, don't remove this! Won't show if user isn't logged in or doesn't have permission to edit slideshows */
?>
    <?php 
if (current_user_can('easingsliderlite_edit_slideshow') && apply_filters('easingsliderlite_edit_slideshow_icon', __return_true())) {
    ?>
        <a href="<?php 
    echo admin_url("admin.php?page=easingsliderlite_edit_slideshow");
    ?>
" style="position: absolute; top: -15px; left: -15px; z-index: 50;">
            <img src="<?php 
    echo plugins_url(dirname(plugin_basename(EasingSliderLite::get_file()))) . DIRECTORY_SEPARATOR . 'images' . DIRECTORY_SEPARATOR . 'edit_icon.png';
    ?>
" style="box-shadow: none; border-radius: none;" />
        </a>
    <?php 
}
?>
</div>

<?php 
/** Display the slideshow shadow */
if (!apply_filters('easingsliderlite_disable_shadow', __return_false())) {
    /** Get the inline styling */
    $styles = $c->shadow->enable ? 'display: block; ' : 'display: none; ';
    $styles .= $s->dimensions->responsive ? "max-width: {$s->dimensions->width}px; " : "width: {$s->dimensions->width}px; ";
    $styles .= $c->border->width !== 0 ? "margin-left: {$c->border->width}px;" : '';
Esempio n. 2
0
 /**
  * Displays a slideshow
  *
  * @since 2.0
  */
 public function display_slideshow()
 {
     /** Display the slideshow */
     ob_start();
     require dirname(EasingSliderLite::get_file()) . DIRECTORY_SEPARATOR . 'templates' . DIRECTORY_SEPARATOR . 'slideshow.php';
     return ob_get_clean();
 }
Esempio n. 3
0
<div style="margin-bottom: 15px;">
    <a href="http://easingslider.com/upgrade-to-pro" target="_blank">
        <img src="<?php 
    echo plugins_url(dirname(plugin_basename(EasingSliderLite::get_file()))) . DIRECTORY_SEPARATOR . 'images' . DIRECTORY_SEPARATOR . 'banner-easingsliderpro.png';
    ?>
" width="285" height="100" alt="<?php 
    _e('Need more slideshow? Click here.', 'easingsliderlite');
    ?>
" />
    </a>
</div>

<div style="margin-bottom: 15px;">
    <a href="http://rocketgalleries.com/" target="_blank">
        <img src="<?php 
    echo plugins_url(dirname(plugin_basename(EasingSliderLite::get_file()))) . DIRECTORY_SEPARATOR . 'images' . DIRECTORY_SEPARATOR . 'banner-rocketgalleries.png';
    ?>
" width="285" height="100" alt="<?php 
    _e('Rocket Galleries for WordPress', 'easingsliderlite');
    ?>
" />
    </a>
</div>
<?php 
}
?>

<!-- Manage Slides -->
<div class="widgets-holder-wrap exclude">
    <div class="sidebar-name">
        <div class="sidebar-name-arrow"></div>