Skip to content

Latest commit

 

History

History
100 lines (80 loc) · 2.47 KB

README.md

File metadata and controls

100 lines (80 loc) · 2.47 KB

CodeNawis Frontity Theme 🎨

🔥 A Frontity Theme for Wordpress site.

More than Mars Theme

  1. Sharing Buttons
  2. AuthorBox in Single Post Page
  3. Category based Posts in Homepage
  4. Comment Section in Single Post Page
  5. Grid System
  6. Search
  7. Categories in Navbar
  8. Tags in post page
  9. Better Pagination
  10. Footer

⚡ Check out the demo site here.

Demo

Frontity-codenawis

Frontity-codenawis

Installation 🔧

1. For new projects: clone this project.

  1. git clone https://github.com/mymakarim/frontity-codenawis.

  2. cd frontity-codenawis.

  3. npm install && npx frontity dev (from the project's root directory).

  4. Your site will now be available at http://localhost:3000/

2. For new/existing project: use npm.

  1. npm install @frontity/codenawis.
  2. 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
          }
        }
      }
    },
  1. go to packages/codenawis/src/components/utility/config/homepageSections.js and put the categoryID and slug of the categories you want them to appear as sections in the homepage

  2. Remove your previous theme (mars-theme?) from frontity-settings.js.

  3. npx frontity dev (from project's root directory).

  4. Your site will be available at http://localhost:3000/.

Credits 💮

Authors

  1. Yahya Makarim

License 📜

License: MIT