FAQ: Warning: A non-numeric value encountered

If you see this message Warning: A non-numeric value encountered in /usr/www/users/realeaexqs/wp-content/plugins/wpresidence-core/wpresidence-core.php on line 244 Check you have set the correct number value for custom fields position  

Enable Listing. Disable Listing. In front dashboard

Published listings can be enabled or disabled by all user types (single user, agent, developer or agency) from user dashboard. Disable published listing   Enable back a disabled listing so it’s published again

The pin is not placed automatically on map – Add New Property page

For the pin to be be automatically placed on the when the property is submitted, all address fields need to be selected from Theme Options-Membership-Property Submission Page   If you wish to hide elements from front end, you can do it with  custom CSS, but they still need to be selected from Theme Options. In […]

Half Map Overlaps Sort Filters

If you see the Search Results Half page or Properties list Half page without a title, please enable that so that sort options don’t overlap with the property units. Please see below video:

How to add custom CSS

You may wish to modify some design elements and that may require using a custom css. You can add custom css in Theme Options – Design  – Custom CSS. The modifications you do here are NOT overwritten when you do a theme update. Add the custom css and SAVE IMPORTANT! Must Clear theme cache to can […]

Where are properties stored in WordPress database

All the property info is kept in wp_post table in your wordpress database. Additional information is also kept in wp_postmeta table. You can check the whole database structure (we are using wordpress default database and do not add new tables) here: https://codex.wordpress.org/Database_Description

How to remove the hover effect from property unit card

Use this css to remove the hover effect from the image (zoom-in): .agent-unit-img-wrapper:hover img, .widget_latest_internal:hover img, .featured_widget_image:hover img, .property_listing:hover .listing-unit-img-wrapper img, .property_listing:hover .property_unit_custom_element.image img { opacity: 0.8; transform: scale(1); -moz-transform: scale(1); -webkit-transform: scale(1); -o-transform: scale(1); -ms-transform: scale(1); -ms-filter: “progid:DXImageTransform.Microsoft.Matrix(M11=1.1, M12=0, M21=0, M22=1.1, SizingMethod=’auto expand’)”; filter: progid:DXImageTransform.Microsoft.Matrix(M11=1.1, M12=0, M21=0, M22=1.1, SizingMethod=’auto expand’); } .featured_property.featured_property_type1:hover .carousel-inner, .featured_property.featured_property_type2:hover […]

Remove Advanced Search from single blog post / property

Use this css and add in theme options – design – custom colors – custom css to remove search from single blog post .single-post #search_wrapper, .single-post #adv-search-header-mobile{ display: none!important; } Use this css to remove search from single property .single-estate_property #search_wrapper,.single-estate_property #adv-search-header-mobile{display: none!important;} Help for custom css:  http://help.wpresidence.net/article/how-to-add-custom-css  

How to remove Properties List Filter Options ONLY from taxonomy pages

If you wish that on taxonomy page you do not let users find properties form other categories/types/cities or areas and you simply let people sort the results from that taxonomy, you can use below css for this result .archive .listing_filter_select #a_filter_action{ display: none; } .archive .listing_filter_select #a_filter_categ{ display: none; } .archive .listing_filter_select #a_filter_cities{ display: none; […]

Remove Header and Advanced Search only From Property Page

Use this css in child theme or in design – custom colors -custom css To remove Advanced Search .single-estate_property #search_wrapper{ display: none!important; } To change header header from theme options If you use a full header slider, the slider will replace the header media options Help for custom css: http://help.wpresidence.net/article/how-to-add-custom-css/

Remove Similar Listings CSS

Remove similar listings with this css .single.single-estate_property .mylistings { display: none!important; } Help for custom csS:  http://help.wpresidence.net/article/how-to-add-custom-css/  

How to remove Google Places from the map.

Use this css in theme options – design – Custom Colors – Custom css or directly in child theme style.css .google_map_poi_marker { display: none!important; } Help for custom css: http://help.wpresidence.net/article/how-to-add-custom-css/ The CSS removes the elements highlighted below:  

How to add MailChimp form

Install MailChimp for WordPress plugin   Connect the plugin to your mailchimp account Create your lists in Mailchimp Create a form and select the list Edit the form and Add the form with the shortcode We use this form html for our form from demo mailchimp   Replace the form in the shortcode example from […]

How to edit the cluster map image to your own

Find the original cluster image in theme pack Open with an image editor – Fireworks, and edit/save with the same name. Replace the cloud.png in css/css-images folder with your own. Give it a  little while to update the maps. There is a caching system and can take a little longer.  

How to make property slider auto scroll in WP RESIDENCE

Depending on listing slider type you have setup you must make the change on listingslider.php  or  listingslide-vertical.php Look for data-interval=”false”> instead of false add miliseconds. 1sec =1000 So add 1000 for 1 second 2000 for 2 seconds

How to add TEXT instead of Price

Use the before price label to add a text you wish to show instead of price and do not fill in the price field value. The label can be added using this field.

Export – Import properties from a different WordPress theme

Any real estate theme we have seen uses different fields and/or different field names. So to export/import you need 2 tools: a. Export database from your current theme to xml or cvs —> We know about this plugin https://wordpress.org/plugins/wp-all-export/ – which can export custom post types and custom fields. b. Import database from XML/CVS to WP […]

Keep “More Options” open by default

Custom css to keep “more options” always open when selecting search type 1 #adv-search-1 .extended_search_check_wrapper{ display: block!important; } Help for custom css: http://help.wpresidence.net/article/how-to-add-custom-css/ Results are shown in this picture

Hide elements from the filters in PROPERTIES LIST template with CSS

Use this css and add in theme options -> design -> custom colors -> custom css or in child theme. Help to add in custom css – http://help.wpresidence.net/article/how-to-add-custom-css/ Remove Types .dropdown.listing_filter_select.filter_action_category { display: none; } Remove Categories .dropdown.listing_filter_select.filter_category { display: none; } Remove States .dropdown.listing_filter_select.filter_county { display: none; } Remove Cities .dropdown.listing_filter_select.filter_city { display: none; […]

How to change mobile header height and logo size

To increase header height use this css code into theme options -> design -> custom css code .(or add in your style.css ) .mobile_header { height: 70px; } Change “70” value in the code with your own value. To increase mobile logo height use this css .mobile-logo img{ max-height: 70px; } Change “70” value in […]

Don’t allow users to register on the site

Un-check this option from wordpress settings 2. Remove user menu from header Remove any page with register/login shortcodes from Admin – Pages. Do not use the WP Estate Login / Register widget on any sidebar. Users can still see Save Favorites Enable what pages to show for user type Regardless of whether you have the […]

Make property field label standard font weight and value in bold

To make the below design switch with css Remove current bold .listing_detail strong{ font-weight:300; } Add bold to the field value .listing_detail { padding: 3px 0px; font-weight: 800; } Help for custom css: http://help.wpresidence.net/article/how-to-add-custom-css/ You can make the font-weight value different. These are just examples. These are possible options http://www.htmldog.com/references/css/properties/font-weight/

Error Argument #2 should be an array

If you get these errors when editing a property Warning: array_map(): Argument #2 should be an array in wp-includes/post.php on line 1949 Warning: Cannot modify header information – headers already sent by (output started at /public_wp-includes/post.php:1949) in wp-admin/post.php on line 197 Check Features and Amenities and make sure you do not have 1 set as […]

Database query- How the theme works

When doing searches or any other database related requests we are always using the wordpress api. – more exaxctly the wp api instruction called wp_query https://codex.wordpress.org/Class_Reference/WP_Que… We are NOT using our custom SELECT’s or any other manual query to the sql database. This is the best practice when writing WordPress themes and themeforest will not even […]

Image is not showing on Safari browser.

Safari browser is sensitive to the images that contain special characters like ” or ç. This is related to a safari limitation. Only ASCII characters are allowed in URLs in Safari – IOS, and that does not include accented characters.  Because of this limitation, if an image has accented characters in url, it will not load it. Solution: […]

Facebook Share doesn’t share image or text. What to do.

On some servers Facebook cannot access the info from a property from first share attempt. This is related to Facebook not being able to get the data from your server. How to verify this applies for your situation. Go to https://developers.facebook.com/tools/debug/sharing If you use Open Graph Object Debugger you will see an error message like this: Error parsing […]

Which are the theme default fields for a property

In the theme some property details fields are default Location fields: From listing details: size, lot size, rooms, bedrooms, bahtrooms You can manage submission fields from theme options as explained in this help: http://help.wpresidence.net/article/1-20-2-set-mandatory-fields-in-submit-from-theme-options/  

Too many database queries – What does it mean and how to solve

Make sure you have the pins uploaded in theme options – pin management if you have new actions / categories names for your properties. Theme default pins are offered in the theme pack in .png format. You can edit these images with programs such as Fireworks. IMPORTANT: When you edit/add default categories and actions, you’ll need […]

How to add a new font (that it is not in Google Fonts)

UPDATE: a client confirmed this plugin works to change font  https://wordpress.org/plugins/easy-google-fonts/ —- In order to add a font that does not come with the theme, you need to install the font first. 1 copy the font files in the theme root (where is style.css) 2. In style.css stylesheet add the new CSS declarations like in the section […]

Remove Favorites option

In order to remove Favorite, you need to follow the below steps: Remove Favorite page so the Favorites no longer appear in User Dashboard: Remove Heart icon from property Unit: Use the below CSS in Theme Options-DEsign-Custom Colors-Custom CSS or Child Theme: .icon-fav-off { display: none; } .icon-fav-on { display: none; } 3.Remove the add […]

Google PageSpeed Insights Reports

Before moving forward, please read this article as well Why you Shouldn’t Care About Google PageSpeed Insights https://wp-rocket.me/blog/the-truth-about-google-pagespeed-insights/ There are certain recommendations from Google Page Insight Speed reports that are not possible to be handled from code (and this applies for any website that offers you services like Google Maps, IDX support and so on). […]