luuthang
Forum Replies Created
Viewing 6 replies - 1 through 6 (of 6 total)
-
Forum: Plugins
In reply to: [WP Pipes] Get products from site bosch-home.comOK, mình trao đổi qua diễn đàn kia nhé! Thanks!
Forum: Plugins
In reply to: [WP Pipes] Get products from site bosch-home.com1 cái topic đến giờ là 2 ngày 20h mà không có nổi 1 reply, thực sự khá là thất vọng (https://thimpress.com/forums/topic/get-products-from-site-bosch-home-com/)
Forum: Plugins
In reply to: [WP Pipes] Get products from site bosch-home.comMình muốn đặt hàng bạn setup và lấy một vài nhóm sản phẩm trên trang đó về có được không? Lấy thông tin toàn bộ các trường cần thiết của sản phẩm (mã, ảnh, mô tả, thông số kỹ thuật..)
Forum: Plugins
In reply to: [Ajaxify Filters] Change order and price formatNo, it does not work
I was select currency as below
<br />photo sharing<br />- This reply was modified 8 years, 12 months ago by luuthang.
Forum: Plugins
In reply to: [Ajaxify Filters] Change order and price formatYes, the default price format for price filter is
$2 – $100but I want to change to
200,000 đ – 1,200,000 đ
Hi, you can try as follow
–wpf.class.php
Add this funtionfunction latest_threads_in_forum($forum = 1, $num = 5, $ul = true){ global $wpdb; $toShow = 0; $posts = $wpdb->get_results("SELECT * FROM $this->t_threads WHERE parent_id=$forum ORDER BY <code>date</code> DESC LIMIT 50"); if($ul) echo "<ul class='forumtwo'>"; foreach($posts as $post){ if($toShow < $num) { //$user = get_userdata($post->author_id); if($this->have_access($this->forum_get_group_from_post($post->parent_id))) echo "<li class='forum'><a href='".$this->get_paged_threadlink($post->parent_id, '#postid-'.$post->id)."'>".$this->output_filter($post->subject)."</li>"; $toShow += 1; } } if($ul)echo "</ul>"; }–wpf-main.php
Add this functionfunction latest_threads_in_forum($forum = 1){ global $mingleforum; return $mingleforum->latest_threads_in_forum($forum); }–In template file (sidebar.php)
<?php latest_threads_in_forum(2, 5, true); ?>
Viewing 6 replies - 1 through 6 (of 6 total)