WordPress.org

Plugin Directory

Changeset 621478


Ignore:
Timestamp:
11/05/12 23:19:25 (18 months ago)
Author:
mordauk
Message:

Uploading v1.0.1 with responsive images fix

Location:
simple-google-maps-short-code
Files:
2 edited
3 copied

Legend:

Unmodified
Added
Removed
  • simple-google-maps-short-code/tags/1.0.1/readme.txt

    r607151 r621478  
    77Requires at least: 3.2 
    88Tested up to: 3.5 
    9 Stable Tag: 1.0 
     9Stable Tag: 1.0.1 
    1010 
    1111 
     
    2828`[pw_map address="New York City" width="400px" height="200px"]` 
    2929 
    30 You can also use percentages for sizes: 
     30You can also use percentages for heights: 
    3131 
    3232`[pw_map address="New York City" width="50%" height="200px"]` 
     
    4545 
    46461. Activate the plugin 
    47 2. Add [pw_map address="your address here"] to any post or page 
     472. Added [pw_map address="your address here"] to any post or page 
    4848 
    4949== Changelog == 
     50 
     51= 1.0.1 =  
     52 
     53* Added CSS to fix a problem with responsive themes 
    5054 
    5155= 1.0 = 
     
    5559== Upgrade Notice == 
    5660 
     61= 1.0.1 =  
     62 
     63* Added CSS to fix a problem with responsive themes 
     64 
    5765= 1.0 
    5866 
  • simple-google-maps-short-code/tags/1.0.1/simple-google-map-short-code.php

    r606561 r621478  
    44Plugin URL: http://pippinsplugins.com/simple-google-maps-short-code 
    55Description: Adds a simple Google Maps short code 
    6 Version: 1.0 
     6Version: 1.0.1 
    77Author: Pippin Williamson 
    88Author URI: http://pippinsplugins.com 
     
    4444 
    4545        ob_start(); ?> 
    46  
    4746        <div class="pw_map_canvas" id="<?php echo esc_attr( $map_id ); ?>" style="height: <?php echo esc_attr( $atts['height'] ); ?>; width: <?php echo esc_attr( $atts['width'] ); ?>"></div> 
    4847        <script type="text/javascript"> 
     
    149148    return $data; 
    150149} 
     150 
     151 
     152/** 
     153 * Fixes a problem with responsive themes 
     154 * 
     155 * @access      private 
     156 * @since       1.0.1  
     157 * @return      void 
     158*/ 
     159 
     160function pw_map_css() { 
     161    echo '<style type="text/css">/* =Responsive Map fix 
     162-------------------------------------------------------------- */ 
     163.pw_map_canvas img { 
     164    max-width: none; 
     165}</style>'; 
     166 
     167} 
     168add_action( 'wp_head', 'pw_map_css' ); 
  • simple-google-maps-short-code/trunk/readme.txt

    r607151 r621478  
    77Requires at least: 3.2 
    88Tested up to: 3.5 
    9 Stable Tag: 1.0 
     9Stable Tag: 1.0.1 
    1010 
    1111 
     
    2828`[pw_map address="New York City" width="400px" height="200px"]` 
    2929 
    30 You can also use percentages for sizes: 
     30You can also use percentages for heights: 
    3131 
    3232`[pw_map address="New York City" width="50%" height="200px"]` 
     
    4545 
    46461. Activate the plugin 
    47 2. Add [pw_map address="your address here"] to any post or page 
     472. Added [pw_map address="your address here"] to any post or page 
    4848 
    4949== Changelog == 
     50 
     51= 1.0.1 =  
     52 
     53* Added CSS to fix a problem with responsive themes 
    5054 
    5155= 1.0 = 
     
    5559== Upgrade Notice == 
    5660 
     61= 1.0.1 =  
     62 
     63* Added CSS to fix a problem with responsive themes 
     64 
    5765= 1.0 
    5866 
  • simple-google-maps-short-code/trunk/simple-google-map-short-code.php

    r606561 r621478  
    44Plugin URL: http://pippinsplugins.com/simple-google-maps-short-code 
    55Description: Adds a simple Google Maps short code 
    6 Version: 1.0 
     6Version: 1.0.1 
    77Author: Pippin Williamson 
    88Author URI: http://pippinsplugins.com 
     
    4444 
    4545        ob_start(); ?> 
    46  
    4746        <div class="pw_map_canvas" id="<?php echo esc_attr( $map_id ); ?>" style="height: <?php echo esc_attr( $atts['height'] ); ?>; width: <?php echo esc_attr( $atts['width'] ); ?>"></div> 
    4847        <script type="text/javascript"> 
     
    149148    return $data; 
    150149} 
     150 
     151 
     152/** 
     153 * Fixes a problem with responsive themes 
     154 * 
     155 * @access      private 
     156 * @since       1.0.1  
     157 * @return      void 
     158*/ 
     159 
     160function pw_map_css() { 
     161    echo '<style type="text/css">/* =Responsive Map fix 
     162-------------------------------------------------------------- */ 
     163.pw_map_canvas img { 
     164    max-width: none; 
     165}</style>'; 
     166 
     167} 
     168add_action( 'wp_head', 'pw_map_css' ); 
Note: See TracChangeset for help on using the changeset viewer.