Forum Replies Created
-
AuthorPosts
-
December 11, 2020 at 6:20 am in reply to: Button In Header of Executive Pro to Right of Navigation #502281KentParticipant
Thanks Anita! I used the workaround of applying the current-menu-item class, but this will work better!
Dad. Biker. Designer. | kentfackenthall.com
KentParticipantYes. YES. A Million times, YES! What @joycegrace said! Scrolling through tons of posts where people have pasted their ENTIRE stylesheet and we're forced to view it all is PONDEROUS and renders the search results in many cases ineffective.
Dad. Biker. Designer. | kentfackenthall.com
KentParticipantFebruary 23, 2017 at 7:52 am in reply to: Carrie Dils snippet for Enable Shortcodes in Widgets no longer working – #201816KentParticipantBrad,
No, I did not. Shortcode just shows up in the widget. Here's an example, used in the 'After Entry' widget.
Dad. Biker. Designer. | kentfackenthall.com
February 22, 2017 at 7:50 am in reply to: Carrie Dils snippet for Enable Shortcodes in Widgets no longer working – #201757KentParticipantThis isn't working for me either. Anyone figure out what's up. Did you get it to work, @WildWeb West?
Dad. Biker. Designer. | kentfackenthall.com
January 16, 2017 at 9:40 am in reply to: Magazine Pro, bbpress forums page not showing properly #199479KentParticipantThis reply has been marked as private.July 29, 2015 at 12:41 pm in reply to: Rearrange Widget Display in Home Page of Altitude Pro #160892KentParticipantfrobn
That worked great. Thanks a bunch. I always forget I can use column classes within widgets.
-Kent
Dad. Biker. Designer. | kentfackenthall.com
KentParticipantNovember 3, 2014 at 8:03 am in reply to: Homepage Widget Formatting Help, Modern Portfolio Theme #130287KentParticipantMagz,
Never got it to work and reworked the homepage to do without it. Live site is here: http://www.coolsmiles.ca/, feel free to peep the code as you wish.
-Kent
Dad. Biker. Designer. | kentfackenthall.com
KentParticipantHi all. I tried this and it's just not working for me. I dunno what I missed.
My functions.php code:
//* Register widget areas genesis_register_sidebar( array( 'id' => 'home-top-left', 'name' => __( 'Home - Top Left', 'enterprise' ), 'description' => __( 'This is the top left section of the homepage.', 'enterprise' ), ) ); genesis_register_sidebar( array( 'id' => 'home-top-right', 'name' => __( 'Home - Top Right', 'enterprise' ), 'description' => __( 'This is the top right section of the homepage.', 'enterprise' ), ) ); genesis_register_sidebar( array( 'id' => 'home-bottom', 'name' => __( 'Home - Bottom', 'enterprise' ), 'description' => __( 'This is the bottom section of the homepage.', 'enterprise' ), ) );
My front-page.php code:
add_action( 'genesis_meta', 'enterprise_home_genesis_meta' ); /** * Add widget support for homepage. If no widgets active, display the default loop. * */ function enterprise_home_genesis_meta() { if ( is_active_sidebar( 'home-top-left' ) || is_active_sidebar( 'home-top-right' ) || is_active_sidebar( 'home-bottom' ) ) { //* Force full-width-content layout setting add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' ); //* Add enterprise-pro-home body class add_filter( 'body_class', 'enterprise_body_class' ); //* Remove the default Genesis loop remove_action( 'genesis_loop', 'genesis_do_loop' ); //* Add home top widgets add_action( 'genesis_after_header', 'enterprise_home_top_widgets' ); //* Add home bottom widgets add_action( 'genesis_loop', 'enterprise_home_bottom_widgets' ); } } function enterprise_body_class( $classes ) { $classes[] = 'enterprise-pro-home'; return $classes; } function enterprise_home_top_widgets() { genesis_widget_area( 'home-top-left', array( 'before' => '<div class="home-top-left widget-area"><div class="wrap">', 'after' => '</div></div>', ) ); genesis_widget_area( 'home-top-right', array( 'before' => '<div class="home-top-right widget-area"><div class="wrap">', 'after' => '</div></div>', ) ); } function enterprise_home_bottom_widgets() { genesis_widget_area( 'home-bottom', array( 'before' => '<div class="home-bottom widget-area">', 'after' => '</div>', ) ); } genesis();
Any thoughts? As it is, it breaks my homepage at my site http://www.kiersdev.com/pnbc1/
Is it because I haven't designated styles for the home-top-left and home-top-right widgets in my css?
Dad. Biker. Designer. | kentfackenthall.com
KentParticipantd00br0,
Did you get the above code to work? I'm hoping to do same with a version of Enterprise Pro, split the Home Top into 2 widget areas. Wanted to know if you got it working before I started with your code.
Tks.
-Kent
Dad. Biker. Designer. | kentfackenthall.com
KentParticipantTony,
Fantastic. That worked like a charm. I think it wasn't showing because I was in mucking around with it.
-Kent
Dad. Biker. Designer. | kentfackenthall.com
KentParticipantAw man! I need to do same and can't figure it out. Can one of you guys tell me what you did?
-Kent
Dad. Biker. Designer. | kentfackenthall.com
KentParticipantEric,
I stand corrected. I had another line above it that was conflicting and when I took that out, it worked! Thanks!
-Kent
Dad. Biker. Designer. | kentfackenthall.com
KentParticipantEric,
Thanks for that, but no, didn't do it. It just transposed the two links.
Before it said 'Patient Login | Dental Referrals' now says opposite. Hmmm.
Dad. Biker. Designer. | kentfackenthall.com
KentParticipantDave,
Thanks, I figured it out but it's been awhile so I don't remember exactly what I did! Closing the post though.
Cheers!
Dad. Biker. Designer. | kentfackenthall.com
KentParticipantKentParticipantKentParticipantThanks for the info folks, but project was scrapped! 🙂
Dad. Biker. Designer. | kentfackenthall.com
KentParticipantHi everyone, FWIW, I wrote support and got this answer. It worked.
"I would recommend creating a class to use when you don't want a border. Add this to your style.css file."
.noborder { border: none; }
Then, you can use that like this:
<a class="noborder" href="#">stuff</a>
Dad. Biker. Designer. | kentfackenthall.com
-
AuthorPosts