Skip to content

Instantly share code, notes, and snippets.

Created August 7, 2014 14:13
What would you like to do?
ACF Example 2
<div class="grid_6 spotlight project" style="background-color:<?php the_field('background_color'); ?>">
<a href="<?php the_permalink(); ?>">
<img src="<?php the_field( 'homepage_slider_image' ); ?>">
<a href="<?php the_permalink(); ?>"><?php the_title(); ?></a>
<?php the_field( 'description'); ?>
<a class="btn blue" href="<?php the_permalink(); ?>" style="background-color:<?php the_field('button_color'); ?>">
Read More &rarr;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment