WordPress.org

Ready to get started?Download WordPress

Forums

Get specific widget from sidebar? (2 posts)

  1. DeNiro
    Member
    Posted 3 years ago #

    Hello.

    I have a footer widget area coded like this:

    <div style="width: 1000px">
    <div style="width: 25%">FIRST 'XYZ SIDEBAR' WIDGET HERE</div>
    <div style="width: 25%">SECOND 'XYZ SIDEBAR' WIDGET HERE</div>
    <div style="width: 25%">THIRD 'XYZ SIDEBAR' WIDGET HERE</div>
    <div style="width: 25%">FOURTH 'XYZ SIDEBAR' WIDGET HERE</div>
    </div>

    How to add specific widgets from the sidebar there? get_sidebar() loads the whole sidebar and get_template_part doesn't seem to work.

    Thanks!

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    Try creating 4 separate widget-capable areas in your footer.

Topic Closed

This topic has been closed to new replies.

About this Topic