Created
October 1, 2015 16:51
-
-
Save anonymous/8272961ce48dfe28f1bf to your computer and use it in GitHub Desktop.
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 { | |
$rotator = new WP_Query( 'tag=main_rotating' ); | |
} ?> | |
<div class="slider-wrapper theme-default main-image"> | |
<div id="slider" class="nivoSlider"> | |
<?php if( $rotator->have_posts() ) : while( $rotator->have_posts() ) : $rotator->the_post(); ?> | |
<a href="<?php echo esc_url( get_permalink() ); ?>"> | |
<img src="<?php echo get_post_meta( get_the_ID(), 'large-meta-box-text', true ); ?>"> | |
</a> | |
<?php endwhile; endif; wp_reset_postdata(); ?> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment