FAQ

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

White Screen. The site is experiencing technical difficulties

White Screen If you try to publish or edit a post, a page, a property and you get the “white screen” on saving, please check you have activated the theme license (which is done only one time on theme installation) IMPORTANT: You must do this only once after you update or install WP RESIDENCE. This […]

Add property (set_time_limit() warning)

Warning: set_time_limit(): Cannot set max execution time limit due to system policy in /customers/5/5/9/site.com/httpd.www/wp-content/themes/wpestate/user-dashboard-add.php on line 7   Cause: hosting restriction on shared servers. Help: Hosting must provide the solution based on this url instructions http://php.net/manual/en/function.set-time-limit.php Alternative solution: If hosting cannot raise that limit, one option is to change hosting. In the theme – you […]

Fatal memory Error

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2348617 bytes) in /home/username/public_html/site1/wp-includes/plugin.php on line xyz Fatal error: Out of memory (allocated 18612224 ) (tried to allocate 491520 bytes) in/home/username/public_html/site/wp-includes/canonical.php on line 257   Solution: Increase memory Help: https://wordpress.org/support/article/editing-wp-config-php/#increasing-memory-allocated-to-php Notes: Some plugins eat a lot of memory. Example WPML needs at least […]

Emails are not sent. I don’t receive emails.

If you don’t receive emails in your INBOX or SPAM folder,  it means your server is not sending emails or the email is not receiving them.  To advise which is it, we recommend testing these settings. Check Email Content, and make sure you have a Subject and content for the emails you are testing Test […]

Properties List Doesn’t Work FAQ

Make sure you have all titles and slugs saved correctly. Titles must match slugs. To confirm you wrote them correctly, create/edit categories following this image example: Example of correct slugs: Apartments (title) – apartments (slugs) Residential Homes (title) – residential-homes (slug)

Menu is not saving

If you have a many menu items in your menu is possible to notice that your menu is not saved when adding new elements (or is loosing it’s location). This happens because a php settings called max_input_vars. The solution is to ask your hosting to increase this limit to max_input_vars value (something around 2500 should […]

PHP CODE EXPLANATION

All theme files call a sidebar orientation function in the begining. The function is called ‘page_details’ , is defined in functions.php and return an array with custom values for that particular page. It can have information about sidebar orientation, content width or other useful classes. There also several custom post defined. These custom posts are […]

SOURCES AND CREDITS

Bootstrap FrameWork Colorpicker PrettyPhoto Google Maps API 3 Images are free for personal and commercial use from http://morguefile.com/ Listing icons are free from commercial and personal use, from http://thenounproject.com/ Some of the photos used on the homepages demos are free: to Share — to copy, distribute and transmit the work to Remix — to adapt […]

JAVASCRIPT

This theme imports several Javascript files. jQuery My custom scripts Some plugins jQuery is a Javascript library that greatly reduces the amount of code that you must write. The javascript code (except the google maps code) is found in 2 main files : control.js ,ajaxcalls.js and property.js . The ajaxcalls.js containt actions related to ajax […]

CSS FILES AND STRUCTURE

We are using several CSS files in this theme. The first one is the style.css with has a generic css reset.Almoust all styling is in this file. The file is separated into sections using /* =Single ——————————————————————-*/ some code /* =property ——————————————————————-*/ some code etc, etc. If you would like to edit a specific section […]

HTML Structure

This theme is a responsive layout with one column for sidebar. All of the information within the main content area is nested within a div with an id of “post”. The sidebar’s content is within a div with an id of “primary”. The general template structure is the same throughout the template. The header is […]