Skip to content

Instantly share code, notes, and snippets.

View LiamBailey's full-sized avatar
💭
Build With Heart - Codeable.io

Liam Bailey LiamBailey

💭
Build With Heart - Codeable.io
View GitHub Profile
<div id="stat-wrapper">
<?php if ( have_rows( 'stats' ) ) : ?>
<?php $showitems = 2; $i = 0;$maincount = 0; ?>
<div class="col">
<?php while ( have_rows( 'stats' ) ) : the_row(); ?>
<div class="stat stat-<?php echo $maincount; ?>">
<?php if ( get_sub_field( 'stat_icon' ) ) { ?>
<img src="<?php the_sub_field( 'stat_icon' ); ?>" />
<?php } ?>
<?php the_sub_field( 'stat_headline' ); ?>
@LiamBailey
LiamBailey / wordpress-plugin-svn-to-git.md
Created December 2, 2016 13:40 — forked from kasparsd/wordpress-plugin-svn-to-git.md
Using Git with Subversion Mirroring for WordPress Plugin Development