Questions tagged [meta-key]
109 questions
0
votes
1 answer
How can I allow the user to filter Wordpress Custom Post Type by a postal code
I have a custom post type called 'partners', each partner has a custom field called 'postal_code'. I would like to add an input field in the front end so that users can filter the partners by entering a (Swiss) four diget postal code (it's only…

user1280853
- 1,079
- 5
- 14
- 23
-1
votes
1 answer
how to access meta value under image link in wordpres
**meta_value**:a:1:{i:0;s:105:"http://localhost/wordpress/wp-content/uploads/event-manager-uploads/event_banner/2020/07/diabetic_1-3.jpg";}
meta_key:_event_banner
while($res = mysqli_fetch_array($query))
{
…

bca tech
- 26
- 1
- 8
-1
votes
1 answer
Wordpress: Order & Orderby Parameters
I am using headwaythemes to create my website.
I like to custimize the ORDER-BY.
This is the code I found in the file.
'order-by' => array(
'type' => 'select',
'name' => 'order-by',
'label' => 'Order By',
'tooltip' => '',
'options'…

DenisCGN
- 397
- 1
- 4
- 17
-2
votes
1 answer
Compare User Input with WordPress Meta Key Value
I have searched, but could not find it anywhere,
I need a function to compare, user's input with a meta key value, and then process.
For example, user will type 5000 in given box. User will see the result according to if specific user meta key value…

Rahul Chopra
- 1
- 1