WordPress.org

Ready to get started?Download WordPress

Forums

Custom Field Suite
[resolved] How to create front end form using this custom field (4 posts)

  1. sedhurabe
    Member
    Posted 1 year ago #

    Hi, am working on this plugin, working very Great thanks for sharing. It is very helpfull for me to create a backend form. Now the problem is, how to display multi search form using this custom field. I want like this http://www.interpol.int/Wanted-Persons.
    Thanks in Advance.....

    http://wordpress.org/extend/plugins/custom-field-suite/

  2. mgibbs189
    Member
    Plugin Author

    Posted 1 year ago #

    That'll require a lot of custom code on your part.

    You'll need to build the HTML for the search form, and use WP_Query (see below) to handle the submitted form values.

    http://codex.wordpress.org/Class_Reference/WP_Query#Custom_Field_Parameters

  3. PinkishHue
    Member
    Posted 1 year ago #

    There's a pretty good tutorial about creating a front-end search for custom fields here:

    http://sixrevisions.com/wordpress/custom-fields-search/

    Maybe that will be of help to you?

    *Aah it may be a bit out of date as it's a couple of years old, someone in the comments says this, maybe that would be helpful instead:

    you shouldn’t be using query_posts.
    Here is a better method that uses the pre_get_posts filter:
    http://www.billerickson.net/customize-the-wordpress-query/
    since WordPress 3.1 you can use the meta_query parameter to search by custom field values.
    http://codex.wordpress.org/Class_Reference/WP_Query

  4. sedhurabe
    Member
    Posted 1 year ago #

    thank u for ur reply. i had created search form using custom field suite with (table value)..
    and thank u........ this the link i had donedemo

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.