dcnfsr
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Forum: Fixing WordPress
In reply to: 4.7 update broke my media!?any guess as to what fixed it?
i’m in exactly the same situation and have tried the fixes you mention above… =/
Forum: Plugins
In reply to: [WP LIST PAGES BY CUSTOM TAXONOMY] Display key value instead of post titleyou are quite right, it’s written in 5th post too!
thanks for pointing that out again =)works perfectly.
thanks again for this great plugin.
Forum: Plugins
In reply to: [WP LIST PAGES BY CUSTOM TAXONOMY] Display key value instead of post titlethis is a fantastic plugin, thank you!
following on from the above I want to try to append a ‘price’ meta in front of the date, so that it looked something like:
£10,000 12-06-2016
I’m trying the below in ‘pbytax_template.php’ line 140, with my additional code shown below.
before
<?php if ($display_date=="yes"){ ?> <div class="pbytax-meta"> <span class="pbytax-date pbytax-date-<?php echo $date_align; ?>"><?php echo get_the_date( 'd-m-Y', $pbytax_post->ID ); ?></span> </div> <?php } ?>
after
<?php if ($display_date=="yes"){ ?> <div class="pbytax-meta"> <span class="pbytax-date pbytax-date-<?php echo $date_align; ?>"><?php echo get_post_meta($post->ID, 'price', true); echo get_the_date( 'd-m-Y', $pbytax_post->ID ); ?></span> </div> <?php } ?>
but am not getting what I’m after.. any help would be appreciated greatly.
kind regards
Viewing 3 replies - 1 through 3 (of 3 total)