Support Forums

The forums are closed and will be removed when we launch our new site.

Looking for support? You can access the support system via your account.

Forums Forums Search & Filter Pro Want to embed my filter in a archives-[mycptui].php page

Viewing 7 posts - 1 through 7 (of 7 total)
  • Neha Patel
    #116901

    Hi,

    Thank you for helping with the setup of the filter, that was very helpful.

    I have another question. I wanted to add the filter to my archives-[mycptui].php file, so I can add it to div that can be collapsible in mobile view. i would like to know if there is a way I can add the filter to a div in my php file.

    Please let me know if you can help.

    Thank you,
    Neha

    Trevor Moderator
    #116997

    You should be able to add the form using PHP, like this:

    <?php echo do_shortcode('[searchandfilter id="1234"]'); ?>

    Replace 1234 with whatever the ID number of your form is.

    Neha Patel
    #117063
    This reply has been marked as private.
    Trevor Moderator
    #117147

    Hi

    In WP Admin -> Search & Filter -> Settings can you change Chosen to Select2?

    And then get back to me?

    Neha Patel
    #117263
    This reply has been marked as private.
    Trevor Moderator
    #117343

    Try this Custom CSS:

    .select2-container {
      width: 100% !important;
    }
    Neha Patel
    #117349
    This reply has been marked as private.
Viewing 7 posts - 1 through 7 (of 7 total)

The topic ‘Want to embed my filter in a archives-[mycptui].php page’ is closed to new replies.