futurecar
Forum Replies Created
-
Put this in your custom CSS
.wpp_row_view .property_image img {
border: none;
}The example on the wp property website should be corrected. You must put quotes around the values like so:
[property_overview sorter=”on” sort_by=”price” sort_order=”DESC”]
Their example does not have quotes which is why sorting does not work if you copy and paste from the site. You can sort by any of the fields available (price, mls, bedrooms, etc)
I would go into the wpproperty settings>developer then add a new row for “rooms”. Then if you want to get custom with it, try this php code in your template. Put it in the specific area where you want the values to appear.
<?php if($property[‘rooms’]): ?><?php echo $property[‘rooms’]; ?><?php endif; ?>
You may need to check the developer tab under wp settings to ensure that the price field is appearing. If not add a row called price, then go back to your property and see if the field shows up. If so then put the price in and update.
Or, if you were editing the template file itself:
You need to put this code wherever you want the price to appear on the property-overview.php file.
<?php if($property['price']): ?><?php echo $property['price']; ?> <?php endif; ?>The code you’re using is simply the shortcode to display the wpproperty content. If you want to add an excerpt, you’ll need to edit code on the actual page (located in the templates folder).
In particular the following code is what I used on the property-overview.php page.
<?php if($property['post_content']): ?><?php echo substr(strip_tags(preg_replace('/\[.*?\]/', '', $property['post_content'])), 0, 365); ?><a <?php echo $in_new_window; ?> href="<?php echo $property['permalink']; ?>"> [...]</a><?php endif; ?>Solved my own problem. Thanks anyway.
Make sure to add your IP to the whitelist to prevent locking yourself out inadvertently.
Hopefully that should work. I sent you an example of what im working on through your contact form. Cool music tracks.
It’s all good!
Yep, I figured that might be the look you’d go for because mine is way customized compared to the original lol.Trust me, I had that same feeling when someone answered a php question that had stumped me for days (im not a programmer but can understand it enough to edit it) and I swear it was awesome so im helping someone in return haha.
Sorry, forgot to add the background value. You still see the white because the other stylesheet attached to your listings page still has background value set to white. When you update your page with this code, it should overwrite what is in the original css.
Ok add this (right above padding: 1%;):
background:none !important;
to this class
.wpp_row_view div.property_divSure, no prob!
Ok so this is the change.
I centered the box a little, added a border at the bottom, made the text white and added a bottom margin so you may want to add another listing to see how that looks.Doing this requires changes in several areas. Also you will notice that the two icons (the phone and map) are quite visible. It’s possible you would have to make back-end changes to remove them. Also, after adding the custom code, make sure everything looks ok on different pages. You don’t know if the same css identifier is being used elsewhere.
Try this:
.wpp_row_view div.property_div { padding: 1%; position: relative; width: 98%; margin: 0px 0px 20px 18%; border-bottom: 1px solid #ccc; } .wpp_row_view .property_title a { color: rgb(5, 173, 171); text-decoration: none; } .wpp_row_view ul.wpp_overview_data .property_phone_number { background: url("images/phone_address.gif") no-repeat scroll left top transparent; color: rgb(255, 255, 255); font-size: 18px; padding-left: 34px; } .property_address a { color: rgb(255, 255, 255); display: block; padding-top: 6px; text-decoration: none; } .wpp_row_view ul.wpp_overview_data .property_price { color: rgb(255, 255, 255); display: block; font-size: 18px; height: 25px; margin-top: 10px; padding-left: 35px; text-decoration: none; }I have an answer for your previous question but hold on cause there will be some explanation.
Actually, I am not a realtor but very familiar with their marketing needs and web design in general. This site that I am doing in particular is for a friend of mine who is a very experienced realtor :). So I understand where you’re trying to go marketing wise. I myself just started using this plugin and understanding the back-end of it to get it where I want it to be. It wasn’t easy but Im almost done. Just a random person who happened to see your post when marking mines as solved.
hold up lemme have another look
No problem! Good luck with completing your site!