Plugin Directory

Changeset 1596752


Ignore:
Timestamp:
02/15/2017 06:46:42 PM (9 years ago)
Author:
ionutmorariu
Message:

1.0.9.1

ADD: Always loadd google maps

Location:
scale-lite-tools/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • scale-lite-tools/trunk/bootstrap.php

    r1596725 r1596752  
    88*/
    99
    10 define('SCALE_LITE_TOOLS_VERSION','1.0.9');
     10define('SCALE_LITE_TOOLS_VERSION','1.0.9.1');
    1111
    1212// scale lite global variables
  • scale-lite-tools/trunk/inc/sl-google-maps/render-cpt.php

    r1596720 r1596752  
    106106function scale_lite_load_maps_if_shortcode() {
    107107  global $post;
    108   if(has_shortcode($post->post_content,'sl_gmaps')) {
     108  if(true) { // has_shortcode($post->post_content,'sl_gmaps')
     109    // here you need to loop also through sidebars content and find if there is a ahortcode
     110    // see wp_get_sidebars_widgets
    109111    // execute code only if there is a sl_gmaps shortcode on the page
    110112    add_action('wp_enqueue_scripts', 'scale_lite_build_markers_array', 9 );
  • scale-lite-tools/trunk/readme.txt

    r1596725 r1596752  
    7070== Changelog ==
    7171
    72 = 1.0.9 =
    73 ADD: Google maps stable
     72= 1.0.9.1 =
     73ADD: Always loadd google maps
  • scale-lite-tools/trunk/scale-lite-tools.php

    r1596725 r1596752  
    66 * Author URI: https://github.com/moraryou
    77 * Text Domain: scale-lite-tools
    8  * Version: 1.0.9
     8 * Version: 1.0.9.1
    99 * Plugin URI: https://github.com/moraryou
    1010 * License: GPL2+
Note: See TracChangeset for help on using the changeset viewer.