Community Forums › Forums › Archived Forums › General Discussion › How to add a new footer to Magazine Pro
Tagged: advertising, footer, Magazine Pro
- This topic has 6 replies, 4 voices, and was last updated 8 years, 11 months ago by
drschilling.
-
AuthorPosts
-
January 1, 2017 at 5:00 pm #198571
drschilling
ParticipantHi,
My advertising regimen is calling for a 729x90 ad in the footer section.
I'm using the Magazine Pro theme and it has 3 sections for the footer Left, Middle & Right.
I'm wondering if I can add a NEW full length footer, just above the 3 part footer, and how to do it.
I'm totally new to studiopress & using Genesis Framework.
Thank you!
David
http://bostoncommons.net/January 1, 2017 at 6:21 pm #198573Victor Font
ModeratorYes you can. The steps include:
1. register a new sidebar in functions.php.
2. Output the new widget area in the before_footer hookgenesis_register_sidebar( array( 'id' => 'footer-ad-section', 'name' => __( 'Footer Ad Section', 'magazine' ), 'description' => __( 'A sitewide section just above the footer section.', 'magazine' ), )); add_action( 'genesis_before_footer', 'vmf_before_footer_widget_area' ); function vmf_before_footer_widget_area() { if ( is_active_sidebar( 'footer-ad-section' ) ) { genesis_widget_area( 'footer-ad-sectio', array( 'before' => '<div class="footer-ad-sectio widget-area"><div class="wrap">', 'after' => '</div></div>', ) ); } }
Regards,
Victor
https://victorfont.com/
Call us toll free: 844-VIC-FONT (842-3668)
Have you requested your free website audit yet?January 2, 2017 at 9:20 am #198602Genesis Developer
MemberAbove code have some typo problem. Replace this text footer-ad-sectio with footer-ad-section
January 2, 2017 at 12:38 pm #198611Victor Font
ModeratorThanks! Missed that.
Regards,
Victor
https://victorfont.com/
Call us toll free: 844-VIC-FONT (842-3668)
Have you requested your free website audit yet?January 7, 2017 at 1:01 pm #198968ToniSchulke
MemberIs it possible to take that "Genesis" footer and use it as a widget with different information in it?
Toni Schulke
Principal, Call Toni Graphics and WebJanuary 7, 2017 at 1:06 pm #198969Victor Font
ModeratorYes you can. You just need to hook it into the right place. If you want it on the front page, then you add the second part of the code to front-page.php. This tutorial is for a different Studio Press theme, but the process is the same: https://victorfont.com/add-widget-areas-to-news-pro-theme/
Regards,
Victor
https://victorfont.com/
Call us toll free: 844-VIC-FONT (842-3668)
Have you requested your free website audit yet?January 9, 2017 at 4:34 pm #199088drschilling
ParticipantHi,
Thanks for the feedback. I'm trying to learn html, php, etc. This is going to take time.
Someone provided me with a temporary shortcut. I was trying to add "ad code" to the footer of my site in Magazine Pro. Someone suggested putting the "ad code" in the Genesis "Theme Settings in the Footer Scripts box. It's working just fine.
Thx.
David
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.