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)
  • Anonymous
    #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
    #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.

    Anonymous
    #117063
    This reply has been marked as private.
    Trevor
    #117147

    Hi

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

    And then get back to me?

    Anonymous
    #117263
    This reply has been marked as private.
    Trevor
    #117343

    Try this Custom CSS:

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