Add Slider to the Home Page of Minimum Pro Theme v.3.0 – Updated!


StudioPress just released Minimum Pro Theme to Genesis Framework users.

I recently wanted to substitute a slider on the homepage instead of a static featured image. I’ll post the solution here in case you’d like to try it yourself. (btw – just giving a thanks – Ted helped me out a ton!)

Thriveworks

CREATE A NEW WIDGET AREA

The featured image used in the Minimum Pro Theme demo is hard-coded into funtions.php. We’re going to change this by creating a new widget area for our home page slider.

To register a new widget area, drop the following into your functions.php (between header and tagline widgets on homepage).

After adding this code to your theme and saving it, you can go to Appearance > Widgets and see your new widget area. You can drop widgets in there and add content all you like, but it won’t show up on your home page until we tell it to do so.

ADD THE NEW WIDGET AREA TO THE HOME PAGE

Add this to functions.php:

Then REMOVE (on functions.php):

Removed:

And on front-page.php, remove or comment out:

Done!