WordPress.org

Ready to get started?Download WordPress

Forums

shortcode in sidebar widget (list pages) (1 post)

  1. Famous
    Member
    Posted 3 years ago #

    How can I list pages with my own CSS by applying the below in the sidebar widget (example below):
    <div class="niceLayout">
    [wp_list_pages('include=2’)]
    [wp_list_pages('include=1’)]
    [wp_list_pages('include=5’)]
    </div>

Topic Closed

This topic has been closed to new replies.

About this Topic