Title: Featured post in multiple categories problem
Last modified: August 30, 2016

---

# Featured post in multiple categories problem

 *  Resolved [esojpredator](https://wordpress.org/support/users/esojpredator/)
 * (@esojpredator)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/featured-post-in-multiple-categories-problem/)
 * Hi!
 * First of all congratulations for this amazing plugin, fits perfectly for my needs.
   I have my site almost done with some template modifications in the pluguin, but
   I have a problem and I can’t find a solution.
 * When I set Listings Sort as Featured, the featured marked posts appears not only
   in the post selected category, also in all the others categories by default.
 * There is a way to solve this? It will be ideal if the featured post only appear
   in their categories (marked when created).
 * I have been looking for some info and i found this:
 * [https://wordpress.org/support/topic/exclude-categories-from-the-loop](https://wordpress.org/support/topic/exclude-categories-from-the-loop)
 * I’ve tried to put this code whith modifications in the category.php template 
   but doesn’t work. (my php knowledge are not so good)
 * `query_posts('category_name=MY_CATEGORY_NAME');`
 * It would be great if there are a solution for this.
 * Regards and thanks.
 * [https://wordpress.org/plugins/ldd-directory-lite/](https://wordpress.org/plugins/ldd-directory-lite/)

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

 *  [LDD Consulting, Inc.](https://wordpress.org/support/users/lddweb/)
 * (@lddweb)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/featured-post-in-multiple-categories-problem/#post-6770094)
 * This issue should now be resolved in the latest update to the plugin.
 *  Plugin Author [LDD Web Design](https://wordpress.org/support/users/lddwebdesign/)
 * (@lddwebdesign)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/featured-post-in-multiple-categories-problem/#post-6770103)
 * Thanks for using our plugin. Let us know if we can be of any further assistance.

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

The topic ‘Featured post in multiple categories problem’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ldd-directory-lite_d2d2d2.svg)
 * [LDD Directory Lite](https://wordpress.org/plugins/ldd-directory-lite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ldd-directory-lite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ldd-directory-lite/)
 * [Active Topics](https://wordpress.org/support/plugin/ldd-directory-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ldd-directory-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ldd-directory-lite/reviews/)

## Tags

 * [featured](https://wordpress.org/support/topic-tag/featured/)
 * [post](https://wordpress.org/support/topic-tag/post/)

 * 2 replies
 * 3 participants
 * Last reply from: [LDD Web Design](https://wordpress.org/support/users/lddwebdesign/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/featured-post-in-multiple-categories-problem/#post-6770103)
 * Status: resolved