Files
creator-child/-child/----footer-page.php
Bruno Pesenti 6df0f90b09 Single v1
-commentaires cachés
-settings
-3 lightbox
-enqueue js et css
2017-01-16 06:32:13 +01:00

52 lines
1.6 KiB
PHP
Executable File

<footer id="foot">
<div class="bottom-foot">
<div class="container">
<div class="copyright">
<p class="credits"><?php echo ( dess_setting('dess_copyright') !='' ? dess_setting('dess_copyright') : __('2016 Copyright. Powered by WordPress','creator') ); ?></p>
</div>
<div class="clear"></div>
</div>
</div>
</footer>
<script src="//cdn.rawgit.com/noelboss/featherlight/1.7.0/release/featherlight.min.js" type="text/javascript" charset="utf-8"></script>
<script src="//cdn.rawgit.com/noelboss/featherlight/1.3.4/release/featherlight.gallery.min.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
$(document).ready(function(){
$('.gallery').featherlightGallery({
gallery: {
fadeIn: 300,
fadeOut: 300
},
openSpeed: 300,
closeSpeed: 300
});
$('.gallery2').featherlightGallery({
gallery: {
next: 'next »',
previous: '« previous'
},
variant: 'featherlight-gallery2'
});
$.featherlightGallery.prototype.afterContent = function() {
var caption = this.$currentTarget.find('img').attr('alt');
this.$instance.find('.caption').remove();
$('<div class="caption">').text(caption).appendTo(this.$instance.find('.featherlight-content'));
};
});
/* $('.my-gallery').featherlightGallery({
filter: "a",
afterContent: function() {
this.$legend = this.$legend || $('<div class="legend"/>').insertAfter(this.$content);
this.$legend.text(this.$currentTarget.attr('alt'));
}
});
*/
</script>
<?php wp_footer(); ?>
</body>
</html>