CGsp - WordpressFrontity Theme 🎨
🔥 A Frontity Theme for Wordpress site using one of starter theme
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
âš¡ Check out the demo site here.
Demo
Installation 🔧
1. For new projects: clone this project.
-
git clone https://github.com/....
. -
cd frontity-cgsp
. -
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 homepage -
Remove 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 💮
- Build with love 💙, using Frontity's mars-theme and codenawis by Yahya as base.