Title: Conflict with WordPress [gallery] shortcode
Last modified: August 31, 2016

---

# Conflict with WordPress [gallery] shortcode

 *  [pmbs](https://wordpress.org/support/users/pmbs/)
 * (@pmbs)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/conflict-with-wordpress-gallery-shortcode/)
 * Great plugin! … but one problem though 🙂
 * When using the `[loop][/loop]` shortcode in the same post where I want to have
   a WordPress-gallery (`[gallery]`-shortcode), the gallery-shortcode is only displayed
   as text.
 * In other words it outputs just:
    `[gallery link="file" size="medium" ids="1414,1415,1413"]`
 * … instead of a gallery with pictures. The [loop] is working as intended.
 * _(F.Y.I: When removing the [loop] from the post, the gallery works as normal)_
 * [https://wordpress.org/plugins/custom-content-shortcode/](https://wordpress.org/plugins/custom-content-shortcode/)

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

 *  [Elizabeth Powell](https://wordpress.org/support/users/epowell/)
 * (@epowell)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/conflict-with-wordpress-gallery-shortcode/#post-7299682)
 * I have the same problem, except it’s not just the `[gallery]` shortcode, it’s
   any shortcode. In addition, it only occurs when the `[loop]` shortcode includes
   the post content or excerpt – if it’s just the title and featured image, everything
   works as normal. But if I include [field excerpt] it displays the excerpt, but
   all other shortcodes no longer work.
 * I haven’t done thorough testing but I think it may only happen if the looped 
   post’s content contains shortcodes.
 *  [kayshah](https://wordpress.org/support/users/kayshah/)
 * (@kayshah)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/conflict-with-wordpress-gallery-shortcode/#post-7299690)
 * Hello,
 * This is a very powerful and very easy to use plugin for displaying custom fields
   values.
 * I have a query and I am not sure how to proceed, I have created a custom post
   type called Conferences
    I am using Advanced custom field to capture conference
   start date and end date date picker
 * I want to show upcoming events on my page in a below format
 * Apr 10-12 Post Title…
    May 2-3 Post Title..
 * My question here is how do I Fetch the Apr from the conference start date field
   and show only first three characters of the month in the page?
 * for this I used your short code as below
    [loop type=conferences field=date_and_time_field][
   field conference_start_date]-[field conference_end_date] [field title-link] [/
   loop]
 * Any Help will be Appreciated
 * Thank you

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

The topic ‘Conflict with WordPress [gallery] shortcode’ 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/)

 * 2 replies
 * 3 participants
 * Last reply from: [kayshah](https://wordpress.org/support/users/kayshah/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/conflict-with-wordpress-gallery-shortcode/#post-7299690)
 * Status: not resolved