Tag Info

Hot answers tagged

1

I would recommend using this plugin instead: https://wordpress.org/plugins/cpt-bootstrap-carousel/ It works well with the built-in Twitter Boostrap 3 in Roots.oi theme (Responsive) and it comes along with a CPT named carousel. Looking in your code: The get_post_gallery_images() function only returns the url and it doesn't contain any Gallery Image Title ...


1

Try this: add_theme_support( 'html5', array( 'gallery', 'caption' ) ); And don't forget to declare the HTML5 DOCTYPE at the very beginning of header.php with: <!DOCTYPE html>


1

By Using add_theme_support( $feature, $arguments ); Support for the gallery and caption Example add_theme_support( 'html5', array('gallery', 'caption' ) ); Source: http://codex.wordpress.org/Function_Reference/add_theme_support



Only top voted, non community-wiki answers of a minimum length are eligible