WordPress.org

Ready to get started?Download WordPress

Forums

Advance WP Query Search Filter
checkboxes items into a dropdown list (4 posts)

  1. montbernage
    Member
    Posted 1 year ago #

    Hi Ron,

    thanks for your fantastic plugin !
    I was wondering how it would be possible to display checkboxes items into a dropdown list.

    Thanks for your help.
    Wip

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

  2. TC.K
    Member
    Plugin Author

    Posted 1 year ago #

    What do you mean " display checkboxes items into a dropdown list"?

    Is it a checkbox input or dropdown input? Any particular reference for this?

  3. montbernage
    Member
    Posted 1 year ago #

    Hi Ron,

    Sorry if I'm not very clear. Maybe, it's due to my bad english ;)
    I was wondering how to display checkboxes within HTML dropdown ( http://i.stack.imgur.com/vE1eL.png ) (or an another solution to have a multiple choice possibility in a dropdown list).

    Thanks for your help.

    Wip

  4. TC.K
    Member
    Plugin Author

    Posted 1 year ago #

    Well,
    For 'multiple choice possibility in a dropdown list' - No.
    But as for the type that showed in the image, yes.
    Here is how you can do it :

    1. View the html source code for the form (if you using Firefox - by right- click->view selected source; for chrome, using inspect element ).
    2. Find the checkbox class that you want to customize. eg cmfcheck-0,cmfcheck-1 for meta field check box or taxocheck-0. taxocheck-1 for taxonomy;
    3. use the class in your theme css or the plugin css to customize the layout of the checkbox. eg
    .cmfcheck-0{height:100px;overflow-y:scroll;width:100px;border:1 black solid}

    That's it.

    Note this class only added in version 1.0.4, so version prior of this might be not working with this technique. Make sure you installed v 1.0.4

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.