Google Maps CP
[resolved] map in sidebar? (2 posts)

  1. giovanni.dominoni
    Posted 3 years ago #

    Hi, how can I put the map in the sidebar?

    I thought it would be enough to add a line in the sidebar template, but it seems not to be working!

    <?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
    <div id="secondary" class="widget-area" role="complementary">
    <?php dynamic_sidebar( 'sidebar-1' ); ?>
    </div><!-- #secondary -->
    <? php echo do_shortcode ('[post-map CodePeople]');?>
    <?php endif; ?>

    Sorry but my website is still local so I cannot post the URL!


  2. codepeople
    Plugin Author

    Posted 3 years ago #


    The syntax of the shortcode is wrong, please corrects syntax of shortode as follow:

    <?php echo do_shortcode('[codepeople-post-map]'); ?>

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google Maps CP
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic