Forum Replies Created
These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.
-
AuthorPosts
-
paddygreenhood
SpectatorHi, been a while…
paddygreenhood
SpectatorHi Again,
Just bumping to let you know I have emailed you the files…paddygreenhood
SpectatorHi,
Have done so just now, thanks.paddygreenhood
SpectatorAlso, just want to add to my question. We created a custom meta filed using with the help of this article: http://easypropertylistings.com.au/docs/add-custom-meta-fields-edit-listing-pages/
We added it to our child theme function.php, here is the code:
<?php
function my_add_meta_box_epl_listings_callback($meta_fields) {
$custom_field = array(
‘id’ => ‘epl-property-listing-custom-data-id’,
‘label’ => __(‘Estimated Weekly Rental Appraisal’, ‘epl’),
‘post_type’ => array(‘property’, ‘rural’, ‘rental’, ‘land’, ‘commercial’, ‘commercial_land’, ‘business’),
‘context’ => ‘normal’,
‘priority’ => ‘default’,
‘groups’ => array(
array(
‘id’ => ‘property_est_rent’,
‘columns’ => ‘1’,
‘label’ => ‘estimated weekly rental’,
‘fields’ => array(
array(
‘name’ => ‘property_est_rent’,
‘label’ => __(‘estimated weekly rental’, ‘epl’),
‘type’ => ‘numeric’,
‘maxlength’ => ’10’
)
)
)
)
);
$meta_fields[] = $custom_field;
return $meta_fields;
}
add_filter( ‘epl_listing_meta_boxes’ , ‘my_add_meta_box_epl_listings_callback’ );
?>We now see the custom meta in the Property listing in the Listing page editor (screenshot): http://i.imgur.com/e1ZSnrN.jpg. We need help on placing the meta field in the frontend, next to the price field (screenshot): http://i.imgur.com/XXjoH8j.jpg
paddygreenhood
SpectatorThis reply has been marked as private.paddygreenhood
SpectatorHi and thanks for the files, I have placed them in my child theme and they fix the formatting issue with single listings.
However, on the main property page, I still cannot seem to enable a sidebar. The minti theme has a sidebar generator that upon creation makes it show up in the widgets section, but I can’t enable it on the actual page using the wp front end. none of the available page templates work. I want to achieve a listing search in a right sidebar.
Can you please help!
cheers
PatrickMay 15, 2015 at 7:40 am in reply to: CSS for single page so that listing doesnt go to hard edge of browser #10548paddygreenhood
Spectatorthanks for the updated files, I should have read the sticky posts more thoroughly.
paddygreenhood
Spectatorthanks 🙂
paddygreenhood
Spectatorgiven you dropbox link to main and child theme on separate thread.
thanks
PMay 14, 2015 at 3:37 pm in reply to: CSS for single page so that listing doesnt go to hard edge of browser #10515paddygreenhood
Spectatoralso, here is the child theme, thanks
https://www.dropbox.com/s/bx7hq37risgn0u0/inovado_child.zip?dl=0May 14, 2015 at 3:11 pm in reply to: CSS for single page so that listing doesnt go to hard edge of browser #10509paddygreenhood
SpectatorThis reply has been marked as private. -
AuthorPosts
These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.