How to create a website using WordPress/How to use plugins/No-code construction blog

Creating a matching site using WordPress [HivePress] Delete the price range search filter from the list
At HanamiWEB Online School,
●Ask questions in real-time in the virtual study room!
●Ask as many questions as you want via chat!
●E-learning materials that you can learn as much as you want, 24 hours a day!
All included for just 2,500 yen/month!
We will explain the code introduced in the HivePress code recipe.
Remove price range search filter from list
<?php
add_filter(
'hivepress/v1/forms/listing_filter',
function( $form ) {
unset($form['fields']['price']);
return $form;
},
1000
);
Example implementation
HivePress will output a price sorting field on the listings page.

I added the code to finction.php and it disappeared.

Add to function.php
The code is added to function.php.
- Create a child theme and add it to function.php
- Added using the code snippets plugin
Please edit function.php in one of two ways.
This blog post explains the prerequisites you need to know before editing function.php!
Released as soon as the next morning! Weekends and holidays are also available!
Super rush website creation plan
We offer a rush website creation plan for those who need a website in a hurry!
We can publish your content as soon as the next morning, even on weekends and holidays! If you have any questions, please check the details below!
Latest Articles





