Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor MariaKravchenko

    (@mariakravchenko)

    Hello.

    You can do this using default wp-property functionality.
    Create attribute “Show on home page” in Developer tab with Admin Only option if you want to hide it from others and Checkbox input.

    Than you can use following shortcode
    ‘[property_overview show_on_home_page=true]’

    Regards.

    Thread Starter cells

    (@cells)

    Ok, thank you, it’s works but in this way, the plugin use “property-overview-my-feps.php” to show the properties. I’d like to use the wordpress “query_posts” or if possible, to have many overview template. In my theme index.php there are different type of properties so i’d like to use different overview template. Is it possible? Thank you!

    Thread Starter cells

    (@cells)

    Ok, i solved with this code in my index.php theme:

    [property_overview template=hp-residential show_on_home_page_residential=true]

    Then, in my theme directory i created a file call property-overview-hp-residential.php

    Thank you!

    Plugin Contributor MariaKravchenko

    (@mariakravchenko)

    Not at all.)

    Regards.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Display properties in home page’ is closed to new replies.