serpico
Member
Posted 2 years ago #
Hi Guys,
Want a bit of advice please.
I want to run a real estate website through WP using custom fields for property attributes. Is it possible to use custom fields in a SEF URL to return custom results.
If not, how best can I achieve this?
I want to be able to have a properties in a category 'Holiday Rental' with custom field location = 'Orlando'... then the following URL (or similar) would return these properties.
domain.com/category/holiday-rentals/location/orlando/
TIA
serpico
Member
Posted 2 years ago #
My aim is to have a menu for properties by category then nested locations within this to dedicated pages.
- Holiday Rentals
--- Melbourne
--- New York
--- Orlando
- Permenant Rentals
--- London
--- Paris
--- Rome
- Sales
--- Orlando
--- New York
--- Washington
I can build the menu structure dynamically myself. I just need some SEF URLS which will return results.
I highly recommend you look at using WP3.0 and custom content types and custom taxonomies. With it you'll be able to be model what you need and you'll be able to use that information to get your URLs (with a little programming.) I'm currently restructuring a very similar site for a client (a restaurant listing website) and it's giving us much greater flexibility.
nomad-one
Member
Posted 1 year ago #
I've used this plugin
http://wordpress.org/extend/plugins/custom-fields-permalink/other_notes/
But the problem is it will affect the permalinks for all your posts whether they have that custom field or not, so in some cases it may not work.
I'm still trying to figure out how to use this custom field permalink in combination with regular permalinks for posts with that custom field