• Skip to primary navigation
  • Skip to content
  • Skip to primary sidebar
  • Skip to user navigation

PopWP

WordPress and Genesis Tutorials

  • Get Started
  • About
  • Archive
  • Services
  • Membership
  • My Account

Advanced Full width Widgetized Home page in Genesis Sample

Last Updated on June 6, 2019 Favorited: 2 times

This tutorial provides the steps to create an Advanced Full width Widgetized front page, similar to other child themes in the new Genesis Sample theme.

Prerequisite:

1. Create a /css/ and /js/ folder in your child theme if it is not there.
2. Create two files front-page.css in /css/ folder and front-page.js in /js/ folder.

STEP 1

Register a few widgets area in functions.php. Open child-theme/functions.php and add the following:

//* Register front-page widget areas in functions.php
genesis_register_widget_area(
	array(
		'id'          => "front-page-1",
		'name'        => __( "Front Page 1", 'genesis-sample' ),
		'description' => __( "This is the front page 1 section.", 'genesis-sample' ),
		'before_title' => '<h2 class="widgettitle widget-title">',
		'after_title'  => '</h2>',
	)
);
genesis_register_widget_area(
	array(
		'id'          => "front-page-2",
		'name'        => __( "Front Page 2", 'genesis-sample' ),
		'description' => __( "This is the front page 2 section.", 'genesis-sample' ),
	)
);
genesis_register_widget_area(
	array(
		'id'          => "front-page-3",
		'name'        => __( "Front Page 3", 'genesis-sample' ),
		'description' => __( "This is the front page 3 section.", 'genesis-sample' ),
	)
);
genesis_register_widget_area(
	array(
		'id'          => "front-page-4",
		'name'        => __( "Front Page 4", 'genesis-sample' ),
		'description' => __( "This is the front page 4 section.", 'genesis-sample' ),
	)
);
genesis_register_widget_area(
	array(
		'id'          => "front-page-5",
		'name'        => __( "Front Page 5", 'genesis-sample' ),
		'description' => __( "This is the front page 5 section.", 'genesis-sample' ),
	)
);

STEP 2

It is the time to display these widgets for the front page. Create a file name front-page.php and add the following:

To view the full content, please sign up for the membership.

Already a member? Log in below or here.

 
 
Forgot Password

Related Posts

  • Display Featured Posts on front-page widget in two columns in Genesis Sample
  • Full Width Widgetized Front Page in Genesis Sample
  • Widgetized Front page having Parallax Effect section float over and fadeUp when scrolled in Genesis
  • Replicate widgetized front page design for other Page in Genesis
  • Filterable Portfolio on front page in Genesis

Categories: Genesis Tutorials, Premium Content Tags: front-page, home-page, widgetized

Primary Sidebar

Search

WPEngine WordPress Hosting, Perfected.

Hosting You are looking for?.
Perfect solution for small business to global enterprise.

Learn more

StudioPress Genesis Theme Framework

The No.1 Theme Provider.
Creative, SEO rich Theme for all niche projects.

Learn more

Categories

  • Free Content
  • Genesis Tutorials
  • Premium Content
  • Snippets
  • What's New?
  • WordPress Tutorials

Tag Cloud

Archive Background Section blog canvas menu center logo columns conditional tags CSS CSS Grid custom Customizer custom post type Custom Post Types custom template Custom Widget effect eNews Extended Featured Image front-page Genesis Genesis Sample header right hero section Image Background js layout left menu Logo menu Navigation Menu newsletter post page related posts responsive menu search search widget Shrinking Logo site header slide in-out Stylesheet Template Utility Bar Video Background widgets WordPress

Built with Genesis Framework + WordPress by Aryan Raj

  • Contact
  • FAQ
  • Disclaimer
  • Privacy Policy
  • Copyright Policy
  • Terms of Service