Community Forums › Forums › Archived Forums › Design Tips and Tricks › Functionality for Pages, Not just Posts
Tagged: home page widgets
- This topic has 11 replies, 4 voices, and was last updated 10 years, 11 months ago by Herve “harvey” LE GALL.
-
AuthorPosts
-
December 13, 2013 at 3:58 pm #78903cmalamedParticipant
I'm using Magazine Pro for a non-blog site. The Featured Post widget displays post excerpts side-by-side on the home page (using Middle and Bottom Home Page widgets). But the Featured Page widget will not display page excerpts on the Home Page side-by-side. These display one below the other. How can I get the side-by-side format to work with pages too? Here's a photo of what I mean:
Thanks for any help.
December 13, 2013 at 5:56 pm #78941Brad DaltonParticipantDecember 13, 2013 at 6:40 pm #78945cmalamedParticipantThis reply has been marked as private.December 13, 2013 at 8:29 pm #78962Brad DaltonParticipantI don't get PM's here.
What will you be using on the home-bottom widget area?
December 14, 2013 at 5:27 am #79004cmalamedParticipantI sent it to your wpsites.net email address (hopefully). I'll be using pages there or video or resource links. I'd like that area to have two widgets side by side.
December 14, 2013 at 9:28 am #79039ramseypMemberIs it possible the Genesis Featured Widget Amplified would help? http://wordpress.org/plugins/genesis-featured-widget-amplified/
Rather than separate widgets for Posts & Pages, you use one widget, pick the post type you want, then go from there with the rest of the widget options.
If it's that Pages don't support the_excerpt() by default, you can add support for them in your functions.php:
add_action('init', 'my_custom_init'); function my_custom_init() { add_post_type_support( 'page', 'excerpt' ); }
reference link: http://codex.wordpress.org/Function_Reference/add_post_type_support
December 14, 2013 at 7:18 pm #79145cmalamedParticipantThanks for the idea of using Genesis Featured Widget Amplified. It looks like it just supports posts, though. The problem isn't that pages don't support the excerpt by default, it's that in the current layout of the theme, I can't arrange the page excerpts side-by-side, using the Featured Pages widget and placing it in Home Page Middle. But you can get the side-by-side layout using the Featured Posts widget.
December 15, 2013 at 12:05 am #79187Brad DaltonParticipantI tested this locally and have a solution however it needs further work. You can give it a try here. http://wpsites.net/web-design/display-featured-posts-from-multiple-categories-inline-using-one-widget/
The problem is with the float clearing and depends on what widget you add in the home bottom section.
December 15, 2013 at 9:58 am #79248cmalamedParticipantHi Brad,
I did figure out that the problem was with the float clearing but could not resolve it. I tried several versions of clearing and not clearing and couldn't get it to work. Then I started to think that perhaps I'd have to register a new widget for that area on the right. I wanted to do the same thing on the bottom section (HOME BOTTOM). So do you think this can also work for Featured Pages?
ConnieDecember 15, 2013 at 11:08 am #79256cmalamedParticipantMore: I added your suggested CSS to the style sheet and it didn't work for pages. I'm not sure if it's being affect by home-bottom, as you mentioned.
December 15, 2013 at 9:03 pm #79346Brad DaltonParticipantI also added a new widget locally and tested it however still needs some work.
February 10, 2014 at 9:21 am #89674Herve “harvey” LE GALLParticipantHello Connie, Brad,
I have exactly the same problem using Magazine Pro theme, want to display two featured pages side by side in home middle (or home bottom), like I did with the featured post widget, but unfortunately it's not possible.
So, if anyone find a solution, I'm very interested !
Harvey
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.