WordPress.org

Support

Support » Plugins and Hacks » Google Maps CP » [Resolved] map in sidebar?

[Resolved] map in sidebar?

  • giovanni.dominoni

    @giovannidominonigmailcom

    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/

Viewing 1 replies (of 1 total)
  • Plugin Author codepeople

    @codepeople

    Hi,

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

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

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] map in sidebar?’ is closed to new replies.
Skip to toolbar