make more money with advanced custom fields - wordcampyyc 2015
TRANSCRIPT
![Page 1: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/1.jpg)
![Page 2: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/2.jpg)
![Page 3: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/3.jpg)
![Page 4: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/4.jpg)
![Page 5: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/5.jpg)
![Page 6: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/6.jpg)
![Page 7: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/7.jpg)
Take full control of your edit screens
![Page 8: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/8.jpg)
Cleaner & more predictable front-end
![Page 9: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/9.jpg)
Charge more for your work!
![Page 10: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/10.jpg)
NutshellIN A
![Page 11: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/11.jpg)
<div class="row callout-wrap"> <div class="thirdcol first co-1"> <div class="callout-title"> Upcoming Events </div> <div class="callout-img"> <img src="images/callout-horse-white.png"> </div> <div class="callout-tagline-wrap"> <p>Spend a day at the</p> <p class="emph">races</p> <a class="callout-button">Race Schedule >></a> </div> </div> <div class="thirdcol co-2"> <div class="callout-title"> Farmer's Market </div> <div class="callout-img"> <img src="images/callout-wheat.png"> </div> <div class="callout-tagline-wrap"> <p>Now with longer</p> <p class="emph">hours</p> <a class="callout-button">Market Info >></a> </div> </div> <div class="thirdcol last co-3"> <div class="callout-title"> Available Services </div> <div class="callout-img"> <img src="images/callout-campfire.png"> </div> <div class="callout-tagline-wrap"> <p>We have so much</p> <p class="emph">more</p> <a class="callout-button">What we offer >></a> </div> </div> </div>
Callouts
![Page 12: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/12.jpg)
Callouts
![Page 13: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/13.jpg)
![Page 14: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/14.jpg)
3
1
2
ACCESS TO YOUR THEME’S PHP
BASIC THEMING PRACTICES
BASIC-ER PHP SYNTAX
![Page 15: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/15.jpg)
![Page 16: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/16.jpg)
![Page 17: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/17.jpg)
![Page 18: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/18.jpg)
FIELD 1: BACKGROUND IMAGE
FIELD 2: HEADLINE
FIELD 3: TEXT
FIELD 4: CALL TO ACTION BUTTON TEXT
FIELD 5: BUTTON LINK
![Page 19: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/19.jpg)
<div class=“inner-container” style=“background: url(/images/flamesbg.jpg) no-repeat center center; background-size: cover;”>
</div>
<img src=“/images/flames-logo.png” alt=“Flames logo”>
<h1>The Calgary Flames have made the playoffs!</h1>
<p>Tickets will be made available to non-season ticket holders via a lottery system. Sign up today!</p>
<a class=“button” href=“http://www.calgaryflames.com/tickets”> I WANT TO BE PART OF THE C OF RED </a>
![Page 20: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/20.jpg)
![Page 21: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/21.jpg)
![Page 22: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/22.jpg)
![Page 23: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/23.jpg)
![Page 24: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/24.jpg)
FIELD 1: BACKGROUND IMAGE
FIELD 2: HEADLINE
FIELD 3: TEXT
FIELD 4: CALL TO ACTION BUTTON TEXT
FIELD 5: BUTTON LINK
![Page 25: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/25.jpg)
![Page 26: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/26.jpg)
![Page 27: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/27.jpg)
Flames Background
flames_background
![Page 28: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/28.jpg)
Flames Background
flames_background
![Page 29: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/29.jpg)
Flames Headline
flames_headline
![Page 30: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/30.jpg)
Flames Text
flames_text
![Page 31: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/31.jpg)
Flames Button Text
flames_button_text
![Page 32: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/32.jpg)
Flames Link
flames_link
![Page 33: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/33.jpg)
![Page 34: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/34.jpg)
![Page 35: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/35.jpg)
<?php /*Template Name: Home*/ ?>
<?php get_header(); ?>
<div class="row"> <div class="page-content"> <h2> <?php the_title(); ?> </h2> <?php the_content(); ?> </div> </div>
<?php get_footer(); ?>
![Page 36: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/36.jpg)
![Page 37: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/37.jpg)
<?php /*Template Name: Home*/ ?>
<?php get_header(); ?>
<?php get_footer(); ?>
<div class="inner-container" style="background: url(/images/flames-bg.jpg)” no-repeat center center; background-size: cover;"> <img src="/images/flames-logo.png" alt="Flames logo"> <h1> The Calgary Flames have made the playoffs! </h1> <p> Tickets will be made available to non-season ticket holders via a lottery system. Sign up today! </p> <a class="button" href="http://www.calgaryflames.com/tickets"> I WANT TO BE PART OF THE C OF RED </a>
</div>
![Page 38: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/38.jpg)
![Page 39: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/39.jpg)
![Page 40: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/40.jpg)
![Page 41: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/41.jpg)
![Page 42: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/42.jpg)
![Page 43: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/43.jpg)
![Page 44: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/44.jpg)
![Page 45: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/45.jpg)
<?php the_field('field_name'); ?>
<?php the_title(); ?><?php the_content(); ?>
WORDPRESS TEMPLATE TAGS
ACF FIELD TAGS
![Page 46: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/46.jpg)
<?php get_header(); ?>
<?php /*Template Name: Home*/ ?>
<?php get_footer(); ?>
<div class="inner-container" style="background: url(/images/flames-bg.jpg)” no-repeat center center; background-size: cover;"> <img src="/images/flames-logo.png" alt="Flames logo"> <h1> The Calgary Flames have made the playoffs! </h1> <p> Tickets will be made available to non-season ticket holders via a lottery system. Sign up today! </p> <a class="button" href="http://buildstudio.ca/acftalk/order-tickets"> I WANT TO BE PART OF THE C OF RED </a>
</div>
![Page 47: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/47.jpg)
<?php get_header(); ?>
<?php /*Template Name: Home*/ ?>
<?php get_footer(); ?>
<div class="inner-container" style="background: url(<?php the_field('flames_background'); ?>)” no-repeat center center; background-size: cover;"> <img src="/images/flames-logo.png" alt="Flames logo"> <h1> <?php the_field('flames_headline'); ?> </h1> <p> <?php the_field('flames_text'); ?> </p> <a class="button" href="<?php the_field('flames_link'); ?>"> <?php the_field(‘flames_button_text'); ?> </a>
</div>
![Page 48: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/48.jpg)
![Page 49: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/49.jpg)
![Page 50: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/50.jpg)
![Page 51: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/51.jpg)
![Page 52: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/52.jpg)
![Page 53: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/53.jpg)
Beat the Canucks! Make them cry!
Woohoo!!!!!!!
We made the playoffs, baby!
![Page 54: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/54.jpg)
![Page 55: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/55.jpg)
Beat the Canucks! Make them cry!
Woohoo!!!!!!!
We made the playoffs, baby!
![Page 56: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/56.jpg)
BRING ON THE DUCKS
Holy Crap We Did It
The Flames Have Advanced to the Second Round!
![Page 57: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/57.jpg)
Holy Crap We Did It
The Flames Have Advanced to the Second Round
BRING ON THE DUCKS
![Page 58: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/58.jpg)
FIELD 1: PLAYER PHOTO
FIELD 2: PLAYER
NAME
FIELD 3: PLAYER
POSITION
![Page 59: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/59.jpg)
![Page 60: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/60.jpg)
Players
![Page 61: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/61.jpg)
Players
Flames Players
flames_players
![Page 62: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/62.jpg)
Flames Players
flames_players
![Page 63: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/63.jpg)
Flames Players
flames_players
![Page 64: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/64.jpg)
Flames Players
flames_players
![Page 65: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/65.jpg)
Player Photo
player_photo
![Page 66: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/66.jpg)
Flames Players
Player Name
player_name
![Page 67: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/67.jpg)
Flames Players
Player Position
player_position
![Page 68: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/68.jpg)
Players
Flames Players
flames_players
![Page 69: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/69.jpg)
Flames Players
flames_players
Add Player
![Page 70: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/70.jpg)
Add Player
![Page 71: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/71.jpg)
![Page 72: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/72.jpg)
<div class="inner-container"> <img src="/images/flames-logo.png" alt="Flames logo"> <h1>Flames Players</h1> <div class="bio"> <img src="images/glencross.jpg"> <div class="bio-text"> <h2>Curtis Glencross</h2> <p>Left Wing</p> </div> </div>
<div class="bio"> <img src="images/hiller.jpg"> <div class="bio-text"> <h2>Jonas Hiller</h2> <p>Goaltender</p> </div> </div>
<div class="bio"> <img src="images/monahan.jpg"> <div class="bio-text"> <h2>Sean Monahan</h2> <p>Center</p> </div> </div>
</div>
![Page 73: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/73.jpg)
if(get_field('repeater_field_name')): while(has_sub_field('repeater_field_name')): ?>
<?php
<!--subfield 1 content--> <?php the_sub_field('sub_field_1'); ?> <!--subfield 2 content--> <?php the_sub_field('sub_field_2'); ?>
<?php endwhile; ?> <?php endif; ?>
if(have_posts()) while(have_posts()): the_post(); ?>
<?php
<?php the_title(); ?> <?php the_content(); ?>
<?php endwhile; ?> <?php endif; ?>
ONE EXAMPLE OF THE WORDPRESS LOOP
THE ACF REPEATER LOOP
![Page 74: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/74.jpg)
Players
Flames Players
flames_players
![Page 75: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/75.jpg)
if(get_field('repeater_field_name')): while(has_sub_field('repeater_field_name')): ?>
<?php
<!--subfield 1 content--> <?php the_sub_field('sub_field_1'); ?> <!--subfield 2 content--> <?php the_sub_field('sub_field_2'); ?>
<?php endwhile; ?> <?php endif; ?>
![Page 76: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/76.jpg)
if(get_field(‘flames_players')): while(has_sub_field('flames_players')): ?>
<?php
<!--subfield 1 content--> <?php the_sub_field('sub_field_1'); ?> <!--subfield 2 content--> <?php the_sub_field('sub_field_2'); ?>
<?php endwhile; ?> <?php endif; ?>
![Page 77: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/77.jpg)
<div class="bio"> <img src="images/glencross.jpg"> <div class="bio-text"> <h2>Curtis Glencross</h2> <p>Left Wing</p> </div> </div>
if(get_field('flames_players')): while(has_sub_field('flames_players')): ?>
<?php
<?php endwhile; ?> <?php endif; ?>
![Page 78: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/78.jpg)
<div class="bio"> <img src="<?php the_sub_field(‘player_photo'); ?>"> <div class="bio-text"> <h2><?php the_sub_field(‘player_name'); ?></h2> <p><?php the_sub_field(‘player_position’); ?></p> </div> </div>
if(get_field('flames_players')): while(has_sub_field('flames_players')): ?>
<?php
<?php endwhile; ?> <?php endif; ?>
![Page 79: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/79.jpg)
if(get_field('flames_players')): while(has_sub_field('flames_players')): ?>
<?php endwhile; ?> <?php endif; ?>
<div class="bio"> <img src="<?php echo get_sub_field(‘player_photo'); ?>"> <div class="bio-text"> <h2><?php echo get_sub_field(‘player_name'); ?></h2> <p><?php echo get_sub_field(‘player_position'); ?></p> </div> </div>
<div class="inner-container"> <img src="/images/flames-logo.png" alt="Flames logo"> <h1>Flames Players</h1>
<?php get_header(); ?>
<?php get_footer(); ?>
<?php /*Template Name: Players*/ ?>
![Page 80: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/80.jpg)
![Page 81: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/81.jpg)
Players
![Page 82: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/82.jpg)
Players
![Page 83: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/83.jpg)
Players
![Page 84: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/84.jpg)
Players
Curtis Glencross Left Wing
![Page 85: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/85.jpg)
Players
Jonas Hiller Goaltender
![Page 86: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/86.jpg)
Players
Sean Monahan Centre
![Page 87: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/87.jpg)
![Page 88: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/88.jpg)
Players
![Page 89: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/89.jpg)
![Page 90: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/90.jpg)
Players
![Page 91: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/91.jpg)
Players
![Page 92: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/92.jpg)
Players
Sam Bennett Centre
![Page 93: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/93.jpg)
![Page 94: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/94.jpg)
![Page 95: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/95.jpg)
![Page 96: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/96.jpg)
![Page 97: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/97.jpg)
![Page 98: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/98.jpg)
![Page 99: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/99.jpg)
![Page 100: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/100.jpg)
![Page 101: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/101.jpg)
![Page 102: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/102.jpg)
Global fields in a custom options area
![Page 103: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/103.jpg)
Global fields in a custom options area
![Page 104: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/104.jpg)
Calls to Action
![Page 105: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/105.jpg)
Calls to Action
![Page 106: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/106.jpg)
MoneyMAKE MORE
![Page 107: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/107.jpg)
Edits are made when you want them, not when I
can do them
MoneyMAKE MORE
![Page 108: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/108.jpg)
I can now be hit by a bus
MoneyMAKE MORE
![Page 109: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/109.jpg)
One less thing to train staff
MoneyMAKE MORE
![Page 110: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/110.jpg)
Hiring requirements just became a little more
relaxed
MoneyMAKE MORE
![Page 111: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/111.jpg)
Say goodbye to the minimum charge
MoneyMAKE MORE
![Page 112: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/112.jpg)
![Page 113: Make More Money With Advanced Custom Fields - WordCampYYC 2015](https://reader030.vdocuments.us/reader030/viewer/2022021507/58ed63301a28ab0e4a8b45dd/html5/thumbnails/113.jpg)