![]() |
|
||||||
|
|
Thread Tools | Display Modes |
|
|
|
#1
|
|||
|
|||
|
I have created multiple slideshows with the Meteor Slides plugin. I would like to have Meteor Slide #1 on the "About Us" page and Meteor Slide #2 on "Home" (for example). Could someone help me with the code I would need to add to functions.php?
I came across this thread from WordPress.org, but I'm not sure how to make the code work with Genesis Framework. ...Thanks! |
|
#2
|
||||
|
||||
|
you should be able to add the short code to your page editor.
__________________
Nick "Fred and/or George Weasley" Croft Designs by Nick the Geek @Nick_theGeek on Twitter Make web design easier, get FireBug for FireFox Want to learn more about Genesis? Check out my Genesis Explained Series |
|
#3
|
|||
|
|||
|
Sorry Nick, I should have specified. I am using the Education theme and have the Meteor Slide in the Slide widget area.
|
|
#4
|
||||
|
||||
|
The slide widget area is only in the homepage. You would need to remove the add_action/function for it from the home.php file and move that to the functions.php file. Then you could use the Widget Logic plugin to insert multiple widgets for different pages.
__________________
Nick "Fred and/or George Weasley" Croft Designs by Nick the Geek @Nick_theGeek on Twitter Make web design easier, get FireBug for FireFox Want to learn more about Genesis? Check out my Genesis Explained Series |
|
#5
|
|||
|
|||
|
Thank you for the help Nick!
Site: http://designedbymarsha.com/wordpress2/ I moved the following from home.php to functions.php Code:
/** Slide Sidebar */
function education_home_genesis_meta() {
global $paged;
if( $paged < 1 ) {
if ( is_active_sidebar( 'slider' ) || is_active_sidebar( 'intro' ) || is_active_sidebar( 'featured' ) || is_active_sidebar( 'call-to-action' ) ) {
add_action( 'genesis_before_content', 'education_home_loop_helper', 1 );
}
}
}
|
|
#6
|
||||
|
||||
|
you have to get just the part for the slider. you will need to make your own action for it or you can add that to the Genesis Simple Hooks plugin. The code you copied just called the education_home_loop_helper function. That function has the code for the slider in it.
__________________
Nick "Fred and/or George Weasley" Croft Designs by Nick the Geek @Nick_theGeek on Twitter Make web design easier, get FireBug for FireFox Want to learn more about Genesis? Check out my Genesis Explained Series |
| Thread Tools | |
| Display Modes | |
|
|
© Copyright 2012 Copyblogger Media LLC · StudioPress™ is a trademark of Copyblogger Media LLC
Privacy Policy | Refund Policy | Terms of Service | Affiliate Program | Contact Us