Forum Replies Created
These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.
-
AuthorPosts
-
Paul ClarkeSpectator
Hi Merv,
To create:
‘Offers over £475,000’, this would be <priceQualifier>Number</priceQualifier> <price>number</price> and I have added the ‘£’ in front of the <price>number</price> in WP ImportsPlease can you show me how to do this: ‘add the price prefix and format it during import you’ll have to add a function during import to the field.’
Re: Are you importing the price into the property_price field? as that formats currency. Or does your source include the price sign? Imports price as numeric value only.
I have got this far: http://www.davidclarke.co.uk/epl-property-search/
Kind regards
Paul
Attachments:
You must be logged in to view attached files.Paul ClarkeSpectatorThanks Merv for the download files,
Could you please also advise me of the best way to insert a price qualifier?
E.G.
Offers over £200,000
The feed I use gives a numeric value for each price qualifier.
Also do you have a note of the code needed to insert the comma please?
Thank You!
Paul ClarkeSpectatorHi Merv,
With the hueman theme I have updated the archive file no problem as you show screen shots but I am not sure which item or items need replacing in the single file.
Please could you confirm?
<?php get_header(); ?>
<section class=”content”>
<?php get_template_part(‘inc/page-title’); ?>
<div class=”pad group”>
<?php while ( have_posts() ): the_post(); ?>
<article <?php post_class(); ?>>
<div class=”post-inner group”><h1 class=”post-title”><?php the_title(); ?></h1>
<p class=”post-byline”><?php _e(‘by’,’hueman’); ?> <?php the_author_posts_link(); ?> · <?php the_time(get_option(‘date_format’)); ?></p><?php if( get_post_format() ) { get_template_part(‘inc/post-formats’); } ?>
<div class=”clear”></div>
<div class=”entry <?php if ( ot_get_option(‘sharrre’) != ‘off’ ) { echo ‘share’; }; ?>”>
<div class=”entry-inner”>
<?php the_content(); ?>
<?php wp_link_pages(array(‘before’=>'<div class=”post-pages”>’.__(‘Pages:’,’hueman’),’after’=>'</div>’)); ?>
</div>
<?php if ( ot_get_option(‘sharrre’) != ‘off’ ) { get_template_part(‘inc/sharrre’); } ?>
<div class=”clear”></div>
</div><!–/.entry–></div><!–/.post-inner–>
</article><!–/.post–>
<?php endwhile; ?><div class=”clear”></div>
<?php the_tags(‘<p class=”post-tags”><span>’.__(‘Tags:’,’hueman’).'</span> ‘,”,'</p>’); ?>
<?php if ( ( ot_get_option( ‘author-bio’ ) != ‘off’ ) && get_the_author_meta( ‘description’ ) ): ?>
<div class=”author-bio”>
<div class=”bio-avatar”><?php echo get_avatar(get_the_author_meta(‘user_email’),’128′); ?></div>
<p class=”bio-name”><?php the_author_meta(‘display_name’); ?></p>
<p class=”bio-desc”><?php the_author_meta(‘description’); ?></p>
<div class=”clear”></div>
</div>
<?php endif; ?><?php if ( ot_get_option( ‘post-nav’ ) == ‘content’) { get_template_part(‘inc/post-nav’); } ?>
<?php if ( ot_get_option( ‘related-posts’ ) != ‘1’ ) { get_template_part(‘inc/related-posts’); } ?>
<?php comments_template(‘/comments.php’,true); ?>
</div><!–/.pad–>
</section><!–/.content–>
<?php get_sidebar(); ?>
<?php get_footer(); ?>
Paul ClarkeSpectatorThanks Merv,
I am making much better progress now:
Please see http://www.davidclarke.co.uk/property
Could you please advise me of the best way to inset a price qualifier?
E.G.
Offers over £200,000
The feed I use gives a numeric value for each price qualifier.
Also do you have a note of the code needed to insert the comma please?
Thank You!
Paul ClarkeSpectatorHi Merv,
I have just installed epl-filters.zip and changed to add the property types I need as below:
function epl_fl_property_category($array) {
$array = array(
‘1’ => ‘Houses’,
‘2’ => ‘Flats / Apartments’,
‘3’ => ‘Bungalows’,
‘4’ => ‘Other’
);The next thing I notice is that the search widget only has House as a house category:
http://www.davidclarke.co.uk/third-side-bar-test/Please can you tell me how to add the other property types / categorys
Attachments:
You must be logged in to view attached files.Paul ClarkeSpectatorHi Merv,
I have made some more progress please see: http://www.davidclarke.co.uk/property/
For some reason all the prices are POA and the property types are going to not match up.
Please could you help me with the attached?
Thank You!
Attachments:
You must be logged in to view attached files.Paul ClarkeSpectatorHi Merv,
I think I have worked some of this out from other posts. I have now activated the licence for the listing templates and found them under display.
The next issue I have hit is WP All Import Pro is not auto detecting meta fields. I can put them in manually I guess, but would be easier to work from a list.
Also how do I overcome an issue with POA properties please. My feed only gives a value of 0 or 1.
E.g:
Tag: <forSalePOA>X</forSalePOA> Data Type / Length: tinyint (1) Description: Price on application flag. If set to 1 the price should not be displayed to the public. Values: 0=Display Price 1=Hide price
Thank You!
-
AuthorPosts
These forums are closed to new replies / tickets. Please open a support ticket from our new Support page.