In WP Rentals the taxonomies are:
- What do you rent?
You can find them in the Admin Dashboard, under the Properties section.
How to set number of properties per page for Taxonomy page
Go to Theme Options and set the number of properties per page (will apply to Properties List, Properties list Half and Taxonomy pages)
Set the same value in WordPress settings:
How to add or edit a category
Titles must equal slugs. Always LET WORDPRESS CREATE THE SLUG.
Titles must match slugs
To Delete a category use the Delete button
Add child categories:
Create or edit the category and select the parent category.
- Search over the map and ajax search works with custom taxonomies ONLY if you add 1 category to each property. Same applies for action taxonomy. DON’T ATTACH A PROPERTY TO multiple categories or multiple actions.
- You can use child categories and assign the property just to the child. Then the property will show in results when searching by parent category as well.
Pins are built only for 1 category, 1 action or 1 category + 1 action. If you add multiple categories for 1 property, the first alphabetical category + action combination is attached to the property.
Search over map filters pins. Since there is 1 pin for the property, the map will show 1 pin only for properties with multiple categories attached. Same will happen in Half Map filtering. So you may see “no results found” in the map, but in the list, you do have results.
How to see a Taxonomy page
The taxonomy page is created automatically when you create a category. To view the page created check the “View” Button
Add a taxonomy page to the menu
Open a taxonomy page:
Copy taxonomy page URL
Go to Dashboard-Appearance-MENUS and add the link
The menu item will go to the bottom of the list, but you can change its position with drag and drop
Change the header of the Taxonomy page
The header of the taxonomy page can be changed in Theme Options-General-Header
Change the layout of the taxonomy page.
You can choose between standard and half map from Theme Options-General-Appearance-Property List Type for Taxonomy pages
Taxonomy Half Map can only load the maps with global header set to google maps.
Change sidebar type and position.
You can change the sidebar for taxonomy page from Theme Options-General-AppearanceBlog Category/Archive Sidebar
The position of the sidebar can be changed as well as Theme Options-General-Appearance-Listing Page/Blog Category/Archive Sidebar Position
Add images and text to a city taxonomy or area taxonomy page
In order to add images to the city and area taxonomies, you need to set the layout to standard.
Add image from Edit Category
The map zoom for taxonomy pages
These pages: advanced search results, properties list, taxonomies pages behave differently if google maps is set as header option.
On these pages, the map pins and properties in the list are in sync.
For this feature, the map will change automatically the zoom to display all the pins from the list in the map view.
Because of this, the manual zoom you set in theme options google maps settings or in page options google maps options will be disregarded.
Add taxonomies in Advanced Search Custom Fields setup
Taxonomies: What do you rent, Category – must have
LIKE for compare.
Listing City and Property Area (as separate dropdowns).
– This will list Cities and Areas from the installation database.
– The dropdowns are NOT dependable
– must use like compare term and setup Label displayed on advanced search field on frontend.
Full help for search setup https://help.wprentals.org/article/advanced-search-type-3-and-4-custom-search-fields-setup/