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 11 years, 4 months ago by Anita.
-
AuthorPosts
-
December 21, 2012 at 3:52 pm #6766mariafernandezMember
I'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 #6769AnitaKeymasterYes, 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.
Love coffee, chocolate and my Bella!
December 21, 2012 at 4:04 pm #6771mariafernandezMemberAnitac,
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 #6773AnitaKeymasterCopy 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' => '',
) );
}
Love coffee, chocolate and my Bella!
December 21, 2012 at 4:19 pm #6778mariafernandezMemberI 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 #6779AnitaKeymaster`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.
Love coffee, chocolate and my Bella!
December 21, 2012 at 4:27 pm #6782AnitaKeymasterGo to my website, scroll to the bottom and send me an email. I'll help you virtually via Join.me. This is nuts.
Love coffee, chocolate and my Bella!
December 21, 2012 at 4:29 pm #6785AnitaKeymasterSee my training site - it works there - http://goo.gl/cb1Ru. So I should be able to fix it for you.
Love coffee, chocolate and my Bella!
December 21, 2012 at 4:32 pm #6789mariafernandezMemberanitac, we're almost there. See what I've got now:
I'm looking at your site in a minute
December 21, 2012 at 4:34 pm #6791mariafernandezMemberanitac, 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 #6792AnitaKeymasterSomething 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.
Love coffee, chocolate and my Bella!
December 21, 2012 at 4:45 pm #6798AnitaKeymasterI just saved it in my Google Docs - here it is - https://docs.google.com/document/pub?id=1EJ_DVOvx-wWUDQDpNmYDAEObOgQ1M2aSJRbhpRlyxg8
Love coffee, chocolate and my Bella!
December 21, 2012 at 4:57 pm #6800mariafernandezMemberWow! 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 #6803mariafernandezMemberanitac, 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 #6804AnitaKeymasterI see you got it to work! {{{ clapping }}}
Yes, I like that one a lot.
Love coffee, chocolate and my Bella!
December 21, 2012 at 5:16 pm #6807mariafernandezMemberanitac, 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 #6809AnitaKeymasterOkay, glad it finally worked out for you.
Love coffee, chocolate and my Bella!
-
AuthorPosts
- The topic ‘Slideshow below header – Balance theme’ is closed to new replies.