Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- *
- * This is the most generic template file in a WordPress theme
- * and one of the two required files for a theme (the other being style.css).
- * It is used to display a page when nothing more specific matches a query.
- * E.g., it puts together the home page when no home.php file exists.
- * Learn more: http://codex.wordpress.org/Template_Hierarchy
- *
- * @package Anisometric
- */
- /* Template Name: Homepage */
- get_header(); ?>
- <?php get_sidebar(); ?>
- <!-- START .main -->
- <section class="main group">
- <!-- START #content -->
- <div id="content" class="site-content fullwidth" role="main">
- <!-- REPEATER for ARTICLE LINKS -->
- <?php if( have_rows('article_link_repeater') ): ?>
- <!-- START .grid-container -->
- <div class="grid-container group">
- <?php while( have_rows('article_link_repeater') ): the_row();
- // vars
- $link_object = get_sub_field('article_link_object');
- echo '<pre>';
- print_r( $link_object );
- echo '</pre>';
- ?>
- <?php endwhile; ?>
- </div>
- <!-- END .grid-container -->
- <?php endif; ?>
- <!-- END REPEATER -->
- </div><!-- END #content -->
- </section><!-- END .main -->
- <?php get_footer(); ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement