Have you added any images to the page in which you are using the gallery?
The shortcode won’t work without there actually being attachments on said post.
Related Posts:
- do_shortcode() doesn’t do shortcodes ;)
- Allow Shortcode in Theme Customizer
- Can I create customizer setting that can handle plugin shortcode?
- enqueue script for specific shortcode
- Why does my short code get executed before other content?
- Run shortcode before filters
- How do I get gallery thumbnail URL and change the default thumbnail size?
- What is wrong with this code I have to make a blockquote shortcode
- How do I attach images to a post without inserting them?
- using jQuery Cycle by Malsup with WordPress Page and Gallery
- Custom shortcodes not working using __s theme
- Place the page title into the short code
- Responsive embed for the video shortcode
- attachment.php code or tutorial
- Bootstrap card columns change images size
- How to display all subpages and short by year
- How to add custom meta box under Gallery Settings in the “Edit Gallery” popup
- Gallery thumbnails very small
- do_shortcode() in twentyeleven theme
- How to Manually Code Shortcode?
- How to show a manageable list of images on a post?
- WordPress HTML5 Gallery Support – Convert HTML4 -> HTML5
- Adding a gallery to my first theme
- Extract all shortcode data from post into loop variables?
- Shortcode IF statment help
- Extending custom shortcode to also be called directly from theme PHP pages
- Shortcode call not working in WP Template
- In a Gallery with limited image posts, how do I not limit images on single post?
- Shortcodes do not work in own template
- Pagination fuction in shortcode always displays on top
- How to use shortcode inside of shortcode in theme
- WordPress Shortcodes – Optional Styles
- Hide/disable sidebar using shortcode?
- Gallery functionality in custom theme
- wordpress script_loader_tag in function.php
- Theme does not allow shortcodes
- wordpress custom category post shortcode
- Avoiding do_shortcode() loops
- how to edit woocommerce checkout page
- TinyMCE strips content while pasting. Possibly a bug
- Passing a location-dependent array via wp_localize_script within a shortcode
- Problem using $var for shortcode attr value
- Multiple Content Shortcodes
- Is it possible to customize the layout of Gallery Shortcode?
- Onepage with shortcodes
- How can I add a single image from a gallery into the page header?
- why my WordPress theme doesn’t support shortcode? [closed]
- How can I add a URL field to the attachments window?
- WP 3.4 – what action/hook is called when theme customisation is saved?
- How to have different captions for same image, for galleries?
- Check if post/page has gallery?
- Is the theme customizer slowing down my site?
- Enqueue scripts inside a class
- Convert a static website to a WordPress theme and import all existing content
- posts_nav_link(); not showing up on static pages
- Custom Nav Walker Displaying Values in Sub Menu
- Loading files for theme and child theme (Require)
- Move theme templates to subfolder without losing page associations
- Can’t delete theme
- functions.php not hooking up with style.css
- way to include own functions independent of theme
- Is it a bad practice to use switch_to_blog in the frontend?
- Arguments ignored/markup changed in wp_nav_menu if no menu is selected
- Theme name passed into some of the functions?
- Make logo dynamic in wordpress
- where to split off footer.php
- WordPress Filtering Custom Post Type by Metadata and Search Heirachy
- Nested comments in WordPress theme
- filemtime(): stat failed warning within a child theme
- What are the hooks in WordPress theme development?
- How can I override a require() used in functions.php of parent theme to my child theme
- WordPress dummy data for theme design
- How to transfer one domain to another domain without losing theme options (customizer)?
- Do I need to include a textdomain if my theme doesn’t support translation?
- How to allow users to create their own website within my domain? [closed]
- Problem escaping text which contains html markups
- Avada Child Theme Development
- WordPress creating images if uploaded image is greater than 960px on one side?
- Create theme for mobile phones and tablets only?
- Using the media library for theme customization
- Seeting Active Nav for Bootstrap in WordPress
- Best way to implement bootstrap after loading
- Building a custom menu or use a plugin?
- How Do I Create a WordPress Demo Site with Limited Admin Access
- Woocommerce REST API for my account & checkout process
- How to transfer all posts, pages and media
- What are entry.php and its appendix files and is it safe to delete them in a most miniaml site?
- WordPress Customizer Help with FontAwesome Icon
- captiva Theme Error
- “No Data Received” error in Chrome every time i try to update the theme functions file
- Creating a Playlist of Widgets
- Loop through all posts, show attachment if there
- Can’t attach Javascript to theme
- Menu item not created on theme activation
- 404 on child page template
- Add wrapper for a specific sub-menu
- Meaning of “if ( is_home() && ! is_front_page() )” snippet?
- Theme’s featured image option is not showing up
- Not Able to Access Terms Under Custom Taxonomy Archive
- WordPress search field won’t get wider