[Plugin: File Gallery] file_gallery_shortcode in custom theme templates
-
Hi friends,
I’m working on a custom theme and will have two types of galleries that I want to display in my “single.php” template. The first is a normal image gallery that will be displayed as a row of thumbnails and use javascript to cycle through the pictures. Below that I want a second row of links for non-image files associated with the same post—these are pdf files and other documents like dwg files, and I’ll just want each one to be shown as an icon with a title as the link to download the file.Reading through the File Gallery Help, I learned that I can use the “file_gallery_shortcode” function to call these galleries in my template. So I’m starting by just trying to get the first gallery to show up, but after inserting the code I am not seeing the gallery show up on the post at all. I’m new to WordPress and am no expert with PHP, so I would appreciate if someone could take a look at my code and explain what I’m doing wrong here. Pretty please?
[Code moderated as per the Forum Rules. Please use the pastebin]
- The topic ‘[Plugin: File Gallery] file_gallery_shortcode in custom theme templates’ is closed to new replies.