Title: Duy's Replies | WordPress.org

---

# Duy

  [  ](https://wordpress.org/support/users/coldzero1120/)

 *   [Profile](https://wordpress.org/support/users/coldzero1120/)
 *   [Topics Started](https://wordpress.org/support/users/coldzero1120/topics/)
 *   [Replies Created](https://wordpress.org/support/users/coldzero1120/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/coldzero1120/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/coldzero1120/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/coldzero1120/engagements/)
 *   [Favorites](https://wordpress.org/support/users/coldzero1120/favorites/)

 Search replies:

## Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [wp-ecommerce currency converter doesn't work](https://wordpress.org/support/topic/wp-ecommerce-currency-converter-doesnt-work/)
 *  Thread Starter [Duy](https://wordpress.org/support/users/coldzero1120/)
 * (@coldzero1120)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/wp-ecommerce-currency-converter-doesnt-work/#post-2091701)
 * Not yet. I have to disable Paypal from payment options. My clients using a local
   payment gateway and I didn’t have to worry about this.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Query Custom Post Type by Tag](https://wordpress.org/support/topic/query-custom-post-type-by-tag/)
 *  Thread Starter [Duy](https://wordpress.org/support/users/coldzero1120/)
 * (@coldzero1120)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/query-custom-post-type-by-tag/#post-1902567)
 * Hi vtxyzzy and thanks for replying . But actually your code is not necessary 
   at least for my case (and I think that we don’t really need to write custom function
   with JOIN and ORDER query string).
 * I found out today if I want to query Custom Post Type by its Custom Taxonomy 
   I can do directly in the query string.
 * In my case, I will change the query string to:
 * `$my_query = new WP_Query('post_type=product&product-category=featured&term=featured&
   showposts=1&orderby=rand');`
 * or just simple as query_posts() function:
 * `query_posts('post_type=product&product-category=featured&showposts=1&orderby
   =rand');`
 * The catch is we put the Custom Taxonomy (the term ‘product-category’ above) name
   directly in the query string.
 * Again, thanks for helping.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Limit Search Results to Custom Post Type?](https://wordpress.org/support/topic/limit-search-results-to-custom-post-type/)
 *  [Duy](https://wordpress.org/support/users/coldzero1120/)
 * (@coldzero1120)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/limit-search-results-to-custom-post-type/#post-1539303)
 * This is very helpful, thanks!

Viewing 3 replies - 1 through 3 (of 3 total)