{"id":20390325,"url":"https://github.com/the-couch/timber-webpack-postcss","last_synced_at":"2026-04-12T03:31:22.413Z","repository":{"id":87761875,"uuid":"138072879","full_name":"the-couch/timber-webpack-postcss","owner":"the-couch","description":"Starter theme for Timber Wordpress Instances","archived":false,"fork":false,"pushed_at":"2018-06-20T18:56:40.000Z","size":104,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-12T00:34:12.679Z","etag":null,"topics":["es6","javascript","post-css","timber","webpack","wordpress"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/the-couch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-20T18:48:06.000Z","updated_at":"2024-05-14T23:08:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"9ce29ce8-ac6e-40e8-bfd2-7e37ffb90e28","html_url":"https://github.com/the-couch/timber-webpack-postcss","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/the-couch/timber-webpack-postcss","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the-couch%2Ftimber-webpack-postcss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the-couch%2Ftimber-webpack-postcss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the-couch%2Ftimber-webpack-postcss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the-couch%2Ftimber-webpack-postcss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/the-couch","download_url":"https://codeload.github.com/the-couch/timber-webpack-postcss/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/the-couch%2Ftimber-webpack-postcss/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31703497,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T21:17:31.016Z","status":"online","status_checked_at":"2026-04-12T02:00:06.763Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["es6","javascript","post-css","timber","webpack","wordpress"],"created_at":"2024-11-15T03:24:15.077Z","updated_at":"2026-04-12T03:31:22.396Z","avatar_url":"https://github.com/the-couch.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# The Timber Starter Theme\n\n## Couch Enhancements\n\nWe added gulp, webpack, and postcss (sorry it's what I like lately :))\n\nUp and Running with `npm install` \u0026\u0026 `npm run dev`\n\nGulp handles the file watching and live reloading of the wordpress environment, it watches twig files, and watches the updated javascript and css assets.\n\n\n### Default Docs\n\n\nThe \"_s\" for Timber: a dead-simple theme that you can build from. The primary purpose of this theme is to provide a file structure rather than a framework for markup or styles. Configure your Sass, scripts, and task runners however you would like!\n\n[![Build Status](https://travis-ci.org/timber/starter-theme.svg)](https://travis-ci.org/timber/starter-theme)\n\n## Installing the Theme\n\nInstall this theme as you would any other, and be sure the Timber plugin is activated. But hey, let's break it down into some bullets:\n\n1. Make sure you have installed the plugin for the [Timber Library](https://wordpress.org/plugins/timber-library/) (and Advanced Custom Fields - they [play quite nicely](http://timber.github.io/timber/#acf-cookbook) together).\n2. Download the zip for this theme (or clone it) and move it to `wp-content/themes` in your WordPress installation.\n3. Rename the folder to something that makes sense for your website (generally no spaces and all lowercase). You could keep the name `timber-starter-theme` but the point of a starter theme is to make it your own!\n4. Activate the theme in Appearance \u003e  Themes.\n5. Do your thing! And read [the docs](https://github.com/jarednova/timber/wiki).\n\n## What's here?\n\n`static/` is where you can keep your static front-end scripts, styles, or images. In other words, your Sass files, JS files, fonts, and SVGs would live here.\n\n`templates/` contains all of your Twig templates. These pretty much correspond 1 to 1 with the PHP files that respond to the WordPress template hierarchy. At the end of each PHP template, you'll notice a `Timber::render()` function whose first parameter is the Twig file where that data (or `$context`) will be used. Just an FYI.\n\n`bin/` and `tests/` ... basically don't worry about (or remove) these unless you know what they are and want to.\n\n## Other Resources\n\nThe [main Timber Wiki](https://github.com/jarednova/timber/wiki) is super great, so reference those often. Also, check out these articles and projects for more info:\n\n* [This branch](https://github.com/laras126/timber-starter-theme/tree/tackle-box) of the starter theme has some more example code with ACF and a slightly different set up.\n* [Twig for Timber Cheatsheet](http://notlaura.com/the-twig-for-timber-cheatsheet/)\n* [Timber and Twig Reignited My Love for WordPress](https://css-tricks.com/timber-and-twig-reignited-my-love-for-wordpress/) on CSS-Tricks\n* [A real live Timber theme](https://github.com/laras126/yuling-theme).\n* [Timber Video Tutorials](http://timber.github.io/timber/#video-tutorials) and [an incomplete set of screencasts](https://www.youtube.com/playlist?list=PLuIlodXmVQ6pkqWyR6mtQ5gQZ6BrnuFx-) for building a Timber theme from scratch.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthe-couch%2Ftimber-webpack-postcss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthe-couch%2Ftimber-webpack-postcss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthe-couch%2Ftimber-webpack-postcss/lists"}