function wpse_setup_theme() {
add_image_size('glm_blocks', '600', '600', true);
add_image_size('glm_blocks_small', '500', '333',true);
+ add_image_size('glm-map-image', 290, 190,true);
}
add_action( 'after_setup_theme', 'wpse_setup_theme' );
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="IE=10">
<title><?php wp_title(); ?></title>
- <link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri() ; ?>/css/app.css">
+ <link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri() ; ?>/css/app.css?v=1.0.1">
<link rel="shortcut icon" href="<?php echo get_stylesheet_directory_uri(); ?>/favicon.ico">
<link href="https://fonts.googleapis.com/css?family=Roboto+Slab:400,700" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700" rel="stylesheet">
// $content = strip_shortcodes($content);
$content = get_excerpt_by_id($city_page[0]->ID, 55);
$city_image_id = get_post_thumbnail_id($city_page[0]->ID);
- $city_image = wp_get_attachment_image_src( $city_image_id, 250,250, true);
+ $city_image = wp_get_attachment_image_src( $city_image_id, 'glm-map-image', true);
$city_url = get_permalink($city_page[0]->ID);
if($city_image_id){
- $city_image = wp_get_attachment_image_src( $city_image_id, 250,250, true);
+ $city_image = wp_get_attachment_image_src( $city_image_id, 'glm-map-image', true);
$city_image = $city_image[0];
} else {
$city_image = get_template_directory_uri() .'/assets/default.jpg';
Author: Gaslight Media
Author URI: http://www.gaslightmedia.com
Description: A theme for coldwater
-Version: 1.0.0
+Version: 1.0.1
*/