The structure of the real estate

WordPress Business Themes Forums Version 7 Themes Real Estate Theme The structure of the real estate

The structure of the real estate

July 22, 2013
Oleksii Oleksii
  • Oleksii
    Oleksii
    Newbie 39 points

    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

    July 22, 2013 at 6:37 am
  • Mark Fail
    Mark Fail
    Super Guru 12,812 points

    no files need to be changed,

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

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

    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. 😉

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

    Oops,

    Looks like Mr Fail is 1 step ahead as usual 😳

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

    Thanks for the reply.

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

    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.

    July 22, 2013 at 9:04 am
  • Mark Fail
    Mark Fail
    Super Guru 12,812 points

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

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

    Of course, I see that there is no Office

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

    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 😉

    July 22, 2013 at 9:41 am
  • Sean
    Sean
    Senior Member 199 points

    :)

    July 22, 2013 at 10:34 am
  • Mark Fail
    Mark Fail
    Super Guru 12,812 points

    nice one Oleksii :) good job

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

    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.

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

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

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

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

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

    July 22, 2013 at 3:50 pm

  • Paul
    Newbie 4 points

    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

    July 25, 2013 at 8:48 am
Viewing 15 posts - 1 through 15 (of 18 total)

Didn't find what you were after?

Chat with us now

or contact our support team