Forum Replies Created
-
AuthorPosts
-
October 9, 2018 at 3:11 pm in reply to: desktop menu flickering/fashing before responive menu shows on mobile #223624lifanovskyMember
Same on my site. But only in mobile Chrome. In mobile Safari everything seems to be ok.
lifanovskyMemberAnyone?
lifanovskyMemberThank you guys, this thread helped me a lot!
lifanovskyMemberThough it maybe too late, Sridhar got it.
lifanovskyMemberWell, I have found one solutions. It appears that Genesis footer and after_footer stuff still loads BEFORE wp_footer.
Thus I added the code that I need to be in the end of the page to functions.php:
add_action ('wp_footer', 'my_footer_code'); function my_footer_code() { include ('/path/to/file_to_include.php'); }
Thought I am still interested in they to do this less rude, possibly using Genesis extender?
Would be great to hear from someone..
lifanovskyMemberAnyone? )
lifanovskyMemberI see that in the Metro Pro theme, the footer widgets and footer have been repositioned in the functions.php file with this code:
//* Reposition the footer widgets
remove_action( 'genesis_before_footer', 'genesis_footer_widget_areas' );
add_action( 'genesis_after', 'genesis_footer_widget_areas' );//* Reposition the footer
remove_action( 'genesis_footer', 'genesis_footer_markup_open', 5 );
remove_action( 'genesis_footer', 'genesis_do_footer' );
remove_action( 'genesis_footer', 'genesis_footer_markup_close', 15 );
add_action( 'genesis_after', 'genesis_footer_markup_open', 11 );
add_action( 'genesis_after', 'genesis_do_footer', 12 );What are those numbers that I need to change so that Simple Hooks would work as intended? That's the easiest solution I see but I think Studiopress had some reasons to break the way it works in other themes?
-
AuthorPosts