mirror of
https://ghproxy.net/https://github.com/AlxMedia/blogrow.git
synced 2025-08-27 01:46:10 +08:00
temp js fix order
This commit is contained in:
parent
028a14390f
commit
602806fc21
1 changed files with 4 additions and 4 deletions
|
@ -15,7 +15,10 @@
|
|||
<?php endif; ?>
|
||||
|
||||
<?php if ( has_post_format( 'gallery' ) ): // Gallery ?>
|
||||
<script type="text/javascript">
|
||||
|
||||
<div class="post-format">
|
||||
<?php $images = alx_post_images(); if ( !empty($images) ): ?>
|
||||
<script type="text/javascript">
|
||||
// Check if first slider image is loaded, and load flexslider on document ready
|
||||
jQuery(document).ready(function(){
|
||||
var firstImage = jQuery('#flexslider-<?php echo the_ID(); ?>').find('img').filter(':first'),
|
||||
|
@ -38,9 +41,6 @@
|
|||
}, 20);
|
||||
});
|
||||
</script>
|
||||
<div class="post-format">
|
||||
<?php $images = alx_post_images(); if ( !empty($images) ): ?>
|
||||
|
||||
<div class="flex-container">
|
||||
<div class="flexslider" id="flexslider-<?php the_ID(); ?>">
|
||||
<ul class="slides">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue