Skip to content

A Wordpress Plugin that loads a Custom Cornerstone Accordion with extra fields in the header

Notifications You must be signed in to change notification settings

lucastobrazil/cornerstone-custom-accordion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Custom Cornerstone Accordion

A Wordpress Plugin that registers a custom elements for Cornerstone editor.

Element Included:

  • Custom Accordion (standard accordion with some extra fields included in the header) Element screenshot This is a work in progress by me, and also my first Open Source project, so please give feedback!

I decided to Open Source this because I noticed there's not much of a clear guideline from Themeco about how to create custom elements. Hoping that sharing my examples might help to get a clearer picture, and maybe we can write some documentation around it later too.

Big thanks to the team at X Theme Users (http://xthemeusers.com) for support. Please comment / PR as you like :)

Built from examples given in: https://community.theme.co/kb/cornerstone-introduction/

What are Elements?

When working with the X Theme WP Template, we use the "Cornerstone" plugin for page editing. Instead of writing actual markup, Cornerstone uses UI components called "Elements". It comes with heaps of built in ones that we should try our best to use. But if we did need to make our own, we do it via this repo.

Installation

First time use -> This needs to get installed via Wordpress plugins (Appearance > Plugins > Add New). Zip the root directory of this repo and upload it. This basically 'registers' the plugin and connects it with Cornerstone.

Usage

Now when you use the Cornerstone Editor, under "Elements" your new elements will be visible Element screenshot

About

A Wordpress Plugin that loads a Custom Cornerstone Accordion with extra fields in the header

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published