Issue:If you see the following error on a single property page: Uncaught Error: Call to undefined function wpestate_return_property_address() in wp-content/themes/wpresidence/templates/listing_templates/property-page-templates/address_under_title.php on line 37 It typically appears in the call stack when loading the property page layout. Cause: This error usually occurs when you disable all property taxonomies (such as category, action, city, area, or county/state) […]
FAQ
Create custom Login/Register buttons in elementor
To add a button that triggers the login/register modal you can follow these steps. Edit the page in Elementor – and add a new button or link Edit the button in Elementor Add “wprentals_elementor_login” or “wprentals_elementor_register” in the Button ID field Customize the button , save and test Alternatively, you can add the IDs “wpresidence_elementor_register” […]
How to change the login icon on mobile.
The user icon from mobile can be replaced with another Fontawesome icon with custom css. The css is the existing custom css for the icon. .fa-cogs:before { content: “\f085”!important; } Replace the icon code f085 with the new one from https://fontawesome.com/icons Since Redux framework cannot save the \ from the css, the new css […]
Core Plugin deactivates when another theme, different than WpResidence is activated
This function was automatically disabled in code starting theme version 3.7. Help to update the theme – https://help.wpresidence.net/article/how-to-update-the-theme/ There is a function that protects the core plugin and de-activates automatically so that there are no errors from using the plugin with other themes. The code can be removed via FTP in plugins/wpresidence-core/wpresidence-core.php Delete the entire […]
How to copy VP bakery shortcode to a new page
If you need to copy one section or all shortcodes from a current page to a new one, please follow the steps from the below video: Sometimes, demo pages might break and details like header cannot be changed as the change does not save. In this case, you need to create the page again. […]
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
Why images are not resized
In order to get images resized in site must make sure that GD Library is installed on the server. To check if this library exists in your server install WordPress phpinfo() plugin: In order to install it must contact the server provider and ask for help.
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. If Minify css option is enabled each time you make changes with CSS, you […]
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 […]
How to hide the option “open in google maps” from property page
To hide this option use the following css in theme options custom css area or in child theme style.css .acc_google_maps { display: none; } Help article about how to add custom CSS Tip: If you have theme cache enabled, make sure you clear cache to see instant results.
How to remove Advanced Search from single blog post / property
To remove the advanced search globally from the property pages navigate to Theme options > Search > Advanced Search Display and set NO to Show Advanced Search in Property Page option. To remove the advanced search from blog posts use the below custom CSS: .single-post #search_wrapper, .single-post #adv-search-header-mobile{ display: none!important; } Help article about how […]
How to remove Google Places from the map.
Use this css in Theme Options > Design > Custom CSS css or directly in child theme style.css .google_map_poi_marker { display: none!important; } Help article about how to add custom CSS The CSS removes the elements highlighted below: Related help Technical: Google Points of Interest on Single Property Map
How to add a MailChimp form
Step1: Install MailChimp for WordPress plugin from plugins – Add New Step2: Connect the plugin to your Mailchimp account – https://login.mailchimp.com/ Step3: Create your lists in MailChimp Account https://login.mailchimp.com/ Create a form and select the list Edit the form to match the demo. We use this form html for our form from demo Click to […]
How to remove recurring option with css from user dashboard
#pack_recuring { display: none!important; } [for=”pack_recurring”] { display: none; } [id=”pack_recurring”] { display: none; } Help article about how to add custom CSS
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 .extended_search_check_wrapper { display: block !important; } Help article about how to add custom CSS Results are shown in this picture
Hide elements from the filters in PROPERTIES LIST template with CSS
To elements from the filters you must add the below custom CSS in Theme Options > Design > Custom CSS. Remove Types .dropdown.listing_filter_select #a_filter_action { display: none; } Remove Categories .dropdown.listing_filter_select #a_filter_categ { display: none; } Remove States .dropdown.listing_filter_select #a_filter_county { display: none; } Remove Cities .dropdown.listing_filter_select #a_filter_cities { display: none; } Remove Areas .dropdown.listing_filter_select […]
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 […]
Change “No Reply” and Sender Email
Starting 4.7 theme version, you can change the sender email from Theme Options-Email Management-Emails Settings BEFORE 4.7 theme version WP Residence default notifications will include a default Name (No Reply) and a default sender email (noreply@yourdomain.com) To change these 2 elements, you can: Use a plugin called CB Change Mail Sender Install the plugin – https://wordpress.org/plugins/cb-change-mail-sender/ Edit […]
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, there are some property details that are default. 1. Location fields displayed on the Listing location section when creating a property from front end or from admin Front end: Admin: 2. Listing details: size, lot size, rooms, bedrooms, bathrooms Front end: Admin: You can manage the submission fields from Theme […]
Too many database queries – What does it mean and how to solve
Make sure you have the pins uploaded in Theme Options > Map > Pin Management. 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 to upload new Pins even if you don’t use […]
How to add a new font (that it is not in Google Fonts)
You can add a new font with wordpress plugins. A possible plugin is https://wordpress.org/plugins/easy-google-fonts/ Add a new font through code 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 […]
How to remove Favorites option
In order to remove Favorite, you need to follow the below steps: Step1: Delete Favorite page so the Favorites no longer appear in User Dashboard: Step2: Remove Heart icon from property Unit. Use the below custom CSS: .icon-fav-off, .icon-fav-on { display: none; } Step3: Remove the add to favorites from Property Page Use the below […]
Google Maps Zoom in Advanced Search Results page, Properties List page and Taxonomy page.
The following comment applies to any from the following list: advanced search results page map, properties list custom template map, property taxonomies pages map When Google Maps are set as header option, the map pins and properties in the list are in sync. For this feature, the map will change the zoom automatically to display all […]
Technical: How to change agents order
How to change agents order on the agent list page Agents are listed by publish date. Most recent are listed first. Change publish date to change order. To change order in code and make agents go alphabetically, go to agents_list.php Instead of $args = array( ‘cache_results’ => false, ‘post_type’ => ‘estate_agent’, ‘paged’ => $paged, ‘posts_per_page’ […]
500 Internal server Error
The error message: Intrusivo 70 http://site.com/wp-admin/admin-ajax.php Failed to load resource: the server responded with a status of 500 (Internal Server Error) This error says two things: a. server responds with status 500 Please contact hosting to confirm what that means. b. JS error in wordpress files (wp-admin/admin-ajax) That is wordpress file and if wodpress errors […]
“Are you sure you want to do this?” message on installation
If you get this error on theme installation “Are you sure you want to do this?” This message shows because your upload limit is less than theme size. Check all server requirements are met, and especially the max upload size – https://help.wpresidence.net/article/theme-wordpress-server-requirements/ You need to change this PHP value (server value) upload_max_filesize in PHP.ini to at […]
User cannot register
The error message: Call to undefined function checkdnsrr() in ajax_functions.php” file. Solution: Check and enable the missing PHP module: http://php.net/manual/en/function.checkdnsrr.php The best solution is to have that module enable because this function checks emails validity and does not allow suspicious email addresses to be registered. The 2nd solution is to delete the code that asks […]
Image upload HTTP error
In case of this error message:. Error-200, Message: HTTP Error Open wp-config.php in your sites main directory via FTP (or cPanel) Scroll to the line which reads/* That’s all, stop editing! Happy blogging. */ Add the codeset_time_limit(60);above the line/* That’s all, stop editing! Happy blogging. */text Set the set_time_limit(300); Some hosting companies may not allow […]
Image not uploaded Error
In case you get this error message when you upload an image: “Failed to write file to disk” Check this solution: This message is related to WordPress files that connect to uploads. Our recommendations are: – Check that upload folder permissions are 777 or 755 – help http://codex.wordpress.org/Changing_File_Permissions – Check with your hosting to see […]