Forum Replies Created
-
AuthorPosts
-
December 20, 2016 at 11:54 am in reply to: Add class to .site-inner only on certain pages based on custom body class. #197905
asbilly92
ParticipantUggg I'm still getting an error on that same line, I removed the space where you advised me too; but still get an error . . . frustrating 😉
//* For adding class to site inner on certain pages add_filter( 'genesis_attr_site-inner', 'custom_add_css_attr' ); function custom_add_css_attr( $attributes ) { if ( is_page( array('10','140') ) { $attributes['class'] .= ' blurr-effect'; } return $attributes; }
December 19, 2016 at 5:26 pm in reply to: Add class to .site-inner only on certain pages based on custom body class. #197847asbilly92
ParticipantOh geeze, I stared at that thing for a long time!
December 19, 2016 at 9:51 am in reply to: Add class to .site-inner only on certain pages based on custom body class. #197829asbilly92
ParticipantDoes it make a difference that I'm using a Child Theme ?
December 19, 2016 at 9:31 am in reply to: Add class to .site-inner only on certain pages based on custom body class. #197828asbilly92
ParticipantVictor,
This is what I added and DreamWeaver says there is a problem; on the line that contains the is_page. Do you know why?
add_filter( 'genesis_attr_site-inner', 'custom_add_css_attr' ); function custom_add_css_attr( $attributes ) { if ( is_page ( array('10','140' ) ) { $attributes['class'] .= 'blurr-effect'; } return $attributes; }
December 17, 2016 at 7:47 am in reply to: Add class to .site-inner only on certain pages based on custom body class. #197729asbilly92
ParticipantOh yes, of course. I will give it a shot!
Thank you very much! 🙂
December 17, 2016 at 7:32 am in reply to: Genesis Generate Pro Layout Changed after WordPress recent update #197727asbilly92
ParticipantRK257,
Read this thread: http://www.studiopress.community/topic/layout-broken-latest-wp-update-4-7/
December 16, 2016 at 3:31 pm in reply to: Add class to .site-inner only on certain pages based on custom body class. #197706asbilly92
ParticipantOk great so my possible corrected filter may look like this:
add_filter( 'genesis_attr_site-inner', 'custom_add_css_attr' ); function custom_add_css_attr( $attributes ) { if ( is_page ( array('1','2','3' ) ) { $attributes['class'] .= ' new-custom-class'; } return $attributes; }
I kind of realized that the page_template one was wrong lol..
asbilly92
Participantmlbdenver, yes your process works perfect but IF their version of Geneses is significantly out of date for what-ever reason that 'check for updates' box won't even be there .... so they might still have to do it manually, just FYI 😉
asbilly92
Participantniki16...... if you follow the steps above in post #197268 it tells you ; -)
Especially steps 3 and 4....
asbilly92
ParticipantIf you follow my steps you will easily be able to delete the out of date Genesis Framework, the reason the DELETE button is missing is because the Child version needs the framework to work so even tho the Genesis isn't 'active' if the Child version is the active one then the Delete button won't appear.
When you activate the non-genesis theme then the delete button on the genesis will be there as normal and easily able to be deleted. Just thought I would further explain that 😉
asbilly92
ParticipantDid mine also 😉 Thank you guys for all the help! All works great now so far on the theme I just updated!
My steps:
- Made sure everything was backed up first 😉
- Download latest version of Genesis to my computer
- Switched and activated a non-Genesis based theme like: 2017 Theme
- Deleted the out-of-date Genesis Framework
- Uploaded the Zip file of latest vesion of Genesis via wordpress dashboard, do not activate this, just upload
- Re-activated my Child Theme
*** If any of you are using Genesis Extender backup your settings or make notes of where you created widgets / code with Extender.
Works perfect, fixes the sidebar layout issues. I just thought some might benefit by having a step by step list to go by.
CHEERS
Amy
asbilly92
ParticipantLOL ok thank you, tee hee RACHEL
asbilly92
Participanttitus2home
Did you have the issue with the Layout / sidebars and layout options in the Genesis Theme settings going away after updating to WP 4.7 also??
asbilly92
ParticipantOk wow thank you titus2home maker so should I switch to a different theme first? Like away from my Child theme that's currently using Genesis at the moment??
This is VERY odd in another way I do updates on all my sites; all updates, how is it even possible that Genesis is even out of date on this particular site???
asbilly92
Participantbaggs: thank you very much; that would be great except the update to 4.7 has somehow affected the admin area of Genesis theme settings also and there now is no area for 'updates' inside of Theme Settings...I think it has to be done manually, I mean manually updating Genesis. Been so long since I updated a theme manually I'm kind of forgetting how to do it lol, uggg frustrating. I guess just upload the zip file of the newer version...
Ok baggs are you sure your path is correct? I just looked on 3 of my other Genesis sites (one's that do not have any issues / aren't updated to 4.7) and none of them have the "updates > check for updates" area where you are describing....??
Genesis > Theme Settings > Updates > check for updates....
The only little 'box' that can be ticked is one that says "Enable Auto Updates" so I'm not sure what you mean.
asbilly92
ParticipantDitto, having the same issue with the sidebars since updating to WordPress 4.7 also.
no options in 'Default Layout' in Genesis theme settings
Genesis has always shown up before as needed to be updated if that was the case....why wouldn't it show up now??
Is this an issue with the wordpress update? I'm not understanding.
Can someone give a quick refresher on the manual update??
THANK YOU!
October 27, 2016 at 3:06 pm in reply to: Wrap the site description with h1 tag on a custom home page template #195400asbilly92
ParticipantIs there a way to put a condition on it so it only shows on the home page tho?
October 26, 2016 at 8:58 am in reply to: Wrap the site description with h1 tag on a custom home page template #195343asbilly92
ParticipantI added it into the page template as you mentioned but it didn't work..
I think maybe you meant to say functions.php file; which is where I put it and it works great 😉
I need to get you another coffee ...
October 25, 2016 at 2:08 pm in reply to: Wrap the site description with h1 tag on a custom home page template #195319asbilly92
ParticipantOk wow, thank you!! That should be perfect!!
I will give it a shot and post back!!
I appreciate it!
September 21, 2016 at 10:20 am in reply to: Using on-scroll for moving graphics onto screen from left on Minimum Pro #193473asbilly92
ParticipantOK I put this into my functions.php file for enquing the script; where as : animation_left_script is the name of the function and scroll-animation.js is the name of the js file. Think I'm getting closer but the content isn't showing on the page other than the normal text. Do I have that function coded properly?
I do have the js file loaded into the js directory of my child theme.
// Enqueue animation on scroll from left add_action( 'wp_enqueue_scripts', 'animation_left_script' ); function animation_left_script() { wp_enqueue_script( 'scroll-animation', get_stylesheet_directory_uri() . '/js/scroll-animation.js', array( 'jquery' ), '', true ); }
Thank you!
-
AuthorPosts