ColoredCow / ColoredCow/wordpress-bootcamp-2020

Day 4 - Version controlling and full-blown theme

Open
#4 13 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Description

## Version control

- [ ] [Download](https://git-scm.com/download/win) and install git
- [ ] Initialize git on your WordPress project

```
cd C:\xampp\htdocs\your-website
git init
```

- [ ] Set a `.gitignore` for your project. [Docs](https://git-scm.com/docs/gitignore) - [Here's one for a WordPress project](https://github.com/github/gitignore/blob/master/WordPress.gitignore)

- [ ] Make your first commit
```
git status
git add .
git commit -m 'First commit'
```
### Push your code to GitHub

- [ ] Create a new repository for your WordPress site
> Note: Do not initialize your repository with `README.md`.
- [ ] Add remote in your local repository and push to GitHub

```
git remote add origin https://github.com/your-username/your-github-repository
git push origin master
```

### Additional

If you liked git or would want to dig further, here is a tutorial that I found
helpful: https://www.youtube.com/watch?v=duqBHik7nRo

## Theme completion

- [ ] Set `page.php`
- [ ] Set `frontpage.php`
- [ ] Set `header.php`
- [ ] Set `footer.php`
- [ ] Set `functions.php`
- [ ] Set `style.css`

Read about these files: https://developer.wordpress.org/themes/basics/template-files/#common-wordpress-template-files

### Your site should have at least the following the pages

- [ ] A landing page
- [ ] About page
- [ ] Gallery page
- [ ] Contact page

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the WordPress template-files documentation linked in the issue, then review the listed page.php, frontpage.php, header.php, footer.php, functions.php, and style.css files. Follow the provided Git commands from the WordPress project directory and verify that the repository is pushed to GitHub. Done means the theme files and landing, About, Gallery, and Contact pages are complete.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, php, wordpress
Domain
documentation, web-dev
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.