Note: This theme requires the Advanced Custom Fields Pro plugin IF you want to utilize the included custom Gutenberg blocks.
As a front-end developer converting design concepts to live websites, I created the NC Framework to serve as a starting point from which to build custom websites for WordPress. It can be used as a parent theme or extended with a child theme.
The theme is coded in:
- Modern CSS - uses flexbox, grid, and custom properties
- BEM CSS - uses Block Element Modifier coding methodology
- Semantic HTML - modern HTML5 with support for technical SEO
- Accessible - supports screen readers and keyboard navigation
- Responsive - mobile-friendly with support for responsive images
The theme supports all of WordPress' native features and standard templates. The theme comes with basic CSS for layout and responsive purposes, but it's up to you to make the theme match your design concept.
- Install this parent theme.
- Create a child-theme and activate it.
- Copy
content.css
,theme.css
, andvariables.css
from the parent CSS folder into your child-theme. - Begin editing and writing new CSS to match your design concept.
If your concept requires more customization, you will need to copy and edit template files from the parent theme. Refer to the WordPress Codex for more information about child-themes. To learn more about the above mentioned CSS files, visit this themes' CSS documentation here.
- The Customizer
- Custom menus
- Widgets (8 areas)
- Custom logo
- Child themes
- Featured images
- Gutenberg blocks
- Translation ready
- Threaded comments
- Post meta
- Pagination
- Next and previous posts
- hero
- split hero
- accordion
- columns
- gallery w/ lightbox pop-up
- image slider w/ lightbox pop-up
- text slider
- media + content
- list posts
- one page navigation
- rich text content
- dividers
This section explains the general content within the folders and main files.
Refer to the readme.md
file within each folder for more information.
_functions
- this folder stores extra WP functions. If not used should be deleted._parts
- this folder stores extra WP features. If not used should be deleted.acf-json
- stores custom fields data (don't delete)blocks
- stores all custom Gutenberg blocks and supported assetscustomizer
- stores all the new Customizer features function filesfonts
- stores all font files including icon font filesicons
- stores icon font files by IcoMoon w/ thejson
selection filefunctions
- stores all functions files connected to thefunctions.php
fileimg
- stores all raster and vector images.js
- stores all JavaScript filesparts
- stores all reusable template partstemplates
- stores custom templates
The following explains the purpose of the files in the main directory of the theme:
404.php
- displays a message if a page isn't foundarchive.php
- displays selected taxonomy entriesauthor.php
- displays single author meta and all their blog entriescomments.php
- displays the comments templatefunctions.php
- list and includes all functions housed in thefunctions
folderhome.php
- displays the latest blog entriesimage.php
- displays a single attachment image with meta dataindex.php
- displays a default page if no other templates are availablepage.php
- displays a standard non-blog entry pagereadme.md
- provides documentationscreenshot.png
- an image to represent the installed themesearch.php
- displays a list of results from a search querysingle.php
- displays a single blog entrystyle.css
- stores theme information for WordPress' admin areas, no CSS is included in this file but commentstheme.json
- controls the block editor colors, fonts, etc.
For more information contact neal@nealchester.com