Title: Unexpected behavior with Loop
Last modified: August 30, 2016

---

# Unexpected behavior with Loop

 *  [tesseraltyme](https://wordpress.org/support/users/tesseraltyme/)
 * (@tesseraltyme)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/unexpected-behavior-with-loop/)
 *     ```
       [loop type=fiat-alert count=1]
                       <div class="fiatalert">[content]</div>
                       [/loop]
       ```
   
 * This code works perfectly on standard pages and posts and custom post type and
   custom taxonomy archive pages. The custom post type (fiat-alert)is used to select
   items in the loop. However for Category and tag archive pages, the content displayed
   by this loop is from post type **post**.(really strange)
 * [https://wordpress.org/plugins/custom-content-shortcode/](https://wordpress.org/plugins/custom-content-shortcode/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Eliot Akira](https://wordpress.org/support/users/miyarakira/)
 * (@miyarakira)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/unexpected-behavior-with-loop/#post-6822564)
 * Indeed, that is strange and unexpected. I’ll see if I can reproduce the issue
   to find what could be happening.

Viewing 1 replies (of 1 total)

The topic ‘Unexpected behavior with Loop’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/custom-content-shortcode_766976.svg)
 * [Custom Content Shortcode](https://wordpress.org/plugins/custom-content-shortcode/)
 * [Support Threads](https://wordpress.org/support/plugin/custom-content-shortcode/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-content-shortcode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-content-shortcode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-content-shortcode/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Eliot Akira](https://wordpress.org/support/users/miyarakira/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/unexpected-behavior-with-loop/#post-6822564)
 * Status: not resolved