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 – http://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  

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 […]

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

For version 3.6 the theme has a separate option to show or not advanced search in properties. Please make the settings from Theme Options as in the screenshot below: 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 […]

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 from plugins – Add New Connect the plugin to your mailchimp account – https://login.mailchimp.com/ 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 download the mailchimp […]

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 […]

Change “No Reply” and Sender Email

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 and save the sender and email options And the notifications will include your info. Example Replace the theme contact […]

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). […]

How to add video background

This feature comes in 2 of the included plugins: Revolution Slider and Ultimate Addons. Revolution slider help http://www.themepunch.com/revslider-doc/slider-revolution-documentation/ And Ultimate addons demo https://ultimate.brainstormforce.com/backgrounds/ and help https://www.youtube.com/user/TheBrainstormForce/videos

Why properties do not expire?

Theme offers 2 expiration features, both available only when MEMBERSHIP submission is enabled: paid membership packages with expiration date by package, or free listing submission with expiration in days for each published free listing. The following rules must be met for expiration cron to apply: 1. You test with a subscriber account (not admin). We […]

How to change agents order on 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’ => 10 ); Add 2 more options: orderby and order […]

Stripe Fatal error

Fatal error: Uncaught exception ‘Exception’ with message ‘Stripe needs the Multibyte String PHP extension.’ in /home/site/public_html/wp-content/themes/wpestate/libs/stripe/lib/Stripe.php:13 Stack trace: #0 /home/site/public_html/wp-content/themes/wpestate/libs/templates/user_profile.php(164): require_once() #1 /home/site/public_html/wp-includes/template.php(503): require(‘/home/site…’) #2 /home/site/public_html/wp-includes/template.php(477): load_template(‘/home/site…’, false) #3 /home/site/public_html/wp-includes/general-template.php(171): locate_template(Array, true, false) #4 /home/site/public_html/wp-content/themes/wpestate/user-dashboard-profile.php(251): get_template_part(‘libs/templates/…’) #5 /home/site/public_html/wp-includes/template-loader.php(74): include(‘/home/site…’) #6 /home/site/public_html/wp-blog-header.php(16): require_once(‘/home/site…’) #7 /home/site/public_html/i in /home/site/public_html/wp-content/themes/wpestate/libs/stripe/lib/Stripe.php on line 13 Solution The above error message appears […]

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 – http://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 […]