WordPress.org

Ready to get started?Download WordPress

Forums

Widgetize Pages Light
[resolved] how to include directly in theme (2 posts)

  1. candy2012
    Member
    Posted 1 year ago #

    Hi
    WHich code to use to include the new widget areas directly in the theme code?

    Thx

    http://wordpress.org/extend/plugins/widgetize-pages-light/

  2. OTWthemes
    Member
    Plugin Author

    Posted 1 year ago #

    Go to your list of sidebars page and create the shortcode as shown on screenshot 2 here http://wordpress.org/extend/plugins/widgetize-pages-light/screenshots/

    Then if you want to insert the sidebar in the page content editor just pages the shortcode there. If you want to insert it in a template file of your theme use the do_shortcode WordPress function http://codex.wordpress.org/Function_Reference/do_shortcode

    Examples:

    [otw_is sidebar=otw-sidebar-1]

    <?php echo do_shortcode('[otw_is sidebar=otw-sidebar-1]'); ?>

    I hope this helps :-)

    OTWthemes

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic