Community Forums › Forums › Archived Forums › Design Tips and Tricks › Adding another home featured widget in minimum pro
Tagged: home featured widget, minimum pro
- This topic has 11 replies, 5 voices, and was last updated 6 years, 3 months ago by
marybaum.
-
AuthorPosts
-
August 8, 2016 at 6:13 am #190903
motivationpedia
MemberI am using Minimum pro theme on my website. I want to create another home featured widget similar to the one that the theme supports with 4 column layout each supporting a widget. I want it to place just over my footer and under the posts section.
Can anyone please provide me with the code to do so?Thanks in advance for your help
August 8, 2016 at 6:18 am #190905Victor Font
ModeratorThis should get you started in the right direction. While I wrote it specifically for the News Pro theme, the same procedures apply to any Studio Press theme. http://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?August 8, 2016 at 6:38 am #190908motivationpedia
MemberThanks a lot Victor for your help.
You have a great website, looks like you have some great content to help people like us there, I will be sure to visit your website when I am in need of some help relating to such topics.
But I am a complete newbie and I have not the slightest bit idea about coding, so if you can give me the exact code that I have to copy on my website, then it will be a great help.Thanks in advance.
August 8, 2016 at 8:22 am #190912Genesis Developer
MemberAre you wanting same 4 columns widget areas at bottom? Or you will create one widget area and do the columns effect by CSS?
August 8, 2016 at 9:24 am #190922Victor Font
ModeratorThe code is in the post I pointed you to.
Regards,
Victor
https://victorfont.com/
Call us toll free: 844-VIC-FONT (842-3668)
Have you requested your free website audit yet?August 8, 2016 at 9:38 am #190924motivationpedia
MemberI want the same columns widget at the bottom, exactly the same way that the theme offers.
Thanks for your interest.
August 8, 2016 at 10:11 am #190927Genesis Developer
MemberAdd this in your functions.php file
genesis_register_sidebar( array( 'id' => 'home-bottom-1', 'name' => __( 'Home Bottom 1', 'minimum' ), 'description' => __( 'This is the home bottom 1 section.', 'minimum' ), ) ); genesis_register_sidebar( array( 'id' => 'home-bottom-2', 'name' => __( 'Home Bottom 2', 'minimum' ), 'description' => __( 'This is the home bottom 2 section.', 'minimum' ), ) ); genesis_register_sidebar( array( 'id' => 'home-bottom-3', 'name' => __( 'Home Bottom 3', 'minimum' ), 'description' => __( 'This is the home bottom 3 section.', 'minimum' ), ) ); genesis_register_sidebar( array( 'id' => 'home-bottom-4', 'name' => __( 'Home Bottom 4', 'minimum' ), 'description' => __( 'This is the home bottom 4 section.', 'minimum' ), ) );
Copy the code from here http://pastebin.com/4t2JRxcP and replace the full code of front-page.php file with this new one.
Note: Before editing the files you will keep a backup of your theme.
August 8, 2016 at 11:47 am #190928motivationpedia
MemberThanks a lot 'Genesis Developer'. You saved my day. It's working just as I planned.
Thanks again.
Best wishes
MOTIVATIONPEDIASeptember 5, 2016 at 1:54 am #192605motivationpedia
MemberHello,
Genesis Developer, after your much sought out help I was able to replicate the home featured widget area that the Minimum Pro theme offers and was able to place it just above the footer and it is working just fine.
The problem is however with the spacing above the new widget area. As with the 'home featured widget' area, the area is enclosed in a box and has enough spacing between the site tagline and the posts section but the new widget area that we replicated known as 'home bottom widget' has no spacing above it, it is very close to the pagination tab below the posts but has enough space below the area as you can see here : http://motivationpedia.com/ after scrolling to the bottom below the posts section.
I just want to increase the space between the widget top and the the pagination tab (below the posts section) so it looks evenly spaced from the bottom and the top.
Any help is appreciated.
Thanks.
October 27, 2018 at 6:15 am #224016zom
ParticipantI would like to increment the "home featured" widget area by one row. That is a little different than applying a row of widgets immediately AFTER posts or static content. I use static content so that my home page looks like http://taiji-online.co.uk. I tried adding a 5th "Home Featured" widget in functions.php and a widget area shows up on my widgets page, but when I populate "home featured 5", the widget does not render on my home page. Do I have to additionally define a new home featured "row" in front-page.php and assign CSS for each new widget?
October 31, 2018 at 5:07 am #224089zom
ParticipantAny takers before I open a new thread for this?
November 3, 2018 at 8:46 pm #224147marybaum
Participant"Do I have to additionally define a new home featured "row" in front-page.php and assign CSS for each new widget?"
Yup. You do!
Sharing the good news about the wonders of modern CSS and the split-step. Either one should get you moving fast. 😀
-
AuthorPosts
- The forum ‘Design Tips and Tricks’ is closed to new topics and replies.