Title: Gallery Only Showing Code
Last modified: August 22, 2016

---

# Gallery Only Showing Code

 *  Resolved [Efficient Momma](https://wordpress.org/support/users/efficient-momma/)
 * (@efficient-momma)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/gallery-only-showing-code/)
 * I had my gallery’s all set up for about a year now. I went to check something
   today and noticed that every single gallery now says “Could not find a CataBlog
   Gallery with id ”1268″ “. I’m not sure what happened or how to fix this. It was
   working before. Maybe a glitch when I updated to the new version of WordPress?
 * [https://wordpress.org/plugins/catablog/](https://wordpress.org/plugins/catablog/)

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

 *  [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/gallery-only-showing-code/#post-5274083)
 * Hi Efficient Momma, can you check in your CataBlog admin area to see if you still
   have a gallery with the ID 1268? If you do can you share here what shortcode 
   are you adding to your post or page to display the gallery.
 * Thank you
 *  Thread Starter [Efficient Momma](https://wordpress.org/support/users/efficient-momma/)
 * (@efficient-momma)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/gallery-only-showing-code/#post-5274089)
 * I still have all my gallerys. I’m getting that error for every single one and
   they’ve shown correctly in the past. The short code I’m using is
 * [catablog_gallery id=”1268″ [catablog template=”gallery”]
 * Obviously changing the id number to match the gallery I want to show.
 *  [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/gallery-only-showing-code/#post-5274090)
 * Hi Efficient Momma from what I see, the shortcode is porbably causing the error.
   Try the following..
 * `[catablog_gallery id="1268"]`
 * Or
 * `[catablog id="1268" template="gallery"]`
 * Let me know how you go.
 * Regards
 *  Thread Starter [Efficient Momma](https://wordpress.org/support/users/efficient-momma/)
 * (@efficient-momma)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/gallery-only-showing-code/#post-5274091)
 * The images are showing now, but when I used the second code you suggested, it’s
   now showing ALL the images in my entire library instead of the ones I selected
   for that specific gallery. When I look in the gallery for 1268 it only shoes 
   the one I had before.
 *  Thread Starter [Efficient Momma](https://wordpress.org/support/users/efficient-momma/)
 * (@efficient-momma)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/gallery-only-showing-code/#post-5274092)
 * [http://www.efficientmomma.com/motherhood/](http://www.efficientmomma.com/motherhood/)
   you can see here. This one should only have 10 in the gallery and it’s got all
   of them.
 *  [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/gallery-only-showing-code/#post-5274094)
 * Hi if the id=”1268″ represents a gallery with only 10 images, then use the first
   shortcode I suggested above.
 * Regards
 *  Thread Starter [Efficient Momma](https://wordpress.org/support/users/efficient-momma/)
 * (@efficient-momma)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/gallery-only-showing-code/#post-5274097)
 * That one shows the images in one long column. Is there a way to have it set up
   in rows like I had it before/the way they show with the second code?
 *  [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/gallery-only-showing-code/#post-5274098)
 * Hi, please view the following [URL](http://mbrsolution.com/blogging/catablog-shortcode-tutorial-part-3.php).
   It will provide with many options.
 * Regards
 *  [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/gallery-only-showing-code/#post-5274151)
 * Hi Efficient Momma how are you going with your issue?
 *  Thread Starter [Efficient Momma](https://wordpress.org/support/users/efficient-momma/)
 * (@efficient-momma)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/gallery-only-showing-code/#post-5274164)
 * I was able to get it figured out last night 🙂 Thanks for all your help!
 *  [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/gallery-only-showing-code/#post-5274165)
 * I am glad to hear 🙂 If you don’t mind can you mark this support thread as resolved.
 * And remember if you need more help let me know. 😉
 * Thank you
 *  Thread Starter [Efficient Momma](https://wordpress.org/support/users/efficient-momma/)
 * (@efficient-momma)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/gallery-only-showing-code/#post-5274188)
 * Resolved

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

The topic ‘Gallery Only Showing Code’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/catablog_f7f6f7.svg)
 * [CataBlog](https://wordpress.org/plugins/catablog/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/catablog/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/catablog/)
 * [Active Topics](https://wordpress.org/support/plugin/catablog/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/catablog/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/catablog/reviews/)

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [gallary](https://wordpress.org/support/topic-tag/gallary/)
 * [images](https://wordpress.org/support/topic-tag/images/)

 * 12 replies
 * 2 participants
 * Last reply from: [Efficient Momma](https://wordpress.org/support/users/efficient-momma/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/gallery-only-showing-code/#post-5274188)
 * Status: resolved