WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. giovanni.dominoni
    Member
    Posted 10 months 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!

    http://wordpress.org/extend/plugins/codepeople-post-map/

  2. codepeople
    Member
    Plugin Author

    Posted 10 months ago #

    Hi,

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

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

Reply

You must log in to post.

About this Plugin

About this Topic