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 7 years, 11 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)