Jump to content

advanced search forms with 3 input text


hope10

Recommended Posts

N.B. : all my work is on wordpress.

I was working for an advanced form with 3 input text in purpose to show a list of hotels.

The problem is i tried an infinity tricks and functions but without any results, the only result i got is when i search with tag, but i have also search by adress and rating.

another problem is i used in the first time a custom taxonomy in the first way then i used metabox but nothing i can't find how to show results.

this is the form

W3Vvn.png

i hadn't a really good idea what i need to do so i tried meta query if (!empty($adr)) { $meta_query[] = array( 'taxonomy' => 'adresse', 'value' => $adr , 'compare' => 'LIKE' ); } in funtion then i call this function in search result but nothing shown

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.