Coder Social home page Coder Social logo

aquila's Introduction

Project Status: Active. code style: prettier

  • A WordPress theme Project for Advanced WordPress Theme Development Course. This theme uses Bootstrap. Learn to build an Advanced WordPress Theme from scratch
WordPress theme development banner

Features:

  • Custom front page.

  • Custom Blog page with posts displayed in grid format using bootstrap.

  • Block Style Variations

  • Custom Gutenberg Blocks

  • InnerBlocks

Maintainer

Name Github Username
Imran Sayed @imranhsayed

Usage

  1. Clone the WordPress theme aquila in your WordPress themes directory and activate it.

Dashboard Setup.

  1. Create pages called 'Home' and 'Blog' and set them from Appearance > Customizer > Homepage Settings like so:

Development ( To be added )

Install

Clone the repo and run

cd aquila/assets
npm install

During development

npm run dev

Run precommit from assets directory before pushing the code for development/contribution.

cd assets && npm run precommit

Production

npm run prod

Linting & Formatting

The following command will fix most errors and show and remaining ones which cannot be fixed automatically.

npm run lint:fix

We follow the stylelint configuration used in WordPress Gutenberg, run the following command to lint and fix styles.

npm run stylelint:fix

Format code with prettier ( TO BE ADDED )

npm run format-js

Directory Structure

.
โ”œโ”€โ”€ README.md
โ”œโ”€โ”€ assets
โ”‚ย ย  โ”œโ”€โ”€ main.js
โ”‚ย ย  โ””โ”€โ”€ src
โ”‚ย ย      โ””โ”€โ”€ library
โ”‚ย ย          โ”œโ”€โ”€ css
โ”‚ย ย          โ”‚ย ย  โ”œโ”€โ”€ bootstrap-grid.min.css
โ”‚ย ย          โ”‚ย ย  โ””โ”€โ”€ bootstrap.min.css
โ”‚ย ย          โ””โ”€โ”€ js
โ”‚ย ย              โ””โ”€โ”€ bootstrap.min.js
โ”œโ”€โ”€ demo
โ”‚ย ย  โ”œโ”€โ”€ banner.png
โ”‚ย ย  โ”œโ”€โ”€ blog-page.png
โ”‚ย ย  โ”œโ”€โ”€ features-one.png
โ”‚ย ย  โ”œโ”€โ”€ features-two.png
โ”‚ย ย  โ””โ”€โ”€ home-page-customizer-setup.png
โ”œโ”€โ”€ footer.php
โ”œโ”€โ”€ front-page.php ( Home Page )
โ”œโ”€โ”€ functions.php
โ”œโ”€โ”€ header.php
โ”œโ”€โ”€ inc
โ”‚ย ย  โ”œโ”€โ”€ classes
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ class-aquila-theme.php
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ class-assets.php
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ class-menus.php
โ”‚ย ย  โ”‚ย ย  โ””โ”€โ”€ class-meta-boxes.php
โ”‚ย ย  โ”œโ”€โ”€ helpers
โ”‚ย ย  โ”‚ย ย  โ”œโ”€โ”€ autoloader.php
โ”‚ย ย  โ”‚ย ย  โ””โ”€โ”€ template-tags.php
โ”‚ย ย  โ””โ”€โ”€ traits
โ”‚ย ย      โ””โ”€โ”€ trait-singleton.php
โ”œโ”€โ”€ index.php ( Blog page )
โ”œโ”€โ”€ page.php  ( Single Page )
โ”œโ”€โ”€ screenshot.png
โ”œโ”€โ”€ single.php ( Single Post Page )
โ”œโ”€โ”€ style.css
โ””โ”€โ”€ template-parts
    โ”œโ”€โ”€ components
    โ”‚ย ย  โ””โ”€โ”€ blog
    โ”‚ย ย      โ”œโ”€โ”€ entry-content.php
    โ”‚ย ย      โ”œโ”€โ”€ entry-footer.php
    โ”‚ย ย      โ”œโ”€โ”€ entry-header.php
    โ”‚ย ย      โ””โ”€โ”€ entry-meta.php
    โ”œโ”€โ”€ content-none.php
    โ”œโ”€โ”€ content.php
    โ””โ”€โ”€ header
        โ””โ”€โ”€ nav.php

Fixing Errors

  1. Error: Node Sass does not yet support your current environment Solution :
cd assets
npm rebuild node-sass

aquila's People

Contributors

imranhsayed avatar dependabot[bot] avatar hekmatbeigverdi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.