Community Forums › Forums › Archived Forums › Design Tips and Tricks › Slideshow below header – Balance theme
- This topic has 36 replies, 4 voices, and was last updated 12 years, 4 months ago by
AnitaC.
-
AuthorPosts
-
December 21, 2012 at 3:52 pm #6766
mariafernandez
MemberI've now got the following line in my functions.php file:
'description' => __( 'This is the welcome text widget.', 'balance' ),
The slider is still on all pages. Can I check with you that what I need to add to my functions.php file is:
____________________________
/** Add the welcome text section */
add_action( ‘genesis_before_content_sidebar_wrap’, ‘custom_welcome_text’ );
function custom_welcome_text() {
if ( is_home() )
genesis_widget_area( ‘welcome-text’, array(
‘before’ => ”,
) );
}_____________________________
I mean, exactly that code.
December 21, 2012 at 3:57 pm #6769AnitaC
KeymasterYes, replace the second part of Brian's ORIGINAL code - with that piece of code and it should work. Not sure why your Navigation is disappearing, etc., on your home page. If this doesn't work. We can use Join.me and I can help you virtually.
Need help with customization or troubleshooting? Reach out to me.
December 21, 2012 at 4:04 pm #6771mariafernandez
MemberAnitac,
My slider has disappeared altogether. Now it doesn't come up anywhere 🙁
This is all the code I've got on functions.php with relation to the slider:
/** Register widget areas */
genesis_register_sidebar( array(
'id' => 'welcome-text',
'name' => __( 'Welcome Text', 'genesis' ),
'description' => __( 'This is the welcome text widget.', 'balance' ),
) );/** Add the welcome text section */
add_action( ‘genesis_before_content_sidebar_wrap’, ‘custom_welcome_text’ );
function custom_welcome_text() {
if ( is_home() )
genesis_widget_area( ‘welcome-text’, array(
‘before’ => ”,
) );
}Something's obviouly missing ...
December 21, 2012 at 4:10 pm #6773AnitaC
KeymasterCopy my code below and replace yours and try it again.
/** Add the welcome text section */
add_action( 'genesis_before_content_sidebar_wrap', 'custom_welcome_text' );
function custom_welcome_text() {
if ( is_home() )
genesis_widget_area( 'welcome-text', array(
'before' => '',
) );
}
Need help with customization or troubleshooting? Reach out to me.
December 21, 2012 at 4:19 pm #6778mariafernandez
MemberI so much wanted this to work. Alas, the slider's not coming back. This is the code I've got:
/** Register widget areas */
genesis_register_sidebar( array(
'id' => 'welcome-text',
'name' => __( 'Welcome Text', 'genesis' ),
'description' => __( 'This is the welcome text widget.', 'balance' ),
) );/** Add the welcome text section */
add_action( ‘genesis_before_content_sidebar_wrap’, ‘custom_welcome_text’ );
function custom_welcome_text() {
if ( is_home() )
genesis_widget_area( ‘welcome-text’, array(
‘before’ => ”,
) );
}I've had to upload the original functions.php file so many times and repeat the changes, perhaps there's something wrong in the syntax.
December 21, 2012 at 4:24 pm #6779AnitaC
Keymaster`I see why it's not working - this stupid forum is stripping out part of the code. Where the last line says 'before' there is more code after that.`
Okay do it this way -
Grab Brian's original code - that second part - then add this line after the functions line -
if ( is_home() )
then save it. The code will not copy in here. So just add that line of code to Brian's original code.
Need help with customization or troubleshooting? Reach out to me.
December 21, 2012 at 4:27 pm #6782AnitaC
KeymasterGo to my website, scroll to the bottom and send me an email. I'll help you virtually via Join.me. This is nuts.
Need help with customization or troubleshooting? Reach out to me.
December 21, 2012 at 4:29 pm #6785AnitaC
KeymasterSee my training site - it works there - http://goo.gl/cb1Ru. So I should be able to fix it for you.
Need help with customization or troubleshooting? Reach out to me.
December 21, 2012 at 4:32 pm #6789mariafernandez
Memberanitac, we're almost there. See what I've got now:
Spanish Lessons For Beginners – The Best Way to Learn Spanish.
I'm looking at your site in a minute
December 21, 2012 at 4:34 pm #6791mariafernandez
Memberanitac, perhaps you could send me a screenshot with the code. I don't mind copying it out.
You see, another problem we're having is that the apostrophes and quotes are wrong when I copy and paste them, so I keep having to change them.
December 21, 2012 at 4:35 pm #6792AnitaC
KeymasterSomething is screwy. Go to http://join.me. Click BASIC and hit the Orange button. It will add a little code on your computer and place a badge with 9 numbers at the top. Go to my website and get my email address - send me the 9 numbers and then I can see your screen.
Need help with customization or troubleshooting? Reach out to me.
December 21, 2012 at 4:45 pm #6798AnitaC
KeymasterI just saved it in my Google Docs - here it is - https://docs.google.com/document/pub?id=1EJ_DVOvx-wWUDQDpNmYDAEObOgQ1M2aSJRbhpRlyxg8
Need help with customization or troubleshooting? Reach out to me.
December 21, 2012 at 4:57 pm #6800mariafernandez
MemberWow! It's now working!
There was a line missing. Thanks so much.
Do you know if there are some instructions on how to get pictures to show, rather than my blog posts. I'd like to have my products on the slideshow, rather than my posts. I've looked at the plugin settings, but it seems to be for posts and pages. I can't see where to set the pictures.
December 21, 2012 at 5:04 pm #6803mariafernandez
Memberanitac, you've got the Genesis Bootstrap Carousel plugin. That's a lot nicer than mine. I'm going to change to that slider.
December 21, 2012 at 5:05 pm #6804AnitaC
KeymasterI see you got it to work! {{{ clapping }}}
Yes, I like that one a lot.
Need help with customization or troubleshooting? Reach out to me.
December 21, 2012 at 5:16 pm #6807mariafernandez
Memberanitac, thanks so much for all your help. I'm done for the day. Tomorrow I'll look at the Genesis Bootstrap Carousel plugin.
December 21, 2012 at 5:20 pm #6809 -
AuthorPosts
- The topic ‘Slideshow below header – Balance theme’ is closed to new replies.