示例#1
0
文件: isp.php 项目: jdozierezell/afsp
                }
            }
        }
        ?>

<section class="isp container">
	<img class="isp__image" src="http://afsp.staging.wpengine.com/wp-content/uploads/2015/10/howISPworks.png" />
	<img class="isp__image" src="http://afsp.staging.wpengine.com/wp-content/uploads/2015/10/connection.png" />
	<img class="isp__image" src="http://afsp.staging.wpengine.com/wp-content/uploads/2015/10/engagement.png" />
	<img class="isp__image" src="http://afsp.staging.wpengine.com/wp-content/uploads/2015/10/treatment.png" />
</section>

				<?php 
        if (have_rows('fg_features')) {
            $i = 0;
            while (have_rows('fg_features')) {
                the_row();
                $i++;
                $row = get_field('fg_features');
                if ($i > 1) {
                    afsp_features();
                    // Code for this function exists in inc/features.php
                }
            }
        }
    }
}
?>

				<?php 
get_footer();
示例#2
0
            }
        }
        ?>
       
    </nav>
  </div>
  <div class="sidebar__content">
    
			<?php 
        if (have_rows('fg_features')) {
            $i = 0;
            while (have_rows('fg_features')) {
                the_row();
                $i++;
                $section = 'section' . ($i - 1);
                afsp_features('third', $section);
                // Code for this function exists in inc/features.php
            }
        }
        if (get_the_title() == 'Education') {
            // Is this the education page ? Show the grid.
            get_template_part('template-parts/program-grid');
            // else :
            // 	 get_template_part('template-parts/icon-features');
        }
    }
}
?>
  
  </div>
</div>