LIMITED OFFER: Save $200 Today! - Get All Themes For $199 -- Learn More

Ask the community

This is a community support forum where you can ask
questions and interact with other PremiumPress Customers.

The structure of the real estate

  • Oleksii
    Oleksii
    Newbie 39 points
    July 22, 2013 at 6:37 am

    Hi, Mark.

    I want to make the structure:

    1.Residential
    -Apartments
    -Home
    -Villas
    -Land
    2.Commercial real estate
    -Ofices
    -Warehouses
    -Shops
    -Buildings
    -Land
    Where it is necessary to change the file?

    Oleksii

  • Mark Fail
    Mark Fail
    Super Guru 12,885 points
    July 22, 2013 at 7:46 am

    no files need to be changed,

    you can setup your categories in the admin under the listing manager -> categories

  • Sean
    Sean
    Senior Member 199 points
    July 22, 2013 at 7:58 am

    Hi Oleksil,

    You can use the categories to create Residential and Commercial Real Estate. Go to wp-admin => Real Estate => Categories

    Then use sub categories or taxonomies to create the other options.

    Easy. I hope this helps? Good luck with your RealtorPress theme. 😉

  • Sean
    Sean
    Senior Member 199 points
    July 22, 2013 at 7:59 am

    Oops,

    Looks like Mr Fail is 1 step ahead as usual 😳

  • Oleksii
    Oleksii
    Newbie 39 points
    July 22, 2013 at 8:39 am

    Thanks for the reply.

  • Oleksii
    Oleksii
    Newbie 39 points
    July 22, 2013 at 9:04 am

    What is not done?
    I created a category Commercial Real Estate.
    I created a sub-category Offices.
    I add office.
    I’m trying to set the value of the Office in Property Type, but it is not.

  • Mark Fail
    Mark Fail
    Super Guru 12,885 points
    July 22, 2013 at 9:07 am

    property type is a custom field, check/edit under the listing setup tab.

  • Oleksii
    Oleksii
    Newbie 39 points
    July 22, 2013 at 9:37 am

    Of course, I see that there is no Office

  • Oleksii
    Oleksii
    Newbie 39 points
    July 22, 2013 at 9:41 am

    Now, I have added “residential”, “offices” to the file \realtorpress\realtorpress\template_realtorpress\system_customdesign.php
    \realtorpress\realtorpress\PPT\framework\ppt_customfields.php
    realtorpress/template_realtorpress/language_english.php
    Now everything is in place 😉

  • Sean
    Sean
    Senior Member 199 points
    July 22, 2013 at 10:34 am

    :)

  • Mark Fail
    Mark Fail
    Super Guru 12,885 points
    July 22, 2013 at 10:38 am

    nice one Oleksii :) good job

  • Oleksii
    Oleksii
    Newbie 39 points
    July 22, 2013 at 3:33 pm

    How to do it here?
    \realtorpress\realtorpress\template_realtorpress\system_reset.php
    // CATEGORY SETUP
    //$args = array(‘cat_name’ => “Articles” );
    //$cat_id = wp_insert_term(“Articles”, ‘category’, $args);
    //$ARTID = $cat_id[‘term_id’];
    update_option(“ppt_load_countries”,””);
    $ARTID=0;

    $args = array(‘cat_name’ => “Residential” );
    $cat_id = wp_insert_term(“Residential”, ‘category’, $args);
    $bizID = $cat_id[‘term_id’];
    wp_create_category1(‘Flat’, $cat_id[‘term_id’]);
    wp_create_category1(‘House’, $cat_id[‘term_id’]);
    wp_create_category1(‘Bungalow’, $cat_id[‘term_id’]);
    wp_create_category1(‘Cottage’, $cat_id[‘term_id’]);
    wp_create_category1(‘Other’, $cat_id[‘term_id’]);

    //$args = array(‘cat_name’ => “Commercial” );
    //$cat_id = wp_insert_term(“Computers”, ‘category’, $args);

    $pages_array = “”;

    Who will help me?
    I’m not programmer. I am a mechanic engineer.

  • Oleksii
    Oleksii
    Newbie 39 points
    July 22, 2013 at 3:37 pm

    //$args = array(‘cat_name’ => “Commercial” );
    //$cat_id = wp_insert_term(“Computers”, ‘category’, $args);

    ‘cat_name’ => “Commercial” – “Computers” Here is correctly written?

  • Oleksii
    Oleksii
    Newbie 39 points
    July 22, 2013 at 3:50 pm

    Question. The structure of the template is not successful. Why did you apply it?


  • Paul
    Newbie 4 points
    July 25, 2013 at 8:48 am

    In order to create Categories and sub-categories
    I suggest you IMPORT the file you need is written like this (refer video)

    1. Residential
    [
    -Apartments,-Home,-Villas,-Land
    ]
    2.Commercial real estate
    [
    -Ofices,-Warehouses,-Shops,-Buildings,-Land
    ]

    however, you may find the sub-category order might change to alphabetical
    so to stop that you could do a marker like
    i then ii, iii
    but you will have a problem with -Land
    because it is in BOTH categories – so some means of having a sub-category is needed

Viewing 15 posts - 1 through 15 (of 18 total)