Forum Replies Created
-
AuthorPosts
-
drezac
MemberI added :
function all_around_slider_home() {
if (is_home()) {
echo do_shortcode(‘[all_around id="1"]‘);
}
};
/**
* @author Brad Dalton – WP Sites
* @learn more http://wp.me/p1lTu0-9p4
*/
add_action(‘genesis_after_header’, ‘all_around_slider_home’);Still gets broken....
drezac
MemberThanks-
It's the All Around WP Slider Carousel. It's fantastic, but hard to squeeze into this theme.
http://www.shindiristudio.com/allaroundslider/?page_id=67
I think you're spot on- the only problem I have, is that the theme I'm using has removed a lot of the Genesis hooks and added their own custom header stuff. You can see that code here: https://gist.github.com/drezac/f6915cb24202d04dc3a5
This is what I was thinking:
function all_around_slider_home() {
if (is_home()) {
echo do_shortcode('[all_around id="1"]');
}
};
/**
* @author Brad Dalton - WP Sites
* @learn more http://wp.me/p1lTu0-9p4
*/
add_action('I_dont_know_what_hook_to_put_here', 'all_around_slider_home');I feel like this is close....
-Dan
drezac
MemberThis is not a widget. This is on the main front page. I've looked around and seen some people actually place code in the functions.php to insert their sliders. I tried inserting it on the home.php, but I get an error.
The instructions that came with the slider- were not Genesis friendly.
Dan
-
AuthorPosts