Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author Merv Barrett

    (@mervb1)

    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.

    Plugin Author Merv Barrett

    (@mervb1)

    Plugin Author Merv Barrett

    (@mervb1)

    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”]

    Thread Starter sylviarose

    (@sylviarose)

    Got it to work below…

    Thread Starter sylviarose

    (@sylviarose)

    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’);

    Thread Starter sylviarose

    (@sylviarose)

    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”]

    Plugin Author Merv Barrett

    (@mervb1)

    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

    Thread Starter sylviarose

    (@sylviarose)

    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”]

    Plugin Author Merv Barrett

    (@mervb1)

    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

    Thread Starter sylviarose

    (@sylviarose)

    I did, thank you very much.

    Thread Starter sylviarose

    (@sylviarose)

    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

    Plugin Author Merv Barrett

    (@mervb1)

    Just testing 2.1 before release

    Plugin Author Merv Barrett

    (@mervb1)

    Resolved in 2.1

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Suburb Short Code’ is closed to new replies.