• 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

SVG Shape dividers in Genesis

Last Updated on August 13, 2019 Favorited: 0 times

This tutorial provides the steps to add SVG shape dividers from Elementor in any child theme based on the Genesis Framework.

Tested on Genesis Sample 2.6.0+

The tutorial uses a simple shortcode function to output svg shape dividers in the front page widget section.

Preview:

Prerequisite:

1. Create a widgetized front page. Follow Advanced Full width Widgetized Home page in Genesis Sample.

STEP 1

The first Step is to create the required file.
a) Create a folder named "shortcodes" under /lib/ folder of your child theme.
b) Create a file named "shape-dividers.php" under /shortcodes/ folder.
c) Call this file using this in functions.php

// Adds Shape dividers shortcodes.
require_once get_stylesheet_directory() . '/lib/shortcodes/shape-dividers.php';

Remember the file path here.

STEP 2

Now, we are going to create some shortcodes for a different type of shape dividers.

Open shape-dividers.php file present under /lib/shortcodes/ folder 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

  • Shape Dividers in Genesis

Categories: Genesis Tutorials, Premium Content Tags: shape dividers, svg

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