Theme URI: https://github.com/misfist/littlesis Tags: Blog, Bootstrap 4 Requires at least: 4.5.0 Tested up to: 4.9.1 Version: 0.2.0 License: GPLv3 License URI: https://www.gnu.org/licenses/gpl.html
Child theme based on Understrap theme.
It shares with the parent theme all PHP files and adds its own functions.php on top of the UnderStrap parent theme's functions.php.
IT DID NOT LOAD THE PARENT THEMES CSS FILE(S)! Instead it uses the UnderStrap Parent Theme as dependency via Bower and compiles its own CSS file from it.
Uses the Enqueue method the load and sort the CSS file the right way instead of the old @import method.
Install the parent theme UnderStrap first: https://github.com/holger1411/understrap
Just upload the littlesis folder to your wp-content/themes directory
Go into your WP admin backend
Go to "Appearance -> Themes"
Activate the LittleSis Blog theme
WordPress will use the parent theme templates to render pages except when there is an appropriate template in the LittleSis child theme.
Add your own CSS styles to /sass/theme/_{file}.scss
To overwrite Bootstrap or UnderStraps base variables just add your own value to: /sass/theme/_bootstrap-custom-variables.scss
For example: the "$brand-primary" variable is used by both, Bootstrap and UnderStrap. Add your own color like: $brand-primary: #ff6600; in /sass/theme/_bootstrap-custom-variables.scss overwrite it. That will change automatically all elements who use this variable. It will be outputted into: /css/style.min.css and /css/style.css
So you have one clean CSS file at the end and just one request.
npm install
then: gulp
To work and compile your Sass files on the fly start:
$ gulp watch
Or, to run with Browser-Sync:
/gulpfile.js
in the beginning of the file:
var browserSyncOptions = {
proxy: "localhost/theme_test/", // <----- CHANGE HERE
notify: false
};
$ gulp watch-bs
[1] Visit http://browsersync.io for more information on Browser Sync
Theme functions are in separate files within /inc/
Templates
0.2.0 Nov 29, 2018
0.1.14 December 7, 2017
public-accountability
GitHub organization0.1.13 October 28, 2017
0.1.11 May 9, 2017
0.1.10 May 1, 2017
template-tags.php
PHP Recoverable fatal error: Object of class WP_Error could not be converted to string in /var/www/blog/wordpress/wp-content/themes/littlesis/inc/template-tags.php on line 96
0.1.9 April 10, 2017
0.1.8 April 5, 2017
0.1.7 March 31, 2017
0.1.6 March 31, 2017
0.1.5 March 30, 2017
0.1.4.1 March 20, 2017
0.1.4 March 18, 2017
max_pages
var to localized taxonomy-filter object0.1.3 March 15, 2017
0.1.2 March 14, 2017
0.1.1 March 14, 2017
0.1.0 March 14, 2017
0.0.10 March 11, 2017
posts_per_page
property to localized littlesis_taxonomy_filters
object, based on posts_per_page
option selected in admin. Applied to home page0.0.9 March 6, 2017
no-thumbnail
0.0.8 February 27, 2017
0.0.7 February 27, 2017
0.0.4 February 26, 2017
0.0.3 February 25, 2017
0.0.2 February 22, 2017
uncategorized
from filter-nav list0.0.1 February 12, 2017 [WIP]