<?php dynamic_sidebar('sidebar-f');?>
<?php endif;?>
<div class="row">
- <div class="small-centered small-11 medium-uncentered medium-6 columns text-center">
+ <div class="small-centered small-11 medium-uncentered medium-5 columns text-center">
<a href="<?php bloginfo('url');?>"><img src="<?php bloginfo('template_url'); ?>/assets/kalamazoo-logo-footer.jpg"></a>
</div>
<?php get_template_part('parts/client-info-footer');?>
add_image_size('glm_block1', 590, 590,true);
add_image_size('glm_block2_3', 285, 285, false);
add_image_size('glm_block4', 590, 285, true);
+ add_image_size('landing_page', 386, 285, true);
}
add_action( 'after_setup_theme', 'wpse_setup_theme' );
<ul id="quick-sub_pages" class="small-block-grid-1 medium-block-grid-3">
<?php global $dyanmic_featured_image; ?>
<?php global $post;
- $image = get_the_post_thumbnail($post->ID);
- echo $image;
+// $image = get_the_post_thumbnail($post->ID);
+// echo $image;
$args = array( 'post_parent' =>$post->ID, 'post_type' => 'page', 'numberposts' => -1, 'post_status' => 'any');
$children = get_children($args);
foreach($children as $child){ ?>
<?php $images = $dynamic_featured_image->get_featured_images($child->ID); ?>
<?php foreach($images as $image){
$imageSrc = $image['full'];
- }?>
+ }?>
<?php $imageID = get_post_thumbnail_id($child->ID);
// $imageSrc = wp_get_attachment_image_src($imageID, 'full'); ?>
- <?php $image = wp_get_attachment_image_src( $child->ID, 'full' ); ?>
+ <?php $image = wp_get_attachment_image_src( $child->ID, 'landing_page', false ); ?>
<li class="small-text-center medium-text-left landing-item"><a href="<?php echo get_permalink($child->ID); ?>"><img src="<?php echo $imageSrc; ?>"><h5><?php echo $child->post_title ?></h5></a></li>
-
+ <?php $imageSrc = null; ?>
<?php } ?>
<!--
<li class="small-text-center medium-text-left landing-item"><a><img src="<?php bloginfo('template_url');?>/assets/landing-img/Arts-and-Entertainment.jpg"><h5>Arts & Entertainment</h5></a></li>
-<div id="footer_address" class="small-centered small-11 medium-uncentered medium-5 large-3 columns">
+<div id="footer_address" class="small-centered small-11 medium-uncentered medium-5 large-4 columns">
<p>Get in Touch</p>
<?php if (function_exists('glm_get_clientinfo_option')) :?>
<div class="mail_address row collapse">
<div class="small-1 column">
<img src="<?php echo get_template_directory_uri(); ?>/assets/mailing-address-icon.jpg">
</div>
- <div class="small-11 foot_content columns">
+ <div class="small-11 foot_content columns ">
<?php if (glm_get_clientinfo_option('address')):?>
<span><?php echo glm_get_clientinfo_option('address');?></span><br>
<div class="small-1 column">
<img src="<?php echo get_template_directory_uri(); ?>/assets/phone-number-icon.jpg">
</div>
- <div class="small-11 foot_content columns">
+ <div class="small-11 foot_content columns ">
<?php if (glm_get_clientinfo_option('phone')) :?>
<span><?php echo glm_get_clientinfo_option('phone');?></span>
<?php endif;?>