• Resolved marc0047

    (@marc0047)


    I’m able to get the built in Gallery function to work with the Default theme. However, I’m building my own theme, and the Gallery function is not showing any images in that theme. I’m having difficulty finding documentation on getting this to work properly. Anyone have any leads?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Are you using the_excerpt() when you should be using the_content()?

    Thread Starter marc0047

    (@marc0047)

    I am using the_content(); in index.php.

    I should also add: none of the gallery markup is showing up. Only the paragraphs, images, etc. are showing up in each of the posts of my theme.

    Thread Starter marc0047

    (@marc0047)

    Also, any leads in documentation on how to properly add the built-in Gallery function to your own theme would be great! I can’t seem to find the right keywords to fins the right documentation.

    You don’t need to add anything to a theme to use the native Gallery.

    Thread Starter marc0047

    (@marc0047)

    I found the problem: I’m using some of the Sandbox functions in my functions.php, and there is a function called sandbox_gallery($attr) which appears to be removing the markup for the built-in gallery.

    I removed it, and it is working now!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Gallery won’t show up in my custom theme’ is closed to new replies.