Skip to content

Instantly share code, notes, and snippets.

@BeardedGinger
Created October 14, 2013 20:56
Show Gist options
  • Save BeardedGinger/6982063 to your computer and use it in GitHub Desktop.
Save BeardedGinger/6982063 to your computer and use it in GitHub Desktop.
Add the Exodus Attachment Slider to the template file of your choice
<?php
/*
* The page you would like to display the slider. This can be a page template or a single-{post-type}.php template
* Must be a page that you can attach images to.
*
*/
//* Enqueue the scripts for this page only
add_action( 'wp_enqueue_scripts', 'exodus_attachment_slider_scripts' );
//* Hook the slider where you would like it to display within the loop
add_action( 'genesis_entry_header', 'exodus_attachment_slider');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment