timber / starter-theme

The "_s" for Timber: a dead-simple theme that you can build anything from
MIT License
812 stars 274 forks source link

Move "WordPress files" to a subdirectory #103

Closed szepeviktor closed 4 years ago

szepeviktor commented 4 years ago

Closes #102

@jarednova :)

szepeviktor commented 4 years ago

Nice outlook :)

kép

szepeviktor commented 4 years ago

That "template" and "templates" bothers me. Please advise.

gchtr commented 4 years ago

It’s funny that somebody asked how to do this just yesterday on Stack Overflow.

I would propose a structure like this.

.
└── wp-content/themes/starter-theme/
    ├── bin/
    ├── src/
    │   └── StarterSite.php
    ├── static/
    ├── tests/
    ├── theme/
    │   ├── archive.php
    │   ├── author.php
    │   ├── footer.php
    │   ├── functions.php
    │   ├── header.php
    │   ├── index.php
    │   ├── page.php
    │   ├── search.php
    │   ├── single.php
    │   ├── screenshot.png
    │   └── style.css
    ├── views/
    ├── .gitignore
    ├── .travis.yml
    ├── LICENSE
    ├── composer.json
    ├── humans.txt
    ├── phpunit.xml
    └── README.md

(Edit here%5Cn20.562%20%203theme4source!5php62%01654320*))

szepeviktor commented 4 years ago

It’s funny that somebody asked how to do this just yesterday on Stack Overflow.

Is he a clone of me?? 🙄

szepeviktor commented 4 years ago

I would propose a structure like this.

I agree with theme/ and views/

szepeviktor commented 4 years ago

Thank you for the fix.

szepeviktor commented 4 years ago

@jarednova Could you give me a proper English sentence to add to What's here? section of the README?