Horje
Package of real estate tools and widgets designed specifically for real estate industry blogs and sites. Wordpress Tutorial

Noted That:

  • To install correctly this simple-real-estate-pack-4.zip .
  • Fisrt Download the simple-real-estate-pack-4.zip to your computer
  • Extract/Open simple-real-estate-pack-4.zip to Your Computer.
  • Then, Find readme.txt file inside simple-real-estate-pack-4.zip and Open readme.txt .
  • Now, Read the Requirements of this plugin. Which Wordpress Version and PHP Version are required to run this Plugin in Your Wordpress Site.
  • Then, Follow the Tips Below.

Start the Tips:

1. First Download " simple-real-estate-pack-4.zip " Plugin to your Local Computer. (Click Download)

2. Then, Login to your " yourdomain.com/wp-admin " Dashboard.

/stack/wp/e1593231376d7d849d2-4597-4fa3-a6ff-1eca18f72aab.png

3. Then, Click on " Plugins " + " Add New " from left sidemenu of Dashboard.

/stack/wp/e1593231378Screenshot20.png

4. Now, Click on "Upload Plugin" button.

/stack/wp/e1593231380Screenshot-2019-4-2AddPluginsHorjeWordPress.png

 

5. Now, Browse " simple-real-estate-pack-4.zip "  Downloaded plugin from your computer, Where you downloaded simple-real-estate-pack-4.zip According to Step – 1 Above then, click on " Install Now"

/stack/wp/e15931461531577025694plugin.png

6. Now, Click on " Active Plugin"

/stack/wp/e15932313830ca45529-bf73-4101-8178-53ae60ce549f.png

7. Then, See left sidemenu. " Simple Real Estate Pack " folder is added on left sidemenu. Now, Click on " Simple Real Estate Pack " folder.

   Noted that: If you do not see " Simple Real Estate Pack " folder on left sidemenu then, see at left sidemenu " Settings " or " Tools ".

8. Now you configure yourself oR Watch video tutorial below about  Simple Real Estate Pack Configurtions and Settings or How to work " Simple Real Estate Pack " in your WordPress site.

 

oR

After Activated Plugin According to Step-6 then,

  1. Go to " Plugins " + " Installed Plugin " from Wordpress Admin Panel Leftside Menu.
  2. or Direct go to: https://yourdomain/wp-admin/plugins.php
  3. Then, Find " Simple Real Estate Pack " Activated Plugin from Plugin List.
  4. Then, Click on " Settings " from Plugin that is Simple Real Estate Pack
  5. Now, Edit/Add/Config the setting and Click on " Save Changes " button,
WP Plugin Setting



Guide

Install like any other basic plugin:

  1. Unzip and copy the simple-real-estate-pack folder to your /wp-content/plugins/ directory

  2. Activate the Simple Real Estate Pack on your plugins page.

  3. Go to the Real Estate Pack Settings Page and adjust options to fit your needs.

  4. A lot of the functionality of the plugin depends on third party APIs. To take advantage of all the features it’s highly recommended that you obtain (free) API keys for each service.

Using Neighborhood Profiles in Templates

Note: This requires good understanding of HTML markup and experience in editing WordPress templates.

Extending GRE listings with SRP Neighborhood Profiles

Simple Real Estate Pack can output information like map, schools, local businesses and market statistics within certain radius of the location of the property listing, presented by GRE plugin.

GRE supports 2 ways of presenting listings:
1. Via default auto-generated templates of listings summary and individual listings pages.
2. Via custom templates that have be located inside your theme’s folder.

First Method doesn’t require any HTML or PHP skills, but some knowledge of CSS may be needed.
1. After GRE and SRP are installed, assure that Permalinks for your website are activated. You can do that via Settings -> Permalinks. This step is required by the GRE plugin.
2. Go into GRE Settings. Make sure that the Main Listings Page is selected (if you don’t have one, create a blank one and then select it in the settings).
3. Listing Summary and Individual Listings Pages must be checked. Leave the rest of the checkboxes unchecked.
4. Make sure that comments and trackbacks are deactivated on your Main Listings Page and all individual listings as well.
5. That’s it – SRP information should appear below each listing on the individual listing pages. Follow the GRE instructions on how to create and manage listings.

Even though GRE and SRP plugins come with some pre-defined styles, which can be activated via their respective settings pages, remember that only one style should be used, otherwise they will conflict. Some themes may conflict with the default styles as well, so you may need to make adjustmetns in your own theme’s style.css file.

Second Method: via custom listings templates. In short – you MUST know what you’re doing.
If you don’t know what “loop” means in WordPress, and how to create page templates – this section will not teach you how to do it, so you better find someone who can do it for you.

Create a new page template. This is how I do it:

1. Create a copy of your page.php template and name it listingpage.php. It has to be in your theme’s folder where other templates are (page.php, post.php etc.).

2. Open the file to edit, and place the following code at the top of the file:




3. Place the following code inside the loop of the page template. You might also want to delete everything else from the loop, otherwise you’ll endup with some duplicate content on the same page.




4. Now, you should be able to use SRP Listing Page template from the drop-down selection list when editing your listings.

Using SRP Neighborhood Profiles in Other Custom Templates

Assuming that a number of values that refer to property location will be passes to your custom template, you need to define the following global variable as an associative array with preset keys followed by the srp_profile() function:



 '', 'lng' =>
 '', 'address' =>
 '', 'city' =>
 '', 'state' =>
 '', 'zip_code' =>
 '', 'listing_price' =>
 '', 'bedrooms' =>
 '', //optional 'bathrooms' =>
 '', //optional 'html' =>
 '', //optional
);
if(function_exists('srp_profile')){ srp_profile();
}
?>

All parameters are required except the noted ones. The variable’s name ( $srp_property_values ) required to be exact.

Using SRP API

Simple Real Estate Pack’s API allows developers to add their own widgets to the Neighborhood Profile output. Those widgets will play by the same rules as the built-in ones – they can load statically into the page or via AJAX, can be presented via tabs and their tab names and subtitles can be customized via plugin settings page by the end-user.

This implementation consists of 3 simple steps:

1. The actual function that returns your widget’s content. You can use global $srp_property_values variable to get access to the initial property/location parameters if needed.




2. The function that initializes your widget and adds all the necessary information about it to the $srp_widgets object:



 'widget_name', //lower case and no special characters 'title' =>
 'My Custom Widget Title', //will used as subtitle within content 'tab_name' =>
 'Widget Tab Name', //short 1-2 word tab name 'callback_function' =>
 'my_custom_srp_widget_content', //callback widget content function 'init_function' =>
 __FUNCTION__, //don't change - this is reference to the current function 'ajax' =>
 false, //bool - false or true grants an option for your widget to be loaded via AJAX. 'save_to_buffer' =>
 false, //bool - change to true if your widget's content needs to be cached before the output. For example your widget content function doesn't return the data, but instead outputs it directly. If you change to TRUE, it will cache the output and return in correctly. ); $init[] = $array; return $init;
}
?>

Note: all parameters of the $array are required. Make sure your _init function references the $init argument and always returns $init.

3. The last step is to add a filter that will add your new widget init to the object preparation process:




Note: if you want to change an order in which widgets load, simply add 3rd numerical parameter to the filter. Keep in mind that Google Map is set to load first (and should stay that way), due to some unsolved issue.


real , estate , package , tools , widgets , designed , specifically , industry , blogs , sites ,

Name

Read Article
https://develop.horje.com/learn/1434/reference