high8sky
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Popular Posts] I want to get pricing information.Resolved. Thank you.
I wonder if I can ask for personal work.
Forum: Plugins
In reply to: [WP Popular Posts] I want to get pricing information.you are the best. Last but not least, please let us know.
2000 /80 -> 2000 / 80
https://www.xn--3v0bs6vzvense83w.com/wp-content/uploads/2016/11/1231231.jpg
Forum: Plugins
In reply to: [WP Popular Posts] I want to get pricing information.In addition, there should be a thousand unit separation.
Forum: Plugins
In reply to: [WP Popular Posts] I want to get pricing information.Thank you. Works perfectly. However, there are three types of price output. Before Price / price / after price There is an output variable. Is it possible to print this part as well?
“1000 / 10” This should be output.
(before) / (price)https://www.xn--3v0bs6vzvense83w.com/wp-content/uploads/2016/11/1111.jpg
<td width="33%" valign="top" align="left"> <p class="meta-options"> <label for="property_label">'.esc_html__('After Price Label(*for example "per month"): ','wpresidence-core').'</label><br /> <input type="text" id="property_label" size="40" name="property_label" value="' . esc_html(get_post_meta($mypost, 'property_label', true)) . '"> </p> </td> </tr> <tr> <td width="33%" valign="top" align="left"> <p class="meta-options"> <label for="property_label_before">'.esc_html__('Before Price Label(*for example "per month"): ','wpresidence-core').'</label><br /> <input type="text" id="property_label_before" size="40" name="property_label_before" value="' . esc_html(get_post_meta($mypost, 'property_label_before', true)) . '"> </p> </td> </tr>Forum: Plugins
In reply to: [WP Popular Posts] I want to get pricing information.Widget is in use. Only thumbnails and titles are output normally.
https://www.xn--3v0bs6vzvense83w.com/wp-content/uploads/2016/11/12.png
https://www.xn--3v0bs6vzvense83w.com/wp-content/uploads/2016/11/13.pngForum: Plugins
In reply to: [WP Popular Posts] I want to get pricing information./////////////////////////////////////////////////////////////////////////////////////////////////////////// /// Property details function /////////////////////////////////////////////////////////////////////////////////////////////////////////// if( !function_exists('details_estate_box') ): function details_estate_box($post) { global $post; wp_nonce_field(plugin_basename(__FILE__), 'estate_property_noncename'); $mypost = $post->ID; print' <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="33%" valign="top" align="left"> <p class="meta-options"> <label for="property_price">'.esc_html__('Price: ','wpresidence-core').'</label><br /> <input type="text" id="property_price" size="40" name="property_price" value="' . esc_html(get_post_meta($mypost, 'property_price', true)) . '"> </p> </td>Forum: Plugins
In reply to: [WP Popular Posts] I want to get pricing information.http://help.wpresidence.net/article/technical-how-to-default-property-fields/
It is a document provided by theme developers.
Is this enough information?
Forum: Plugins
In reply to: [WP Popular Posts] I want to get pricing information.I do not know how to change the php language very well. Could you help me?
The function to print the price in my theme is
$price = floatval ( get_post_meta(get_the_ID(), ‘property_price’, true) );
$price_label = esc_html ( get_post_meta(get_the_ID(), ‘property_label’, true) );
$price = wpestate_show_price(get_the_ID(),$wpestate_currency,$where_currency,1);
$thumb_id = get_post_thumbnail_id();
$link = esc_url ( get_permalink());
$title = get_the_title();$display.=’</span>
<span class=widget_latest_price>’. $price.'</span>
</div>’ ;
$display.='</div>’;Could you tell me how to handle this?