244 comments found.
Hello, I added a sw search widget in a page. This page is in english, french and russian. The website default language is french. When I start a search on all pages, the results are the french properties and displayed on the french result page. The others widgets display correctly the properties in the right language (for example english properties in the sw carousel on the english page). Why ? I tried to edit the html of the page and at the beginning it’s correctly written : <form action=”http://xxxx.com/propriete/?lang=en” method=”get” name=”property-search” id=”property-search”> How to correct this bug ? Regards, Fabien
Please phpface, it’s an important bug, I really need your help…
Hi,
I’m not sure I fully understand your mean but it’s not theme bug, the default action link is “http://xxxx.com/propriete/”, no ?lang=en param, you can check my live demo site.
I think the problem is belong to translation plugin you are using, you should ask plugin’s author, maybe he/she can help you out.
Thanks.
It’s not WPML. For example on english page the property listing show the english properties. And on the french page the property listing shows the french properties. It’s correct. But if I use the search plugin on the english page, it only shows the result for french properties (default language) instead of english properties. Same problem for search bar in hebrew, it only filters on french properties. Please, I can’t my theme, I really love sweethome ! But I don’t know what to do, I need help Regards, Fabien
I’m OK the default link is “http://xxxx.com/propriete/” but why only properties in default language are filtered ? Fabien
Hi,
Actually the language is not in the theme, whats plugin you are using? have you contacted plugin author?
Thanks.
Hi, I use WPML, the most famous. What can I change in the code because I really need a multilingual website. Fabien
Hi,
I know WPML but unfortunetly I haven’t used it yet, I’m afraid you would need to ask them for helps.
Thanks.
Look, The request in the url field when I use the search bar is http://localhost:8888/immo2/?var_ptype=0&var_location=0&var_status=0&sq_ft=any&bathrooms=any&bedrooms=any&garages=any&minprice=any&maxprice=any&post_type=property&propertys=c2e478f6ac
And if I add ?lang=en or another language just after post_type=property, the results filtered are the good results.
Like that : http://localhost:8888/immo2/?var_ptype=0&var_location=0&var_status=0&sq_ft=any&bathrooms=any&bedrooms=any&garages=any&minprice=any&maxprice=any&post_type=property&lang=fr&propertys=c2e478f6ac
It’s not a WPML problem. But I don’t know how to change your code to get a good search bar.
I hope everything is clear
Fabien
Regards,
HashKey
Hi,
The form can be found in sweethome/includes/SWH_Widget_PropertySearch.php
I’m not sure how WPML works but if you share me the site here or via this form, I will take a look.
Thanks.
Hello, With the ssh property search bar, I can choose correctly the type, the status and everything. When I click on “search” I think a request is built to redirect to http://xxxx/sq-ft=any&bathrooms.... I think when this link is built the only missing parameter is the current language parameter. Because if i write http://xxxx/sq-ft=any&bathrooms....&lang=fr I have the results in the language that I’m waiting for and not in the default language. But I don’t know how to force this language parameter.. If you use your theme with WPML and with at least 2 languages you will get the same problem. English as default language and french for example. On a page in french, you search properties with the swh search bar. The result will be properties in english (default language) and not in french. Not good because you’re looking for properties in French. I try to be the most clear to explain because it’s very important for me to have a multilingual website. Regards, Fabien
Fabien,
I think your site is working fine, right?, I see you use Lang hidden field, this is what’s I intend to suggest you.
Hello, I don’t understand but I can tell you what I did : I added a function in function.php. This function add a parameter &lang=xx depending on the language page. And it works. So it’s fine. Thank you. Fabien
Hi, I have a pre-purchase questions: 1.there is an option to display in the search result page the featured properties first? 2.there is an option to display in the search result page a one featured property in large display? thanks
Hi, unfortunately, that’s not available.
Thanks.
Hello, I discovered a bug : When you put a SiteOrigin Post Carousel (set on properties), it works in French, English, Russian BUT it doesn’t works in hebrew. I think it’s because it’s a RTL Language. Can you tell me how I can fix it or can you give me the fixed code ? Regards, Fabien
Hi,
Please open sweethome/assets/js/script.js
Find
controlNav: false,Change to
controlNav: false, rtl:true,
let me know if it works.
It doesn’t work. Should I do something else ? I changed the code to : $(’#details-slider’).flexslider({ animation: “slide”, controlNav: false, rtl:true, animationLoop: false, slideshow: false, sync: ”#details-carousel”, directionNav: false });
also here : // Property-Details page slider $(’#details-carousel’).flexslider({ animation: “slide”, controlNav: false, rtl:true, animationLoop: false, slideshow: false, itemWidth: 142, itemMargin: 0, prevText: ””, nextText: ””, asNavFor: ’#details-slider’ });
A detail or not : I use WPML String translation to translate widget titles. For this widget the translation is not effective… maybe there is a link ? Regards. Fabien
Fabien,
1. Could you try again? refresh and clear the cache/browser history.
2. Unfortunately I haven’t used WPML so I’m not sure the theme fully compatible with it, that does not mean the theme won’t work with WPML.
Thanks.
Hi phpface, I try to fix it but I fail. In RTL languages, the SiteOrigin Carousel doesn’t work. Could you give me a clue or something to search a solution ? Regards, Fabien
Can I leave the homepage a slider of the property and another section farther down the Google Maps with the locations of real estate?
Hi, unfortunately, the google maps is not available.
Thanks.
Is there a shortcode to include the property search bar in a visual editor ? Hashkey
Hi,
Regarding the search bar, it’s widget and can be found in sweethome/includes/SWH_Widget_PropertySearch.php
Also, search bar shortcode is not available but you can put this code in sweethome/functions.php
the shortcode will be [searchform]
I haven’t checked it yet so I don’t know how it looks in post content.
I hope that helps.
Thank you very much phpface, I will try. Fabien
Hello, This shortcode just add the search button but not the different fields. How can I add the different fields in this shortcode ?
I apologies I forgot that the shortcode based on the Search Bar widget and all options, so you can’t use it, sorry.
I’m afraid you would need to find a freelancer for that.
Hello, Is it possible to customize the look of property search bar ? And in which file(s) Because I would like to put one one line 3 fields and on another line 3 other fields. Thank you, Hashkey
Hello .. I want to specialize in search of the state .. France, for example, the country is divided by Paris and then their real estate .. And Russia, for example, the state is divided by Moscow and by branching neighborhoods Moscow .. This is important Is it here? .. Country location – location – property – and other state .. Thank you and please help ..
I was looking at your theme “Sweet Home”, but I have another software I need to sincronize with it
To know if that is possible I need the database schema,can i see it in any place? Thank u
P.S: Really nice theme btw 
Hi,
So hard to let you know the schema, the theme use custom post type and metabox fields to build a few things, that’s all I can provide.
Thanks.
How can I add the agent and the contact form widget into the property pages? Im trying to edit the sigle-property.php but i just cant do it.
Hi,
1. You would need to create the Agent, and choose it in Property edit/add new page (admin).
2. Actually, this is Contact Form 7 widget, placed on “Right Property Sidebar” (image).
I hope that helps.
Thank you very much, it was really helpful
Hello, Is it possible to put default values in the SWH Search Property bar ?
For example I don’t want let the user choose a property type. I don’t want to select all property types, I want to force apartment selection for example. Regards, Hashkey
Hashkey,
Unfortunately we can’t set default value for the dropdown, but possible this can be done with the update, please share me your email address via this form, I will send the file.
Note: remember to attach your questions.
Thanks.
Hello I thank you, I sent you my email. Did you receive it ? Regards. HashKey
Hi, Just sent the updated file.
I hope it works.
Is there a way to change from sq fts to sq meters?
Hi,
This is just a label, simply you can open this files, search “Sq Ft” or “Sq ft” and change it:
sweethome/single-property.php sweethome/includes/SWH_MetaBox.php
I hope that helps.
Thank you very much
the listing propiety is compatible with woocommerce booking for rent?
Hi, unfortunately I’m not sure what is “woocommerce booking for rent”,
Hi, Really happy with the theme. I do have one thing I was wondering if I can change something about the look of the site on tablet (vertical) because the images are all stretched and not centred.
Thanks.
Hi,
I think I replied you a few days ago but not sure why nothing here, sorry for late replying.
could you try this?
1. open wp-content/themes/sweethome/style.css
2. Find this code (about line 543).listing-single-item {
margin:15px 0;
float:left;
transition:all 300ms ease-in-out;
-o-transition:all 300ms ease-in-out;
-moz-transition:all 300ms ease-in-out;
-webkit-transition:all 300ms ease-in-out;
}
3. Change to this:
.listing-single-item {
margin:15px 0;
/* float:left; */
transition:all 300ms ease-in-out;
-o-transition:all 300ms ease-in-out;
-moz-transition:all 300ms ease-in-out;
-webkit-transition:all 300ms ease-in-out;
}
4. Put this code in Theme Options/General/Custom CSS field:
.listing-single-item img {
height: auto;
}
I hope it works.
hi, I should replace the symbol of $ with Euro and, if possible, place it before the amounts. How can I do? thanks
Hi, please check Theme Options/Pricing section, it may help you out.
Thanks.
i would like the theme to look like the demo can you please help me with that.
Hi, please check the documentation, included in zipped file you downloaded, it has all things you need to setup the site like the demo.
Thanks.
Hello,
The template design has errors: – in CSS – in PHP The template UI\Layout is lacking of few features.
Please contact me. Avi
Hi, great theme! Really like it
But I wanted to ask whether the newsletter form works? Now it just reloads the page when pressing the Submit button.
Regards, Kile
Kile,
Actually, this form works in background, means it will add the email address in subscriber role list for late purpose, you can see all them in Users.
If you installed jetpack, I think this is useful http://jetpack.me/support/subscriptions/
Thanks.
Good day! Tell me I can add a second, third property http://take.ms/L6qqN
Hi, unfortunately that’s not available.
Thanks.
Thanks for answer. One more question please: on the main page, I put a slider – http://take.ms/Ofywa, but he does not appear in the documentation about the slider is nothing.
how you add all agents on page – http://take.ms/qcyev ? i set widget and thise my page – http://mrielt.pro/rieltory/
for such a complex pattern needs a quick start
Hi,
Please use the account you bought the theme on to write comments here, otherwise I can’t verify your purchase.
Thanks.
i send purchase from “Email phpface” form. Template by my klient
Hi,
The slider widget you mentioned above, it’s not in the theme so I really don’t know how it looks.
You can access in agent archive page by this link
your-site.com/?post_type=agent or your-site.com/agent if friendly permalink is configured.
I hope that helps.