Skip to content

LezWatch/lwtv-underscores

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LezWatch.TV Theme - Built on Yikes! Starter Theme

The 100% Original Theme for LezWatch.TV

Description

Based on the Yikes! Starter Theme, the LezWatch.TV theme has been customized for custom post types (shows, characters, actors), and is fully integrated with the LezWatch.TV Plugin.

Requirements

It's recommended to use Homebrew on macOS or Chocolatey for Windows to install the project dependencies.

Setup 🛠

  1. Clone this repository: git clone git@github.com:lezwatch/lwtv-underscores
  2. Move into the project directory: cd lwtv-underscores
  3. Install the project dependencies: npm install

Contributing

All pull requests should be made to production.

  1. Using the production branch as base, create a new branch with a descriptive name like fixing-charts or fix/chartjs421 or feature/latest-posts . Commit your work to that branch until it's ready for full testing
  2. Open a pull request from your feature branch to the production branch.
  3. If you are not a main developer, your pull request will be reviewed before it can be merged. If there are issues or changes needed, you may be asked to do so, or they may be done for you.
  4. When the code passes review, run npm run merge-to-develop to push it to development (no extra PR needed).
  5. Once the code passes tests and is approved, the branch can be merged into production and the job is done!

To install and update:

  • $ npm install - Install all the things.
  • $ npm updater - Updates all the things.
  • $ npm build - Builds all the CSS and handles composer versions.

Commits are currently not linted by default.

CSS & JS

If you're updating CSS you have a couple options, since it's all SCSS:

  1. grunt watch - run grunt and leave open for ongoing changes.
  2. grunt build - run the build process once.

This will also update any needed internal javascript.

External Libraries

JS libraries are included via NPM.

The vendor and node_module files are not synced to Github, to minimize the amount of files stored on the servers.

Deployment

Pushes to branches are automatically deployed via Github Actions as follows:

Features

  • Supports three Custom Post Types and related taxonomies: Characters, Themes, Actors
  • Integrated with LWTV Plugin ( lwtv_plugin()->FUNCTION() )
  • Integrated with FacetWP, Jetpack Instant Search, and CMB2.
  • Additional custom image sizes: Show (960x400), Character (225x300), Actor (225x300)
  • Additional custom sidebars: Show, Character, and Actor Archives
  • Widgets: Display latest custom post type posts (show and character) with image