Using shortcodes to display featured properties

Easy Property Listings WordPress Real Estate Plugin Forums Premium Support Using shortcodes to display featured properties

Viewing 3 posts - 1 through 3 (of 3 total)

These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.

  • Author
    Posts
  • #12965
    billy
    Spectator

    Hi Merv,
    Thanks for helping me get set up. I have a couple of questions about [listings] shortcodes and the Featured radio button in the back end. I am developing locally at the moment so I can’t share a link, but what I want to do is set a shortcode for our front-page.php that displays only those properties where Featured has been ticked “Yes”. I’ve currently got [listings property_category=”property” featured_property=”yes”] but even so it’s showing all properties, even those ticked “No”, and even those that are not under the Property category. What am I doing wrong here?

    Obviously the goal here is to offer our clients the opportunity to purchase a premium package that gives them a featured spot on our site, so if there is a better way to accomplish this through your plugin please let me know. I know there is a widget that does something like this, but we want this to appear in the main content area of the front page, not in the sidebar.

    Thanks for a brilliant plugin–

    #12968
    Merv Barrett
    Keymaster

    Hi Billy,

    Almost right except you need to use the [listing_category] shortcode instead. This shortcode allows you to filter by any category.

    So you can do the following:

    [listing_category post_type=”property” category_key=”property_featured” category_value=”yes”]

    Glad to help 🙂

    #12991
    billy
    Spectator

    Thanks Merv, that’s great. I have another shortcode-related question but I’m going to post it as a new thread so it can be searchable by its own keywords.

These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Using shortcodes to display featured properties’ is closed to new replies.