<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
<channel>
<title><![CDATA[Realtyna.com]]></title>
<link><![CDATA[https://support.realtyna.com/]]></link>
<description />
<generator><![CDATA[Kayako fusion v4.80.0]]></generator>
<item>
<title><![CDATA[Developers - How to override WPL views on a theme]]></title>
<link><![CDATA[https://support.realtyna.com/index.php?/Knowledgebase/Article/View/549]]></link>
<guid isPermaLink="false"><![CDATA[ccb1d45fb76f7c5a0bf619f979c6cf36]]></guid>
<pubDate><![CDATA[Mon, 28 Apr 2014 04:44:26 -0400]]></pubDate>
<dc:creator />
<description><![CDATA[WPL uses an amazing structure to override the frontend of your website, activities, widgets and even the views in your Administrative Panel! You can simply put the tmpl files on your theme with a specific structure.&nbsp; WPL will then include the overrid...]]></description>
<content:encoded><![CDATA[<p>WPL uses an amazing structure to override the frontend of your website, activities, widgets and even the views in your Administrative Panel! You can simply put the tmpl files on your theme with a specific structure.&nbsp; WPL will then include the overridden files instead of the original ones.</p>
<p>WPL view path is [plugin-folder]/views/[section]/[view-name]/tmpl/[tmpl-files]</p>
<p>Please put the tmpl files in your theme with this path structure: /[theme-folder]/wplhtml/[section]/[view-name]/[tmpl-files]</p>
<p>Example -&nbsp; If you are using the WPL28 theme, the files should be put into these paths:</p>
<h2>Views</h2>
<p>propertylisting default tmpl --&gt; /wpl_twentyeight/wplhtml/frontend/property_listing/default.php</p>
<p>propertyshow default tmpl --&gt; /wpl_twentyeight/wplhtml/frontend/property_show/default.php</p>
<p>gallery pshow tmpl --&gt; /wpl_twentyeight/wplhtml/activities/listing_gallery/pshow.php</p>
<p>PDF flyer tmpl --&gt; /wpl_twentyeight/wplhtml/basics/features/pdf.php</p>
<h2>Widgets</h2>
<p>For overriding the widgets tmpl you would put the tmpl file into this path /wpl_twentyeight/wplhtml/widgets/agents/default.php</p>
<h2>Child Theme</h2>
<p>The paths are the same if you're using a child theme. For example /wpl_twentyeight-child/wplhtml/frontend/property_listing/default.php</p>
<p>If you didn't put the file on child theme and the file existed on the main theme, WPL imports the file from the main theme. &nbsp;Otherwise it would include the original file.</p>
<p><span style="color: #ff0000;">Note: There is no need to remove the original files after overriding. You can also modify overridden files without changing the original files.</span></p>
<p><span style="color: #ff0000;">Note: There is no need to put overridden files inside of /tmpl/ directory.</span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[Developer related articles.]]></title>
<link><![CDATA[https://support.realtyna.com/index.php?/Knowledgebase/Article/View/550]]></link>
<guid isPermaLink="false"><![CDATA[01f78be6f7cad02658508fe4616098a9]]></guid>
<pubDate><![CDATA[Mon, 28 Apr 2014 04:47:10 -0400]]></pubDate>
<dc:creator />
<description><![CDATA[Thank you for developing with WPL! Please find below KB articles:
How to override WPL views on a theme?
How to assign a specific criteria to a listing page?
How to make your theme WPL compatible?
How do you change the style of WPL views, widgets and a...]]></description>
<content:encoded><![CDATA[<p>Thank you for developing with WPL! Please find below KB articles:</p>
<p><a href="https://support.realtyna.com/index.php?/Default/Knowledgebase/Article/View/549/" target="_blank">How to override WPL views on a theme?</a></p>
<p><a href="https://support.realtyna.com/index.php?/Default/Knowledgebase/Article/View/551/" target="_blank"><span class="kbtitlemain">How to assign a specific criteria to a listing page?</span></a></p>
<p><a href="https://support.realtyna.com/index.php?/Default/Knowledgebase/Article/View/552/" target="_blank"><span class="kbtitlemain">How to make your theme WPL compatible?</span></a></p>
<p><a href="https://support.realtyna.com/index.php?/Default/Knowledgebase/Article/View/560/" target="_blank">How do you change the style of WPL views, widgets and activities?</a></p>
<p><a href="https://support.realtyna.com/index.php?/Default/Knowledgebase/Article/View/572/" target="_blank">How to create new layouts for WPL widgets?</a></p>
<p><a href="https://support.realtyna.com/index.php?/Default/Knowledgebase/Article/View/577/" target="_blank"><span class="kbtitlemain">How to add new categories for listing types and property types?</span></a></p>
<p><a href="https://support.realtyna.com/index.php?/Default/Knowledgebase/Article/View/581/" target="_blank"><span class="kbtitlemain">How to add new fields using database?</span></a></p>
<p><a href="https://support.realtyna.com/index.php?/Default/Knowledgebase/Article/View/641/" target="_blank"><span class="kbtitlemain">WPL Database diagram and table descriptions.</span></a></p>
<p><a href="https://support.realtyna.com/index.php?/Default/Knowledgebase/Article/View/712/" target="_blank">How to save URLs of property images instead uploading them to host?</a></p>
<p><span class="kbtitlemain"><a href="https://support.realtyna.com/index.php?/Default/Knowledgebase/Article/View/662/" target="_blank">How to add new units into the WPL?</a></span></p>
<p><span class="kbtitlemain"><a href="https://support.realtyna.com/index.php?/Default/Knowledgebase/Article/View/711/">How to show new fields in property listing page?</a></span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[Developers -- Google map zoom in and zoom out issue in third part...]]></title>
<link><![CDATA[https://support.realtyna.com/index.php?/Knowledgebase/Article/View/750]]></link>
<guid isPermaLink="false"><![CDATA[b137fdd1f79d56c7edf3365fea7520f2]]></guid>
<pubDate><![CDATA[Thu, 29 Dec 2016 07:18:40 -0500]]></pubDate>
<dc:creator />
<description><![CDATA[WPL loads Google map library itself. If a third party theme&nbsp;also loads Google map library it will cause a conflict between WPL and the theme. The issue will appear on the Google map in a way that if you zoom in or zoom out your map does not load. Als...]]></description>
<content:encoded><![CDATA[<p>WPL loads Google map library itself. If a third party theme&nbsp;also loads Google map library it will cause a conflict between WPL and the theme. The issue will appear on the Google map in a way that if you zoom in or zoom out your map does not load. Also a JS issue will appear&nbsp;on console:</p>
<p><span style="color: #ff0000;">"<span style="background-color: #ffffff;">You have included the Google Maps API multiple times on this page. This may cause unexpected errors.</span>"</span></p>
<p>&nbsp;</p>
<p>For preventing this issue you need to disable Google map library that is loaded via the theme somehow. Bridge theme has an option for this purpose. You need to go to Qode options -&gt; Contact page and set "Enable google map" on "No".</p>
<p><img src="http://support.realtyna.com/KB_Article_images/googlemapissue.jpg" alt="Disabling google map on Bridge theme" width="606" height="456" /></p>
<p>&nbsp;</p>
<p>For other themes, First, you should search for an option in the theme backend to disable it. If there is no option, You need to remove it in another way. First, you should find where the google map library is loaded. For this purpose run the following code in your functions.php:</p>
<pre>function wp_inspect_scripts() {
      global $wp_scripts;
      foreach( $wp_scripts-&gt;queue as $handle ) :
          echo $handle;
      endforeach;
}
add_action( 'wp_print_scripts', 'wp_inspect_scripts' );</pre>
<p>All the handles will be printed. Then you need to find the&nbsp;google map handle library and deregister&nbsp;and dequeue in the child theme functions.php:</p>
<pre>function wpjs_dequeue_script()
{
     wp_deregister_script('google-maps-api');
     wp_dequeue_script('google-maps-api');
}
add_action( 'wp_print_scripts', 'wpjs_dequeue_script' );</pre>
<p>* Consider Google map library handle is "google-maps-api"</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[Developers -- How can I change the background image of &quot;Featured ...]]></title>
<link><![CDATA[https://support.realtyna.com/index.php?/Knowledgebase/Article/View/691]]></link>
<guid isPermaLink="false"><![CDATA[10a5ab2db37feedfdeaab192ead4ac0e]]></guid>
<pubDate><![CDATA[Mon, 25 Jan 2016 03:07:47 -0500]]></pubDate>
<dc:creator />
<description><![CDATA[You can upload your preferred image via the media menu of WordPress backend. Then click on the image to see the details.

Then&nbsp;copy the image URL an save it somewhere. You will need this URL.

&nbsp;
Go to WPL28&nbsp;Settings -&gt; Custom CSS. C...]]></description>
<content:encoded><![CDATA[<p>You can upload your preferred image via the media menu of WordPress backend. Then click on the image to see the details.</p>
<p><img class="undefined" src="http://wpl.realtyna.com/wassets/kb_featured_properties_bg_1.jpg" alt="" width="700" height="443" /></p>
<p>Then&nbsp;copy the image URL an save it somewhere. You will need this URL.</p>
<p><img class="undefined" src="http://wpl.realtyna.com/wassets/kb_featured_properties_bg_2.jpg" alt="" width="502" height="544" /></p>
<p>&nbsp;</p>
<p>Go to WPL28&nbsp;Settings -&gt; Custom CSS. Copy following code in the text area:</p>
<p>To change Featured Properties background image:</p>
<p>#top_footer_rows .widget_wpl_carousel_widget<br />{<br />&nbsp; &nbsp;&nbsp;background-image: url(url related to the background image you saved before);<br />}</p>
<p>To change Featured Agents background image:</p>
<p>#top_footer_rows .widget_wpl_agents_widget .background<br />{<br />&nbsp; &nbsp;background-image: url(url related to the background image you saved before);<br />}</p>
<p><img class="undefined" src="http://wpl.realtyna.com/wassets/kb_featured_properties_bg_3.jpg" alt="" width="900" height="453" /></p>
<p>&nbsp;</p>
<p>*Note: It is recommended&nbsp;to remove "http://example.com" from the url. For example, if you have this url:</p>
<p>"http://example.com/wp-content/upload/wp-content/uploads/2016/01/bedroom-interior-design-blue.jpg"</p>
<p>You should remove "<a href="http://example.com&quot;">http://example.com"</a>&nbsp;from the url and add it to the code:</p>
<p>background-image: url(/wp-content/upload/wp-content/uploads/2016/01/bedroom-interior-design-blue.jpg);</p>
<p>&nbsp;</p>
<p>&nbsp;</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[Developers -- How can I use WPL28 Custom Header Type.]]></title>
<link><![CDATA[https://support.realtyna.com/index.php?/Knowledgebase/Article/View/689]]></link>
<guid isPermaLink="false"><![CDATA[07a96b1f61097ccb54be14d6a47439b0]]></guid>
<pubDate><![CDATA[Sat, 23 Jan 2016 02:45:54 -0500]]></pubDate>
<dc:creator />
<description><![CDATA[Hi developers,In this Article, I will describe about WPL28 custom header and how to use it:WPL28 theme has a new type for developers. This type doesn't have any content so you can add your desired content for the header.First of all, You need to make sure...]]></description>
<content:encoded><![CDATA[<p>Hi developers,<br />In this Article, I will describe about WPL28 custom header and how to use it:<br />WPL28 theme has a new type for developers. This type doesn't have any content so you can add your desired content for the header.<br />First of all, You need to make sure you already have wpl28 child theme activated. In child theme, You should copy header.php of theme from "\wpl_twentyeight\header.php" to "\wpl_twentyeight-child\header.php".<br />Search for "case '10':" in header.php in child theme, There is a comment section under this part " // Add your custom header codes in here. (Important: You should use this customization in child-theme) ". You should add your codes in here.&nbsp;</p>
<p>As I already mentioned before, This type is useful only for developers who can customize a WordPress Theme so if you are not a developer we don't recommend you to do any of this changes.</p>
<pre>          ...<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;    &lt;?php<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; break;
          case '10':
                    // Add your custom header codes in here. (Important: You should use this customization in child-theme)
                break;
          ...
</pre>]]></content:encoded>
</item>
<item>
<title><![CDATA[Developers -- How to add new categories for listing types and pro...]]></title>
<link><![CDATA[https://support.realtyna.com/index.php?/Knowledgebase/Article/View/577]]></link>
<guid isPermaLink="false"><![CDATA[fde9264cf376fffe2ee4ddf4a988880d]]></guid>
<pubDate><![CDATA[Fri, 15 Aug 2014 09:11:39 -0400]]></pubDate>
<dc:creator />
<description><![CDATA[Property Type Category
Since WPL3.5.0, you can add new property type (and manage existing) categories using WPL-&gt;Data Structure-&gt;Property Types-&gt;Categories.
Listing Type Category
To add new categories listing types you should go to the databas...]]></description>
<content:encoded><![CDATA[<h2>Property Type Category</h2>
<p>Since WPL3.5.0, you can add new property type (and manage existing) categories using WPL-&gt;Data Structure-&gt;Property Types-&gt;Categories.</p>
<h2>Listing Type Category</h2>
<p>To add new categories listing types you should go to the database of your website and then add new records in [wp_prefix]_wpl_listing_types.</p>
<p><span style="color: #ff0000;">Note: Parent key of new records must be 0.</span></p>
<p><span style="color: #ff0000;">Note: Insert a high number for the id column (more than 10000). It avoids duplicate id conflicts in the future.</span></p>
<p><img src="http://wpl.realtyna.com/wassets/kb_category2.png" alt="" width="708" height="131" /></p>
<p><img src="http://wpl.realtyna.com/wassets/kb_category1.png" alt="" width="362" height="257" /></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[Developers -- How to add new fields using the database]]></title>
<link><![CDATA[https://support.realtyna.com/index.php?/Knowledgebase/Article/View/581]]></link>
<guid isPermaLink="false"><![CDATA[c6e19e830859f2cb9f7c8f8cacb8d2a6]]></guid>
<pubDate><![CDATA[Tue, 26 Aug 2014 00:23:54 -0400]]></pubDate>
<dc:creator />
<description><![CDATA[Firstly, find out what kind of entity you want to add a new field.&nbsp; You can find WPL defined kinds on [wp_prefix]_wpl_kinds table. For example: the kind id of the property is 0 and the kind id of the user is 2.
1- Check the table column in the [wp_p...]]></description>
<content:encoded><![CDATA[<p>Firstly, find out what kind of entity you want to add a new field.&nbsp; You can find WPL defined kinds on [wp_prefix]_wpl_kinds table. For example: the kind id of the property is 0 and the kind id of the user is 2.</p>
<p>1- Check the table column in the [wp_prefix]_wpl_kinds table and add a new column into the kind table. For example, if you want to add a new field for users you should add a new column into the [wp_prefix]_wpl_users table.</p>
<p>2- Add a new record into the [wp_prefix]_wpl_dbst table. These columns are important when adding this record:</p>
<p>- id: You should find the maximum ID of dbst records for setting this ID. (Maximum+1) The Minumum value for ID is 3000. So if Maximum+1 is less than 3000, you should pick 3000 for the ID.</p>
<p>- kind: Insert kind id from [wp_prefix]_wpl_kinds table.</p>
<p>- name: Insert the name of your field.</p>
<p>- type: Insert your field type. In most of cases, clients need to add a text, textarea, number or select field.</p>
<p>- options:&nbsp; To insert options for this field based on the field you need, this must be in JSON encoded array. You can see other fields as a sample.</p>
<p>- enabled: It should be 1 or 2. 0 means it is disabled.</p>
<p>- table_name: Insert kind table from [wp_prefix]_wpl_kinds table.</p>
<p>- table_column: Insert the name of the column that you added in first step.</p>
<p>- category: Find category ID from [wp_prefix]_wpl_dbcat table and insert it in this column.</p>
<p>- pwizard: This should be 1 if you want to show it on wizards such as Add/Edit listing wizard or the user profile wizard, and should be 0 if you want to hide it.</p>
<p><span style="color: #ff0000;">Note: For some field types you may need to add more columns to the target table using a naming rule. For example:&nbsp; For neighborhood, features, price etc., you need to add more than 1 field to the target table. Please see the current fields as a sample.</span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[Developers -- How to add new image categories?]]></title>
<link><![CDATA[https://support.realtyna.com/index.php?/Knowledgebase/Article/View/803]]></link>
<guid isPermaLink="false"><![CDATA[1aa48fc4880bb0c9b8a3bf979d3b917e]]></guid>
<pubDate><![CDATA[Thu, 04 Jan 2018 01:58:07 -0500]]></pubDate>
<dc:creator />
<description><![CDATA[WPL Comes with two default categories for images (image and floorplan) but if you need more categories then you can add them by inserting a simple record on [wp_prefix]_wpl_item_categories table. There are already some records on this table for image cate...]]></description>
<content:encoded><![CDATA[WPL Comes with two default categories for images (image and floorplan) but if you need more categories then you can add them by inserting a simple record on <code>[wp_prefix]_wpl_item_categories</code> table. There are already some records on this table for image categories so you can check them and add your new record following existing records.]]></content:encoded>
</item>
<item>
<title><![CDATA[Developers -- How to add new units into the WPL?]]></title>
<link><![CDATA[https://support.realtyna.com/index.php?/Knowledgebase/Article/View/662]]></link>
<guid isPermaLink="false"><![CDATA[be3159ad04564bfb90db9e32851ebf9c]]></guid>
<pubDate><![CDATA[Wed, 05 Aug 2015 02:06:35 -0400]]></pubDate>
<dc:creator />
<description><![CDATA[WPL units saved in [wp_prefix]_wpl_units table. If you want to add a new unit into the WPL, you should add a new record in this table. Please fill the below columns based on instructions:
id: Add a high id into this field. 10001 and higher are good value...]]></description>
<content:encoded><![CDATA[<p>WPL units saved in [wp_prefix]_wpl_units table. If you want to add a new unit into the WPL, you should add a new record in this table. Please fill the below columns based on instructions:</p>
<p><strong>id</strong>: Add a high id into this field. 10001 and higher are good values for id column.</p>
<p><strong>type</strong>: Insert 1 for length unit, 2 for area unit, 3 for valume unit and 4 for currency units.</p>
<p><strong>tosi</strong>: Insert exchange rate of new unit to SI unit. For currencies, SI unit is USD. For other units, m, m&sup2; and m&sup3; are SI units.</p>
<p>After adding new unit, it will appear in WPL-&gt;Data Structure-&gt;Unit manager and you can enable/disable it or make it default unit by sorting it to the top.</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[Developers -- How to assign a specific criteria to a listing page]]></title>
<link><![CDATA[https://support.realtyna.com/index.php?/Knowledgebase/Article/View/551]]></link>
<guid isPermaLink="false"><![CDATA[7f24d240521d99071c93af3917215ef7]]></guid>
<pubDate><![CDATA[Mon, 28 Apr 2014 05:09:45 -0400]]></pubDate>
<dc:creator />
<description><![CDATA[Using WPL default query types
WPL search feature work by using standard criteria query strings, so you can simply define your desired criteria for a specific listing page. Some important parameters are accessible through WPL shortcode wizard. For example...]]></description>
<content:encoded><![CDATA[<h2>Using WPL default query types</h2>
<p>WPL search feature work by using standard criteria query strings, so you can simply define your desired criteria for a specific listing page. Some important parameters are accessible through WPL shortcode wizard. For example, you can specify "listing type", "property type", "user", property tags such as "Featured", "Hot", etc so you can use them easily.</p>
<p>If the shortcode wizard parameters are not enough for you and you want to specify more advanced criteria, you can insert the parameters manually on shortcode. Search query parameters are using this structure: <strong>sf_[query-type]_[column-name]=[value]</strong></p>
<p>For example, by adding <code>sf_select_listing="9"</code>, WPL will show "For Sale" listings. Some query types need 2 parameters like min/max query type. If you send <code>sf_tmin_f_150="1" sf_tmax_f_150="5"</code> it will show the listing that has at least 1 parking space and maximum 5 parking spaces.</p>
<p>Please check this sample shortcode: <code>[WPL sf_select_listing="9" sf_tmin_f_150="1" sf_tmax_f_150="5"]</code></p>
<p>You can find all the default query types by tracing this path: [wpl-path]/libraries/create_query/</p>
<h2>Creating your own query type</h2>
<p>You can also simply create your own query type if needed by adding a new file into the [wpl-path]/libraries/create_query/ directory. you can check one of the default ones as a sample.</p>
<h2>Overriding query types</h2>
<p>Also WPL has a structure to override query type files. For example, if you want to modify textsearch query type, you can copy and paste the original file and save the new file with an underscore in the beginning of its name (ie: you could create this file for overriding textsearch.php default file: [wpl-path]/libraries/create_query/_textsearch.php)<br /><br />Here is how you can add a shortcode on WPL:</p>
<div style="padding: 56.25% 0 0 0; position: relative;"><iframe width="425" height="350" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;" src="//player.vimeo.com/video/711968008?title=0&amp;amp;byline=0" frameborder="0" allow="autoplay; fullscreen; picture-in-picture" allowfullscreen="allowfullscreen" title="Shortcodes for WPL" data-mce-fragment="1"></iframe></div>
<p>
<script src="https://player.vimeo.com/api/player.js"></script>
</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[Developers -- How to create new layouts for WPL widgets?]]></title>
<link><![CDATA[https://support.realtyna.com/index.php?/Knowledgebase/Article/View/572]]></link>
<guid isPermaLink="false"><![CDATA[e6b4b2a746ed40e1af829d1fa82daa10]]></guid>
<pubDate><![CDATA[Tue, 22 Jul 2014 05:30:00 -0400]]></pubDate>
<dc:creator />
<description><![CDATA[To create a new layout for WPL widgets, copy and paste one of the existing layouts and rename it a custom name. For example: if you want to create a new layout for the Carousel widget, create a new file in this path: /wp-content/plugins/real-estate-listin...]]></description>
<content:encoded><![CDATA[<p>To create a new layout for WPL widgets, copy and paste one of the existing layouts and rename it a custom name. For example: if you want to create a new layout for the Carousel widget, create a new file in this path: /wp-content/plugins/real-estate-listing-realtyna-wpl-pro/widgets/carousel/tmpl/custom_my_layout.php</p>
<p>Then in the Carousel widget options you can select the new layout:</p>
<p><img src="http://wpl.realtyna.com/wassets/kb_create_layout1.png" alt="" width="338" height="289" /></p>
<p>Then you can open this layout and apply your changes. You can also <a href="https://support.realtyna.com/index.php?/Default/Knowledgebase/Article/View/549/" target="_blank">override</a> this layout in your theme.</p>
<p><span style="color: #ff0000;"><strong>Note:</strong> Always select a custom name for your added layouts. If you name your layout to a general name like gallery.php it will be overriden in future if we add a new layout with same name to WPL core.</span></p>
<p><span style="color: #ff0000;"><strong>Note:</strong> Don't do this method when you're using WPL Basic because your custom file will remove in next update of WPL basic. You shouldn't put any custom file inside of a WordPress plugin generally because of update scenario of WordPress.</span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[Developers -- How to make your theme WPL compatible]]></title>
<link><![CDATA[https://support.realtyna.com/index.php?/Knowledgebase/Article/View/552]]></link>
<guid isPermaLink="false"><![CDATA[94c7bb58efc3b337800875b5d382a072]]></guid>
<pubDate><![CDATA[Mon, 28 Apr 2014 05:21:08 -0400]]></pubDate>
<dc:creator />
<description><![CDATA[This article is created for developer who want to include WPL in their theme and develop a WPL compatible theme.
See below for the requirements to create a WPL compatible theme:
1- Use the WPL shortcode wizard to&nbsp;add all of its shortcodes to your&n...]]></description>
<content:encoded><![CDATA[<p>This article is created for developer who want to include WPL in their theme and develop a WPL compatible theme.</p>
<p>See below for the requirements to create a WPL compatible theme:</p>
<p>1- Use the WPL shortcode wizard to&nbsp;add all of its shortcodes to your&nbsp;pages, add the pages to a menu, then to a menu bar of your theme. &nbsp;This will enable you to see all the WPL views (Property listings, Single listing, Agent Listing, Single Agent etc). &nbsp;You should add WPL widgets to your website as well to check their interface.</p>
<p><span style="color: #ff0000;"><strong>Note:</strong> Some WPL widgets and activities have more than one layout. It is recommended to integrate all the layouts with your theme.</span></p>
<p>2- Use CSS to add desired styles to WPL views, activities and widgets.</p>
<p>3- If needed, you can override tmpl files in your theme. Please read the following KB article: <a href="https://support.realtyna.com/index.php?/Default/Knowledgebase/Article/View/549/">How to override WPL views on a theme?</a></p>
<p>4- WPL has many addons, If you're going to include WPL into your theme you should consider both of WPL free and Pro and also all WPL addons. Please contact us for developer license of our addons.</p>
<p>5- You can contact us if you need any help regarding integrating your theme with WPL. We may provide you some awesome suggestions and offers.</p>
<p>Thank you for developing with WPL.</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[Developers -- How to save URLs of property images instead uploadi...]]></title>
<link><![CDATA[https://support.realtyna.com/index.php?/Knowledgebase/Article/View/712]]></link>
<guid isPermaLink="false"><![CDATA[19bc916108fc6938f52cb96f7e087941]]></guid>
<pubDate><![CDATA[Sun, 05 Jun 2016 03:27:39 -0400]]></pubDate>
<dc:creator />
<description><![CDATA[First of all, we recommend you to upload images of listings to host and let WPL to resize them based on its options because it will have great affect on your website page speed and reducing page size.
But if you don't want to save images on the host for ...]]></description>
<content:encoded><![CDATA[<p>First of all, we recommend you to upload images of listings to host and let WPL to resize them based on its options because it will have great affect on your website page speed and reducing page size.</p>
<p>But if you don't want to save images on the host for any reason, you're able to save only image URLs into the WPL items table ([wp_prefix]_wpl_items). This feature called "External images" in WPL and users are able to insert the image links (each link on a new line) on WPL-&gt;Add/Edit Listing-&gt;Image Gallery-&gt;External Images. Then WPL saves the links into [wp_prefix]_wpl_items table.</p>
<p>You can follow the same structure on your massive import code. Just make sure you use exactly the same code. You can see WPL code as a sample here: /path/to/wpl/views/backend/listing/wpl_gallery.php -&gt; wpl_listing_controller::save_external_images function. You should use <code>wpl_items::save($item); </code>function for saving external images.</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[Developers -- How to show new fields in property listing page?]]></title>
<link><![CDATA[https://support.realtyna.com/index.php?/Knowledgebase/Article/View/711]]></link>
<guid isPermaLink="false"><![CDATA[6081594975a764c8e3a691fa2b3a321d]]></guid>
<pubDate><![CDATA[Wed, 25 May 2016 23:34:39 -0400]]></pubDate>
<dc:creator />
<description><![CDATA[If you want to show some new fields in the property listing page you should do the following steps:
1- Open [wp_prefix]_wpl_dbst table in your website database and find the field that you want to show and then set its plisting column to 1 instead of 0.
...]]></description>
<content:encoded><![CDATA[<p>If you want to show some new fields in the property listing page you should do the following steps:</p>
<p>1- Open <code>[wp_prefix]_wpl_dbst</code> table in your website database and find the field that you want to show and then set its <code>plisting</code> column to 1 instead of 0.</p>
<p>2- Override <code>/path/to/wpl/views/frontend/property_listing/tmpl/assets/default_listings.php</code> file into your (child) theme and then modify it show your desired field data. You can check&nbsp;<a href="https://support.realtyna.com/index.php?/Default/Knowledgebase/Article/View/549/">this KB article</a> for overriding core files into (child) themes. You can find rendered data of your desired field into <code>$property['materials']</code> variable. Then you can simply print it to the page and apply your desired icon if needed using some CSS codes.</p>
<p><span style="color: #ff0000;">Note: A same scenario is applicable for showing agent fields in profile listing menu. You should override <code>/path/to/wpl/views/frontend/profile_listing/tmpl/assets/default_profiles.php </code>and then print your desired field from <code>$profile['materials']</code> variable.</span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[Developers -- WPL Database diagram and table descriptions.]]></title>
<link><![CDATA[https://support.realtyna.com/index.php?/Knowledgebase/Article/View/641]]></link>
<guid isPermaLink="false"><![CDATA[67e103b0761e60683e83c559be18d40c]]></guid>
<pubDate><![CDATA[Wed, 08 Apr 2015 04:38:43 -0400]]></pubDate>
<dc:creator />
<description><![CDATA[You can find simple description about WPL DB Tables here. Also you can download DB diagram from attachments. This KB is as is.
wp_wpl_properties: This table&nbsp;stores properties information.wp_wpl_users: This table stores WPL users&nbsp;(Agents) inform...]]></description>
<content:encoded><![CDATA[<p>You can find simple description about WPL DB Tables here. Also you can download DB diagram from attachments. This KB is as is.</p>
<p><strong>wp_wpl_properties</strong>: This table&nbsp;stores properties information.<br /><strong>wp_wpl_users</strong>: This table stores WPL users&nbsp;(Agents) information.<br /><strong>wp_wpl_dbst</strong>: This table&nbsp;stores list of WPL field which exist in the wp_wpl_properties (or wp_wpl_users) table. because the properties table schema is dynamic, we save the field information over here.<br /><strong>wp_wpl_extensions</strong>: This table have several concepts. For example, for registering WPL widgets we define the widget information in this table with type of widget or define the widget position (Sidebar) etc. <span style="color: #999999;"><em>If you want to register a new widget, javascript library, shortcode etc. you can use this table.</em></span><br /><strong>wp_wpl_items</strong>: This table is for several purposes, For example for saving image of the properties or saving rooms of properties etc.<br /><strong>wp_wpl_menus</strong>: WPL menus saved on this table. <span style="color: #999999;"><em>You can add new menus using this table.</em></span><br /><strong>wp_wpl_units</strong>: Contains list of Length, Area, Volume, Currency units. <em><span style="color: #999999;">You can add new units using this table.</span></em><br /><strong>wp_wpl_dbcat</strong>: Categories of the WPL fields (wp_wpl_dbst table). For example, Basic Details, Gallery, Address Map etc. <em><span style="color: #999999;">You can add new categories or manage current categories using this table if needed.</span></em><br /><strong>wp_wpl_addons</strong>: List of installed WPL addons.<br /><strong>wp_wpl_logs</strong>: Stores WPL logs (If any).<br /><strong>wp_wpl_settings</strong>: WPL uses advanced settings form generator. This table contains the settings list and their data.<br /><strong>wp_wpl_cronjobs</strong>: List of cronjobs for running in certain periods of time.<br /><strong>wp_wpl_property_types</strong>: Property Types save over here. <em><span style="color: #999999;">Records with parent:0 are categories.</span></em><br /><strong>wp_wpl_listing_types</strong>: Listing Types save over here. <em><span style="color: #999999;">Records with parent:0 are categories.</span></em><br /><strong>wp_wpl_activities</strong>: Activity is something like widget but just used by WPL, For example google map is an activity or image gallery etc.<br /><strong>wp_wpl_events</strong>: An API for running codes in a certain hook. For example after adding a property or finalizing a property etc.<br /><strong>wp_wpl_filters</strong>: An API for filtering WPL values. Its concept is like WordPress filter system.</p>
<p><strong>wp_wpl_location1</strong>: Level 1 locations (<strong>Country</strong>).<br /><strong>wp_wpl_location2</strong>: Level 2 locations (<strong>State/Province</strong>).<br /><strong>wp_wpl_location3</strong>: Level 3 locations (<strong>County</strong>).<br /><strong>wp_wpl_location4</strong>: Level 4 locations (<strong>City</strong>).<br /><strong>wp_wpl_location5</strong>: Level 5 locations.<br /><strong>wp_wpl_location6</strong>: Level 6 locations.<br /><strong>wp_wpl_location7</strong>: Level 7 locations.<br /><strong>wp_wpl_locationzips</strong>: <strong>Zipcodes</strong>.</p>
<p><strong>wp_wpl_dbst_types</strong>: Type of WPL fields. This type uses in wp_wpl_dbst table. <em><span style="color: #999999;">You can create your own field type if needed.</span></em><br /><strong>wp_wpl_sort_options</strong>: List of available sort options for certain kinds.<br /><strong>wp_wpl_item_categories</strong>: Categories for wp_wpl_items table.<br /><strong>wp_wpl_room_types</strong>: Rooms Type for properties.<br /><strong>wp_wpl_locationtextsearch</strong>: Cached location information of property for using in WPL autocomplete. (Using Google auto suggest is recommended.)<br /><strong>wp_wpl_setting_categories</strong>: Category of WPL settings fields.<br /><strong>wp_wpl_kinds</strong>: Available kinds/entities for WPL. 0 means property and 2 means user. By installing Complex or Neighborhood etc. addons you may have more kinds in this table.</p>
<p><span style="color: #ff0000;">Note: We used category in different tables in wpl so you can check following descriptions to make it clear.</span></p>
<p><strong>wp_wpl_dbcat</strong>: Categories of the WPL fields (wp_wpl_dbst table). For example, <strong>Basic Details, Gallery, Address Map</strong><br /> <strong>wp_wpl_property_types</strong>: Categories of property types is in this table, Records with parent:0 are categories. For example: <strong>Residential, Commercial, Land.</strong><br /> <strong>wp_wpl_listing_types</strong>: Categories of Listing Types, Records with parent:0 are categories. For example: <strong>Sale, Rental, Vocational</strong>.<br /> <strong>wp_wpl_item_categories</strong>: Categories for wp_wpl_items table. For example:<strong> gallery, attachment, etc.</strong><br /> <strong>wp_wpl_setting_categories</strong>: in WPL backend we have settings, Each settings have a category for example: <strong>Global, Gallery, ... , UI Customizer</strong>.</p>]]></content:encoded>
</item>
<item>
<title><![CDATA[How to filter listings using WPL shortcode?]]></title>
<link><![CDATA[https://support.realtyna.com/index.php?/Knowledgebase/Article/View/740]]></link>
<guid isPermaLink="false"><![CDATA[edfbe1afcf9246bb0d40eb4d8027d90f]]></guid>
<pubDate><![CDATA[Mon, 17 Oct 2016 02:25:01 -0400]]></pubDate>
<dc:creator />
<description><![CDATA[WPL has a flexible shortcode so you can do almost everything that you need for filtering listings using this shortcode. Let's check WPL shortcode structure.
[WPL parameter1="value1" parameter2="value2" ....]
for filtering your desired listings you can s...]]></description>
<content:encoded><![CDATA[<p>WPL has a flexible shortcode so you can do almost everything that you need for filtering listings using this shortcode. Let's check WPL shortcode structure.</p>
<p><code>[WPL parameter1="value1" parameter2="value2" ....]</code></p>
<p>for filtering your desired listings you can simply use parameters. For example placing <code>sf_select_listing="9"</code> will filter "For Sale" listings. As you can see this parameter have 3 parts, Let's see what are these parts.</p>
<p><span style="font-size: 24pt;">sf</span></p>
<p>All filtering parameters start with sf prefix.</p>
<p><span style="font-size: 24pt;">select</span></p>
<p>It's operand of your query, you can use following operand types:</p>
<p><strong>select</strong>: It uses for looking for a certain value into the listings. For example <code>sf_select_property_type="6"</code> will create <code>`property_type`="6"</code> into the query for finding the listings that have "Apartment" for their property_type column.</p>
<p><strong>notselect</strong>: It acts as opposite of select. It adds <code>`property_type`!="6"</code> into the query for finding the listings that are not "Apartment".</p>
<p><strong>multiple</strong>: If you want to look for a multiple values, you can use this operand. For example <code>sf_multiple_listing="9,10"</code> looks for listings that are For Sale and For Rent by creating <code>`listing` IN (9,10)</code> query.</p>
<p><strong>text</strong>: If you want to search on a listings with a term, then you can use this operand type. for example <code>sf_text_field_312="Johnson"</code> generate <code>`field_312` LIKE '%Johnson%'</code> for finding all listings that have "Johnson" term into their title.</p>
<p><strong>tmin</strong>: You can use it for numeric filters. For example if you place <code>sf_tmin_bedrooms="2"</code> into the shortcode, then it will add <code>`bedrooms`&gt;='2'</code> to the query for finding listings that have more than 1 bedroom.</p>
<p><strong>tmax</strong>: It acts like tmin but for maximum search. For example if you place <code>sf_tmax_bedrooms="2"</code> into the shortcode, then it will add <code>`bedrooms`&lt;='2'</code> to the query for finding listings that have less than 2 bedrooms.</p>
<p><strong>between</strong>: It's a combination of tmin and tmax. For example if you place <code>sf_between_bathrooms="1:3"</code> into the shortcode, then it will generate <code>`bathrooms`&gt;=1 AND `bathrooms`&lt;=3</code> into the query.</p>
<p><strong>datemin</strong> and <strong>datemax</strong>: They act like tmin and tmax operands but for date fields.</p>
<p><span style="font-size: 24pt;">listing</span></p>
<p>The third part is column name, You can find the column name in Flex menu. Just click edit button of your desired field.</p>
<p><span style="color: #ff0000;">Note: You can insert multiple filtering parameter into the shortcode.</span></p>]]></content:encoded>
</item>
<item>
<title><![CDATA[How to fix lowercase issue in property description]]></title>
<link><![CDATA[https://support.realtyna.com/index.php?/Knowledgebase/Article/View/754]]></link>
<guid isPermaLink="false"><![CDATA[872488f88d1b2db54d55bc8bba2fad1b]]></guid>
<pubDate><![CDATA[Mon, 23 Jan 2017 03:07:34 -0500]]></pubDate>
<dc:creator />
<description><![CDATA[This issue appeared in version 3.2.0 and it will be fixed in the next version of plugin.
In order to fix this issue in the version 3.2.0 you need to insert next code into your site:
[itemprop=&rdquo;description&rdquo;],[itemprop=&rdquo;description&rdquo...]]></description>
<content:encoded><![CDATA[<p>This issue appeared in version 3.2.0 and it will be fixed in the next version of plugin.</p>
<p>In order to fix this issue in the version 3.2.0 you need to insert next code into your site:</p>
<pre style="color: #000020; background: #f6f8ff;"><span style="color: #308080;">[</span>itemprop<span style="color: #308080;">=</span>&rdquo;description&rdquo;<span style="color: #308080;">]</span><span style="color: #308080;">,</span><span style="color: #308080;">[</span>itemprop<span style="color: #308080;">=</span>&rdquo;description&rdquo;<span style="color: #308080;">]</span> <span style="color: #200080; font-weight: bold;">p</span>
<span style="color: #406080;">{</span>
<span style="color: #7779bb; font-weight: bold;">text-transform</span><span style="color: #308080;">:</span> initial<span style="color: #406080;">;</span>
<span style="color: #406080;">}</span>
</pre>
<p>&nbsp;There are several ways where you can insert this code:</p>
<ol>
<li>If you use WPL Pro plugin version you can insert code&nbsp;in UI Customizer. To find UI Customizer you need to go to Wordpress dashboard and then follow the path WPL -&gt; Settings -&gt; UI Customizer, section Custom styles.</li>
<li>If you use official Realtyna template Theme28 you need to go to Wordpress dashboard and in left menu you need to go to&nbsp;WPL28 Settings -&gt; Custom CSS.</li>
<li>If you use&nbsp;WPL Basic version UI Customizer is not available. In this case, you can insert code in the appropriate location of your theme if your theme support it.</li>
<li>You can use any plugin from <a href="https://wordpress.org/plugins/search.php?q=custom+css" target="_blank">Wordpress plugin registry</a>&nbsp;that supports custom css codes.</li>
</ol>]]></content:encoded>
</item>
<item>
<title><![CDATA[Why I can't search for locations that contains words with less th...]]></title>
<link><![CDATA[https://support.realtyna.com/index.php?/Knowledgebase/Article/View/797]]></link>
<guid isPermaLink="false"><![CDATA[beb22fb694d513edcf5533cf006dfeae]]></guid>
<pubDate><![CDATA[Thu, 12 Oct 2017 00:09:56 -0400]]></pubDate>
<dc:creator />
<description><![CDATA[NOTE: The instruction provided below is technical, and if you are not a developer or a technical person, then please consult with your hosting provider.
This issue happens because of the "ft_min_word_len" variable in your server's MySQL Configurations.It...]]></description>
<content:encoded><![CDATA[<p><strong>NOTE:</strong> The instruction provided below is technical, and if you are not a developer or a technical person, then please consult with your hosting provider.</p>
<p>This issue happens because of the "ft_min_word_len" variable in your server's MySQL Configurations.<br />It's set to default value of 4, which ignores any word shorter than 4 characters.</p>
<p>You need to change this value to 2 so all your searches that contain values less than 4 letters work properly (like San Juan, Los Angeles, etc).<br />(Set it to a lesser value like 1 is not recommended, Because it may cause performance issues)<br /><br />To do so (Root access to the server is required):<br /><br />1- Edit your MySQL configuration at /etc/my.cnf and add the following line at the end of the file:<br /><code>ft_min_word_len=2<br /></code>(If the variable is already there, just change its value to 2)<br /><br /><strong>Note: </strong>If your website is a Bitnami app, MySQL configuration file is on a different path:<br />/opt/bitnami/mysql/my.cnf</p>
<p>2- Restart MySQL server<br />on cPanel based servers:<br /><code>sudo /scripts/restartsrv_mysql<br /><br /></code>On Bitnami stack:<br /><code>sudo /opt/bitnami/ctlscript.sh restart mysql</code><br /><br />on generic servers (You may need to use mariadb instead of mysql):<br /><code>sudo service mysql restart</code></p>
<p>3- Confirm the value has changed with the following SQL command<br /><code>SHOW VARIABLES LIKE 'ft_min_word_len';</code></p>
<p>4- Repair WPL properties table to rebuild the indexes:<br /><code>REPAIR TABLE `wp_wpl_properties`</code><br />(If Wordpress's database prefix is different, make changes accordingly)</p>]]></content:encoded>
</item>
</channel>
</rss>