Giter Site home page Giter Site logo

junaidqadirb / branch Goto Github PK

View Code? Open in Web Editor NEW
88.0 5.0 19.0 216 KB

Branch Starter Theme - A WordPress starter theme based on Timber library and Bootstrap

License: MIT License

PHP 40.98% JavaScript 13.12% CSS 2.72% HTML 43.18%
timber-library wordpress-starter-theme bootstrap php browsersync gulp twig html sass javascript

branch's People

Contributors

ereinach avatar jukra avatar junaidqadirb avatar kaido24 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

branch's Issues

It would be nice to have logo also at the place

Just searched quite a long time 1 or more hours how to add a logo support.

added to constructor..
add_theme_support('custom-logo');

and context method..

$context['logo'] = get_custom_logo();

So I can start using it within templates.
Just adding this one as an idea.

Error when accessing blog

First of all, thanks so much for this starter theme. I've been working on getting Sass and Bootstrap working on the Timber Starter theme for over a week now lol.

Anyway, I seem to have come across a fatal error when attempting to access the blog. Below is the error message. Any help is greatly appreciated!

Fatal error: Uncaught Error: Call to undefined method Timber\TextHelper::remove_tags() in M:\Docs\Web\MAMP\htdocs\portfolio-site\wp-content\plugins\timber-library\lib\Post.php:437 Stack trace: #0 M:\Docs\Web\MAMP\htdocs\portfolio-site\wp-content\themes\branch\vendor\twig\twig\lib\Twig\Template.php(672): Timber\Post->get_preview() #1 M:\Docs\Web\MAMP\htdocs\portfolio-site\wp-content\themes\branch\vendor\twig\twig\lib\Twig\Environment.php(462) : eval()'d code(43): Twig_Template->getAttribute(Object(Timber\Post), 'get_preview', Array) #2 M:\Docs\Web\MAMP\htdocs\portfolio-site\wp-content\themes\branch\vendor\twig\twig\lib\Twig\Template.php(215): __TwigTemplate_bbc3cacb8969617e11e3317dc42d4889458c1c96cdf9bb3ad0fbff9a7cffbff2->block_content(Array, Array) #3 M:\Docs\Web\MAMP\htdocs\portfolio-site\wp-content\themes\branch\vendor\twig\twig\lib\Twig\Environment.php(462) : eval()'d code(27): Twig_Template->displayBlock('content', Array, Array) #4 M:\Docs\Web\MAMP\htdocs\portfolio-site\wp-content\themes\branch\vendor\twig\twig\lib\Tw in M:\Docs\Web\MAMP\htdocs\portfolio-site\wp-content\plugins\timber-library\lib\Post.php on line 437

Grunt watch didn't concat & create js files

First I wan't to say awsome work ๐Ÿ‘ . There where problem with Grunt searched for a problem related with grunt not creating js files without success. It continued until I found some tutorial telling just use grunt command.

Cant parse package.json

0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\node.exe',
1 verbose cli 'C:\Users\Konas\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'install' ]
2 info using [email protected]
3 info using [email protected]
4 silly loadCurrentTree Starting
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 silly rollbackFailedOptional Starting
8 silly rollbackFailedOptional Finishing
9 silly runTopLevelLifecycles Finishing
10 silly install printInstalled
11 verbose stack Error: Failed to parse json
11 verbose stack Unexpected token '"' at 13:3
11 verbose stack "engines": {
11 verbose stack ^
11 verbose stack at parseError (C:\Users\Konas\AppData\Roaming\npm\node_modules\npm\node_modules\read-package-json\read-json.js:390:11)
11 verbose stack at parseJson (C:\Users\Konas\AppData\Roaming\npm\node_modules\npm\node_modules\read-package-json\read-json.js:79:23)
11 verbose stack at C:\Users\Konas\AppData\Roaming\npm\node_modules\npm\node_modules\read-package-json\read-json.js:48:5
11 verbose stack at C:\Users\Konas\AppData\Roaming\npm\node_modules\npm\node_modules\graceful-fs\graceful-fs.js:78:16
11 verbose stack at tryToString (fs.js:455:3)
11 verbose stack at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:442:12)
12 verbose cwd P:\Arbejde\Laravel\bodymindbalance\wp-content\themes\bodymindbalance
13 error Windows_NT 10.0.14393
14 error argv "C:\Program Files\nodejs\node.exe" "C:\Users\Konas\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "install"
15 error node v6.4.0
16 error npm v3.10.8
17 error file P:\Arbejde\Laravel\bodymindbalance\wp-content\themes\bodymindbalance\package.json
18 error code EJSONPARSE
19 error Failed to parse json
19 error Unexpected token '"' at 13:3
19 error "engines": {
19 error ^
20 error File: P:\Arbejde\Laravel\bodymindbalance\wp-content\themes\bodymindbalance\package.json
21 error Failed to parse package.json data.
21 error package.json must be actual JSON, not just JavaScript.
21 error
21 error This is not a bug in npm.
21 error Tell the package author to fix their package.json file. JSON.parse
22 verbose exit [ 1, true ]

You forgot to end the maintainers array.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.