Support » Plugin: Mobile Call Now & Map Buttons » Buttons not showing up on mobile

  • Resolved jswanny

    (@jswanny)


    Hi David, I installed the plugin, but nothing shows up on my site…I have installed this successfully on other sites. Can you please assist. Thank you

    Profile:
    {“PHP”:”7.1.25″,”WordPress”:”5.0.2″,”Theme”:” (ekwa) “,”URL”:”vernondentist.com”,”Plugins”:[“all-in-one-wp-migration\/all-in-one-wp-migration.php”,”contact-form-7\/wp-contact-form-7.php”,”duracelltomi-google-tag-manager\/duracelltomi-google-tag-manager-for-wordpress.php”,”jonradio-shortcodes-anywhere-or-everywhere\/jonradio-shortcodes-anywhere-or-everywhere.php”,”loginizer\/loginizer.php”,”mobile-call-now-map-buttons\/roi-mobile-call-now-map-buttons.php”,”nelio-ab-testing\/nelio-ab-testing.php”,”redirection\/redirection.php”,”remove-category-url\/remove-category-url.php”,”sg-cachepress\/sg-cachepress.php”,”updraftplus\/updraftplus.php”,”wordfence\/wordfence.php”,”wordpress-seo\/wp-seo.php”,”wp-slick-slider-and-image-carousel\/wp-slick-image-slider.php”,”wp-super-cache\/wp-cache.php”,”yoast-seo-search-index-purge\/yoast-seo-search-index-purge.php”]}

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author David Sword

    (@davidsword)

    Hello!

    So taking a look at the source code I see that the plugin isn’t even there. Usually the issue you described is a CSS issue. So this is a first.

    1) check that a phone number andor address have been entered and properly saved in the wp-admin > Settings > Mobile Call Now & Map Buttons page

    2) flush wp-super-cache, and any other caches your hosting provider may have

    3) ensure your active theme, in the footer.php file, has the wp_footer() function, this plugin outputs itself there.

    Please let me know how those three go and what you find out. If not success, I have a few more troubleshooting tips up my selves to resolve this.

    Thanks David, here is my footer.php file:

    <script>
    (function(i,s,o,g,r,a,m){i[‘GoogleAnalyticsObject’]=r;i[r]=i[r]||function(){
    (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
    m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
    })(window,document,’script’,’https://www.google-analytics.com/analytics.js’,’ga’);

    ga(‘create’, ‘UA-79459137-20’, ‘auto’);
    ga(‘send’, ‘pageview’);

    </script>
    <!–footer ends–>
    Scroll
    <div id=”fb-root”></div>
    <?php include(“includes/mobile-menu.html”);?>
    </div>
    <script type=”text/javascript” src=”https://www.vernondentist.com/js/script.js”></script>
    <?php if(!$mobile):?>
    <!–[if gt IE 8]><!–>
    <script>
    new WOW({ mobile: false}).init();
    </script>
    <!–<![endif]–>
    <script type=”text/javascript” src=”https://www.vernondentist.com/js/sm-scripts.js”></script>
    <script type=”text/javascript” src=”//s7.addthis.com/js/300/addthis_widget.js#pubid=xa-51acbb2234784891″></script>
    <?php endif;?>
    </body>
    </html>

    I don’t see the wp_footer() function and would not know where to add it. Thanks for looking at this issue.
    Jim

    Plugin Author David Sword

    (@davidsword)

    Yeah, that would be why then. All WordPress themes should include it, it’s an important part of building a WordPress theme.

    To add this in, where it currently is

    </body>
    </html>
    

    change that to:

    <?php wp_footer(); ?>
    </body>
    </html>
    

    Marking as resolved, but please let me know how it works out.

    That worked 🙂 Thanks David!
    PS: I’m in Vernon (Coldstream) as well 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Buttons not showing up on mobile’ is closed to new replies.