GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - justcoded/wordpress-starter: WordPress Project Template is a skeleton best for rapidly creating projects with modern development tools, easier configuration, and an improved folder structure.

BranchesTags
Open more actions menu

Latest commit

 

History

74 Commits
74 Commits

Folders and files

NameName
Last commit message
Last commit date
environments
environments
 
 
wp-content
wp-content
 
 
.env.example
.env.example
 
 
.gitignore
.gitignore
 
 
.htaccess.example
.htaccess.example
 
 
DEPLOYMENT.md
DEPLOYMENT.md
 
 
README.md
README.md
 
 
composer.json
composer.json
 
 
index.php
index.php
 
 
robots.txt
robots.txt
 
 
wp-config.php
wp-config.php
 
 
wp-cron.php
wp-cron.php
 
 

Repository files navigation

WordPress Project Template by JustCoded


WordPress Project Template is a skeleton WordPress site with modern development tools, easier configuration, improved folder structure and latest security best practices.

Better project structure

The organization of skeleton is similar to putting WordPress core files in its own subdirectory, wp-content stays the same.

File structure

Dependency management with Composer

Manage your WordPress install and plugins with Composer, a PHP dependency manager. Composer will make development more reliable, help with team collaboration, and it helps maintain a better Git repository.

Easy WordPress configuration

Environment specific configuration files and environment variables with Dotenv.

Enhanced security

  • Deny access to non-web files with server directives (with .htaccess files).
  • Deny PHP scripts execution inside wp-content/uploads folder.
  • Deny browsing the directory files list.
  • Production & Staging environments have a restriction to update files from admin panel (only Media is allowed).
  • Command-line scripts for generating wp-admin HTTP Authorization files.

<< READ MORE >>


Quick start

Requirements

  • PHP >= 7.0
  • Composer - Install | Download

Installation

  1. Create a new project in a new folder for your site:

composer create-project justcoded/wordpress-starter your-project-folder-name

  1. Set important environment variables in .env file:
  • DB_NAME - Database name
  • DB_USER - Database user
  • DB_PASSWORD - Database password
  • DB_HOST - Database host
  • WP_HOME - Full URL to WordPress home (http://example.com)
  1. Run WordPress install as usual by accessing your site at http://example.com/

  2. Enjoy!

Composer helpers

  • composer wp:theme generate new theme based on our Theme Boilerplate
  • composer wp:secure generate new HTTP password for wp-admin folder

Contributing

Contributions are welcome from everyone.

About

WordPress Project Template is a skeleton best for rapidly creating projects with modern development tools, easier configuration, and an improved folder structure.

Topics

composerinstallermu-pluginsproject-templatestarter-kitstarter-templatewordpress

Resources

Readme
Activity
Custom properties

Stars

36 stars

Watchers

3 watching

Forks

28 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.