WordPress.org

Ready to get started?Download WordPress

Forums

Comprehensive Google Map Plugin
[resolved] uploading automatic timing delay of the template (3 posts)

  1. alcv
    Member
    Posted 1 year ago #

    hello

    First, congratulations for the plugin is a great job.

    Comprehensive google map is the best.

    Everything works fine but I have a small problem with the design.
    When I wish to calculate an itinerary, the template is completely shifted down and suddenly we read much less information.

    I looked into the code and script adds made ​​for each return line and thus a credit ca lag down.

    Here is an example of the generated code:

    <div class="d_close-wrapper">
    </a><a href="void(0)">
    <img class="close" src="http://v6.alcv.fr/wp-content/plugins/comprehensive-google-map-plugin/assets/css/images/transparent.png">
    </a>
    </div>
    <div class="dir-tm kd-buttonbar" id="travel_modes_div" style="">
    <a title="By car" href="void(0)">
    <img src="http://v6.alcv.fr/wp-content/plugins/comprehensive-google-map-plugin/assets/css/images/transparent.png" class="dir-tm-d">
    </a>
    <a title="Walking" href="void(0)">
    <img src="http://v6.alcv.fr/wp-content/plugins/comprehensive-google-map-plugin/assets/css/images/transparent.png" class="dir-tm-w">
    </a>
    </div>

    Is that it is a problem that is in my thême volt (premium theme on ThemeForest to see) or is it actually a small bug in the script

    Exemple problem :

    Thank you in advance for your help.

    bye
    alcv

  2. alcv
    Member
    Posted 1 year ago #

    Hello

    I resolve the problem

    include('../../../../wp-load.php');
    
     echo do_shortcode('
    [google-map-v3 width="100%" height="350" zoom="12" maptype="roadmap" mapalign="center" directionhint="false" language="default" poweredby="false" maptypecontrol="true" pancontrol="true" zoomcontrol="true" scalecontrol="true" streetviewcontrol="true" scrollwheelcontrol="false" draggable="true" tiltfourtyfive="false" addmarkermashupbubble="false" addmarkermashupbubble="false" addmarkerlist="Киев 15{}1-default.png" bubbleautopan="true" showbike="false" showtraffic="false" showpanoramio="false"]
    ');

    The problem is that wordpress interpreter 2 times once the php code in the page with the shortcode and then go through the script creates a shift ca.

    It should directly insert the shortcode in the php page.

    Thank you to the member for helping me a.livak corrected the bug

    bye
    alcv

  3. alcv
    Member
    Posted 1 year ago #

    ok

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic