WordPress.org

Ready to get started?Download WordPress

Forums

Advance WP Query Search Filter
[resolved] Widget doesn't get wrapped in before and after code (4 posts)

  1. thatwastaxing
    Member
    Posted 1 year ago #

    If I put the shortcode in a text widget (as per instructions), the search form shows up but it is not inside the widget's before and after code. That code is pushed down so the search form appears above it.

    This behavior doesn't happen with regular text inside the widget.

    Expected output:

    <ul>
       <li class="sidebox widget-name-1">
       <h3>Widget title</h3>
       Some widget
       </li>
       <li class="sidebox widget_text">
       <h3>Widget title</h3>
       AWPQSF form
       </li>
    </ul>

    What comes out instead:

    <ul>
       <li class="sidebox widget-name-1">
       <h3>Widget title</h3>
       Some widget
       </li>
       AWPQSF form
       <li class="sidebox widget_text">
       <h3>Widget title</h3>
       </li>
    </ul>

    http://wordpress.org/extend/plugins/advance-wp-query-search-filter/

  2. TC.K
    Member
    Plugin Author

    Posted 1 year ago #

    Ok, I will look in to this problem.

  3. TC.K
    Member
    Plugin Author

    Posted 1 year ago #

    Hi, update to the latest version (1.0.5), and see if the problem solved.

  4. thatwastaxing
    Member
    Posted 1 year ago #

    Fixed! Thank you for your quick responses! ;)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.