Skip to content

Page builder aimed at developpers that leverages the power of Advanced Custom Fields and Timber.

License

Notifications You must be signed in to change notification settings

SatelliteWP/cortex

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cortex

Cortex is a WordPress plugin that eases the process of creating pages using blocks.

What's a block?

A block is self-contained reusable site component. A block contains its template, fields definition, scripts, and styles. They are also stored locally which means they will play nice with your VCS.

How can I build a page using blocks?

You basically select the block from a list and edit its content. Don't forget to update the page once you're done.

Usage

How can I add blocks ?

From the Cortex menu, select Blocks and Add New. From there, you'll be able to define the block fields and edit your templates, stylesheet and scripts, if necessary. Note that the templates are Twig files using the Timber library. The style file supports the SCSS syntax and is automatically compiled when the block is saved.

How

Once completed you can go back to the page editor and use your newly created block.

Done

The block content will be saved in the blocks folder of your theme and the structure will look like this:

Folder

About

Page builder aimed at developpers that leverages the power of Advanced Custom Fields and Timber.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 72.5%
  • JavaScript 18.6%
  • SCSS 8.9%