123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- <?php
- if ( !defined('ABSPATH') ){ die(); }
- global $avia_config;
- get_header();
- do_action( 'ava_after_main_title' );
- ?>
- <div class='container_wrap container_wrap_first main_color <?php avia_layout_class( 'main' ); ?>'>
- <div id='av_section_1' class='avia-section main_color avia-section-default avia-no-shadow avia-full-stretch avia-bg-style-scroll avia-builder-el-0 avia-builder-el-no-sibling av-minimum-height av-minimum-height-custom container_wrap sidebar_right' style = 'background-repeat: no-repeat; background-image: url(<?php echo get_stylesheet_directory_uri() ?>/img/provider-home-header-background.jpg); background-attachment: scroll; background-position: center left; ' data-section-bg-repeat='stretch' >
- <div class='container'>
- <main role="main" itemprop="mainContentOfPage" class='template-page content av-content-small alpha units'>
- <div class='post-entry post-entry-type-page post-entry-708'>
- <div class='entry-content-wrapper clearfix'>
- <div style='padding-bottom:10px;color:#fff;font-size:40px;' class='av-special-heading av-special-heading-h3 custom-color-heading blockquote modern-quote modern-centered avia-builder-el-1 avia-builder-el-no-sibling av-inherit-size'>
- <h3 class='av-special-heading-tag provider-directory' itemprop="headline">Practices</h3>
- <div class='special-heading-border'>
- <div class='special-heading-inner-border' style='border-color:#0d77bd'></div>
- </div>
- </div>
- </div>
- </div>
- </main><!-- close content main element -->
- </div>
- </div>
- <div id='after_section_1' class='main_color av_default_container_wrap container_wrap sidebar_right'></div>
- <div class='container'>
- <main class='template-page content av-content-full <?php avia_layout_class( 'content' ); ?> units' <?php avia_markup_helper(array('context' => 'content','post_type'=>'page'));?>>
-
-
- <?php
-
- $terms = get_terms( 'location' );
- if ( ! empty( $terms ) && ! is_wp_error( $terms ) ){
-
- foreach ( $terms as $term ) {
- echo '<div class="flex_column av_one_half flex_column_div first avia-builder-el-3 el_after_av_hr el_before_av_one_half" style="font-size:18px;clear:none;margin:0 0 15px">';
- echo '<a style="font-size:20px" href="' . esc_url( get_term_link( $term ) ) . '" alt="' . esc_attr( sprintf( __( '%s', 'location' ), $term->name ) ) . '">' . $term->name . '</a><br />';
- $office = get_term_meta( $term->term_id, 'address', true );
- echo '' . $office . '<br />';
- $phone = get_term_meta( $term->term_id, 'phone', true );
- echo '' . $phone . '<br />';
- echo '<br /></div>';
- }
-
- }
-
- ?>
-
-
- </main>
- </div><!--end container-->
- </div><!-- close default .container_wrap element -->
- <?php get_footer(); ?>
|