https://github.com/shwilliam/quotes
❝ ❞ An opinionated WP theme for a quote-centered site
https://github.com/shwilliam/quotes
php quotes theme wordpress
Last synced: 2 months ago
JSON representation
❝ ❞ An opinionated WP theme for a quote-centered site
- Host: GitHub
- URL: https://github.com/shwilliam/quotes
- Owner: shwilliam
- Created: 2019-07-26T03:50:42.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-04T04:49:49.000Z (over 3 years ago)
- Last Synced: 2025-03-29T15:15:28.848Z (over 1 year ago)
- Topics: php, quotes, theme, wordpress
- Language: PHP
- Homepage:
- Size: 1.53 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Quotes
> An opinionated WP theme for a quote-centered site

**Note**: You may get a security-related error in your browser when using the 'Show me another!' button to fetch another random quote. This often occurs when using the Browsersync's proxied server and can simply be avoided by visiting the original, locally-served site, for example visit `http://localhost/your-site` as opposed to `http://localhost:3000/your-site`.
## Features
- Mobile, tablet & desktop friendly
- Uses WP REST API to avoid unnecessary full-page reloads
- Styled w/ SASS using the SCSS (Sassy CSS) syntax
- Gulp for automated prefixing, minification w/ sourcemaps & BrowserSync
- Easy to build upon!
## Installation
- Download repo
- Move folder to `wp-content/themes` dir
- Activate theme in the WP admin area
## Sample content
- [Download `quotes.sql`](https://gist.github.com/shwilliam/e7658f5e07956d5ba370ab372de2eb53)
- Import the `.sql` file from within `phpmyadmin`
Note that this uses the URL `//localhost/quotes` and site path `/Applications/htdocs/quotes` so you must either mimic these or run your own find & replace to match your appropriate system paths.
## Development
- Clone repo
- Move folder to `wp-content/themes` dir
- Activate theme in the WP admin area
- Install dev dependencies w/ `npm i`
- Update `gulpfile.js` with the appropriate URL for the Browsersync proxy (so change `localhost[:port-here]/[your-dir-name-here]` to the appropriate localhost URL)
- Start gulp w/ `npm start`