wordpress-theme-base
wordpress-theme-base copied to clipboard
Theme base for WordPress, ES2017+ & PHP7+
My "final gift": post_class() is a monster, and does more work than necessary. The post object should contain enough data to create all classes actually needed. https://core.trac.wordpress.org/browser/tags/5.1.1/src/wp-includes/post-template.php#L466 https://github.com/Vincit/wordpress-theme-base/blob/8161ccde82e48c4502f0b9d6413964b4681f6089/inc/templates/SinglePost.php https://github.com/Vincit/wordpress-theme-base/blob/8161ccde82e48c4502f0b9d6413964b4681f6089/inc/templates/PostListItem.php
I got a weird error running `npm run watch` using the latest LTS of Node, which is 10. ``` DONE Compiled successfully in 7880ms 7:56:42 PM webpack: Compiled successfully. internal/stream_base_commons.js:62...
![image](https://user-images.githubusercontent.com/2719615/46015412-e9a35880-c0da-11e8-81b2-2a366c75b89c.png) For whatever reason, Firefox and webpack-dev-server don't like each other. I think that the problem is in self signed certificates, as this doesn't happen if HTTPS isn't used. Workaround:...
https://github.com/aucor/aucor-starter/blob/master/inc/wp-settings.php#L115-L125 Also set default media link targets if not set already.
When using the iPhone X, and clicking on menu icons, the icons may suddenly become larger and fill the full container, instead of the expected 20 something pixel width &...
The sizes attribute will use the content_width global to ruin layouts. Simply put: If your content_width is 600, your images won't be wider than that, because the attribute value is...
https://github.com/kgrz/babel-plugin-console-groupify maybe https://www.npmjs.com/package/babel-plugin-tailcall-optimization