Why don’t we have a location shortcode….. well let me add one in the next release.
[listing_category post_type=”property” category_key=”property_suburb” category_value=”Mogollon Ranch”]
category_value=”Mogollon Ranch” is the exact way it is typed in the property.
Also make sure to follow the theme installation procedure so the page is not too wide. Here are the instructions.
Ah, re
// Modify Land Listing Type Category
function epl_modify_land_category($array) {
$array = array(
‘blueridge’ => ‘Blue Ridge Estates’,
‘clearcreek’ => ‘Clear Creek Pines’,
‘mogollon’ => ‘Mogollon Ranch’,
‘pinecan’ => ‘Pine Canyon’,
‘starlight’ => ‘Starlight Pines’,
‘starlighranch’ => ‘Starlight Pines Ranchettes’,
‘tamarron’ => ‘Tamarron Pines’
);
You need to use the shortcode like this
[listing_category post_type=”land” category_key=”property_land_category” category_value=”mogollon”]
Never mind got that part of it to work with this:
// Modify Land Listing Type Category
function epl_modify_land_category($array) {
$array = array(
‘blueridge’ => ‘Blue Ridge Estates’,
‘clearcreek’ => ‘Clear Creek Pines’,
‘mogollon’ => ‘Mogollon Ranch’,
‘pinecan’ => ‘Pine Canyon’,
‘starlight’ => ‘Starlight Pines’,
‘starlighranch’ => ‘Starlight Pines Ranchettes’,
‘tamarron’ => ‘Tamarron Pines’
);
return $array;
}
add_filter(‘epl_listing_meta_land_category’, ‘epl_modify_land_category’);
Now that I modified the land category. The short code is still saying nothing found?
[listing_category post_type=”land” category_key=”property_land_category” category_value=”mogollon”]
That is to answer your
// Modify Land Listing Type Category
question and only works with the LAND listing type.
Use the prior example for property_suburb which will show all listings based on location
I can’t get the properties to display with either method.
Doing it with Land Category:
I was able to change the Land Categories to be my sub-divisions. However, I can’t get any listings to show up even though I have put some in that category. It displays nothing found.
Short codes:
[listing_category post_type=”land” category_key=”property_land_category” category_value=”mogollon”]
–Also Tried–
[listing_category post_type=”land” category_key=”property_land_category” category_value=”Mogollon Ranch”]
Doing it With Suburbs:
This short code: displays nothing found even though I know I have properties listed that way.
[listing_category post_type=”property” category_key=”property_suburb” category_value=”Mogollon Ranch”]
Why not hop over to the support forum here and submit your request.
Then send a second reply with your WordPress login details that you can privately share. I’ll take a look
I did, thank you very much.
Hey there did you have a chance to look at that? I have everything set up if only I can get the shortcodes to pull up the listings by the category.
Thank you in advance for the help.
Sylvia
Just testing 2.1 before release