Skip to content

Instantly share code, notes, and snippets.

View RAStacy's full-sized avatar

Ryan Stacy RAStacy

View GitHub Profile
@ashby
ashby / ACF: Repeater with Flexslider
Last active January 30, 2019 07:08
ACF: Repeater with Flexslider
<?php if(get_field('repeater_field_name')): ?>
<div class="flexslider">
<ul class="slides">
<?php while(has_sub_field('repeater_field_name')): ?>
<li>
<img src="<?php the_sub_field('sub_field'); ?>" />
</li>
<?php endwhile; ?>
</ul>
</div>
@ScottPhillips
ScottPhillips / .htaccess
Created February 2, 2012 04:30
Common .htaccess Redirects
#301 Redirects for .htaccess
#Redirect a single page:
Redirect 301 /pagename.php http://www.domain.com/pagename.html
#Redirect an entire site:
Redirect 301 / http://www.domain.com/
#Redirect an entire site to a sub folder
Redirect 301 / http://www.domain.com/subfolder/