codenawis-theme
v1.1.0
Published
A frontity theme by @mymakarim @codenawis
Downloads
3
Maintainers
Readme
CodeNawis Frontity Theme :art:
:fire: A Frontity Theme for Wordpress site.
More than Mars Theme
- Sharing Buttons
- AuthorBox in Single Post Page
- Category based Posts in Homepage
- Comment Section in Single Post Page
- Grid System
- Search
- Categories in Navbar
- Tags in post page
- Better Pagination
- Footer
:zap: Check out the demo site here.
Demo
Installation :wrench:
1. For new projects: clone this project.
git clone https://github.com/mymakarim/frontity-codenawis
.cd frontity-codenawis
.npm install && npx frontity dev
(from the project's root directory).Your site will now be available at
http://localhost:3000/
2. For new/existing project: use npm.
npm install @frontity/codenawis
.- Add the package in
frontity-settings.js
.
packages: [
{
"name": "@frontity/codenawis",
"state": {
"theme": {
"menu": [
[
"Home",
"/"
],
[
"News",
"/category/news/"
],
[
"Featured",
"/category/featured/"
],
[
"Report",
"/category/report/"
],
[
"MultiMedia",
"/category/multimedia/"
],
[
"About Us",
"/about/"
]
],
"featured": {
"showOnList": true,
"showOnPost": true
}
}
}
},
go to
packages/codenawis/src/components/utility/config/homepageSections.js
and put thecategoryID
andslug
of the categories you want them to appear as sections in the homepageRemove your previous theme (
mars-theme
?) fromfrontity-settings.js
.npx frontity dev
(from project's root directory).Your site will be available at
http://localhost:3000/
.
Credits :white_flower:
- Build with love :blue_heart:, using Frontity's mars-theme as base.