How to create a website using WordPress/How to use plugins/No-code construction blog
How to create a matching homepage using WordPress [HivePress] How to add custom fields to listing services
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!
This article explains how to set up HivePress, a plugin that allows you to build a matching site with WordPress. This time, it explains how to add custom fields to the listing service.
Listing service custom field setting location
- listing
- attribute
and set it up.
How to set up custom fields for your listing
I'll explain how to set it up with some examples.
- Allows editing of the front end (the site the user sees)
Check the box and click the Publish button to add more editing options.
If you want to add an available time input field
- Title - Available time
- Editable - Check this box to allow users to set the settings.
- Required - Check to make the field required
- Moderated - Check this box if you want to allow users to freely change the content of a service that has been approved by the administrator.
- Field Type – Select the type of field the user will enter
- Description – Enter a description for the field, if you have one
- Placeholder - Text that is displayed lightly as temporary text
- Minimum number of characters - You can set the minimum number of characters to be entered.
- Maximum number of characters - You can set the maximum number of characters to be entered.
- Formatting - Check if you want to allow HTML input
If you want to set options
This time, we created a gender field. Since it is set to either male or female, we set the field type to radio button.
Options > Edit to add selections.
Additional custom field search settings
- Filterable - Check this box if you want to add it as a search item.
- Indexable - Check this if you want your page to be found through keyword searches.
- Sortable – Check if you want this to appear as a search option
- Field Type - Sets the field to search.
It will be added to the search sidebar of the listing page, which is a service listing page.
I tried entering 20 in the search box, and the search returned services that were set to start from 8 p.m.
If you want to display a check box
Set the field type to Checkbox. You can specify the text to be displayed next to the checkbox.
Display is
You can also set the gender field you set up earlier to be selected in this way.
Where custom fields appear
Finally, you can configure where your custom fields will appear.
Block (Main)
It will be displayed at the bottom of the list
Block (Sub)
It will be displayed in the text section of the list.
Page (Main)
It will be displayed in the upper right box on the service details page.
Page (sub)
It will be displayed below the image on the listing service details page.
Other display item settings
- icon
- Customize value - If you want it to be xxxx yen, you can set it as %value% yen.
About images of the services offered
It is possible to register multiple cards.
The design will change depending on the theme you are using, but it will be displayed as a slide.
Leave the reskilling of your website to us!
Since 2019, we have been sharing skills related to WordPress and websites. We have accumulated case studies and know-how, and are good at quickly and accurately solving problems. If you have any concerns about your website, please feel free to contact us via our official LINE account!
↑Click to open the official LINE page
Latest Articles