Title: exclude category from shortcode
Last modified: August 30, 2016

---

# exclude category from shortcode

 *  [donnytree](https://wordpress.org/support/users/donnytree/)
 * (@donnytree)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/exclude-category-from-shortcode/)
 * Hello,
 * Thank you for the awesome theme.
 * I have a category for displaying posts on the home page, but while I want to 
   filter on it, I don’t want it visible in the list generated by this code:
 * `<?php echo apply_atomic_shortcode( 'byline', '<div class="byline">' . __( 'in[
   entry-terms taxonomy="category" before=""] [entry-edit-link before=" &middot;"]','
   origin' ) . '</div>' ); ?>`
 * I still want the other categories to show, just not my “Home” category. I created
   a child theme and I wonder if there is any way to alter it in the child theme
   without editing the core theme (not sure how to do it this way either)?
 * Thank you in advance,
    Donna

The topic ‘exclude category from shortcode’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/origin/0.6.0/screenshot.png)
 * Origin
 * [Support Threads](https://wordpress.org/support/theme/origin/)
 * [Active Topics](https://wordpress.org/support/theme/origin/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/origin/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/origin/reviews/)

## Tags

 * [category](https://wordpress.org/support/topic-tag/category/)
 * [exclude](https://wordpress.org/support/topic-tag/exclude/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 0 replies
 * 1 participant
 * Last reply from: [donnytree](https://wordpress.org/support/users/donnytree/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/exclude-category-from-shortcode/)
 * Status: not resolved