Skip to content
♥ Just another boilerplate WordPress theme ♥
Branch: master
Clone or download
jaclyntan Replaced modular scale
todo:
- fix manifest
- fix navigation js
- clean up page layouts
- clean up sass variables
-look into laravel mix
Latest commit 1571987 May 24, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist Replaced modular scale May 24, 2019
docs Fixed few bugs Mar 19, 2019
inc Updated theme structure for accessibility Apr 9, 2019
src Replaced modular scale May 24, 2019
template-parts Replaced modular scale May 24, 2019
.DS_Store Major clean up and reorganisation Mar 1, 2019
.gitattributes Initial commit Feb 12, 2019
.gitignore Initial commit Feb 12, 2019
.jscsrc Initial commit Feb 12, 2019
.jshintignore Initial commit Feb 12, 2019
.travis.yml
404.php Updated theme structure for accessibility Apr 9, 2019
README.md Updated readme Mar 1, 2019
archive.php Updated theme structure for accessibility Apr 9, 2019
comments.php Fixed few bugs Mar 19, 2019
footer.php Updated how js files are stored and minified Apr 17, 2019
functions.php Updated theme structure for accessibility Apr 9, 2019
gulpfile.config.js Fixed few bugs Mar 19, 2019
header.php Replaced modular scale May 24, 2019
index.php Major clean up and reorganisation Mar 1, 2019
page.php Updated theme structure for accessibility Apr 9, 2019
screenshot.jpg Major clean up and reorganisation Mar 1, 2019
search.php Updated theme structure for accessibility Apr 9, 2019
sidebar.php Major clean up and reorganisation Mar 1, 2019
single.php Updated how js files are stored and minified Apr 17, 2019

README.md

Through centuries-old myth, tall stories, hand waving, a whole lotta [_s], [Monk] faff, and general hocus pocus, the power of unicorn tears have finally been harnessed to create the quintessential WordPress starter theme.

Featuring:

  • premade mobile menu styles
  • a blinged out command line
  • unopinionated template files
  • helpful theme functions
  • predefined acf page layouts such as columns, accordions, and cards

With this theme and it's related gulpfile you can:

  • add inline svg icons and social links with ease
  • change responsive menu styles using a single class
  • manage and develop multiple WordPress installs
  • generate automatic favicons
  • use es6 js
  • easily customise a woocommerce build with added mini cart dropdown functionality
  • incorporate modular scale responsive typography
  • use a tried and tested simple display:table grid framework or roll your own
  • optional swipebox, slick slider
  • modify default gutenberg block styles with ease
  • generate favicons
  • generate a site manifest
  • optimise images as you develop

As Phat Kitty Sr. says,

I always start the day with a good cuppa joe doused with a good 100mL of unicorn tears 💋

Unicorn Tears was brought to you by...

  .^====^.
 =( ^--^ )=    ME!!! The resident phat kitty. Meow :3
  /      \   /~
+( |    | )//

Features

Social media menu

You can build a social menu by making a new menu in the Appearance editor, and assigning it to the Social menu using custom links. Any links related to social medias will automically be converted to inline svg social icons. Any unrecognized networks will show a chain icon.


Inline svg icon functions

Commonly used SVG icons can now be called by the function get_icon('$svgname, $size, $title, $desc').

** get_icon() or get_social_icon() parameters:**

  • $svgname = name of svg defined in the array
  • $size = size of svg required
  • `$title = SVG title (makes it more accessible)
  • $desc = SVG description ( makes it more accessible)

Alternatively you can use, get_social_link_svg() to display a svg based on a given url.

get_social_link_svg() parameters:

  • $uri = url of social network
  • $size = size of svg required
  • $wrap_link = wrap displayed svg with the given url
  • `$title = SVG title (makes it more accessible)
  • $desc = SVG description ( makes it more accessible)

Custom SVGs can be defined as inline svg's in the relevant array in inc/class-svg-icons.php


Responsive menus

There are several predefined menu classes you can use for the nav menu. Just add the relevant class to .menu-wrapper in the header.


Page layouts

Page layouts are based on ACF's custom fields. Custom ones can be added accordingly.


Favicons

Favicons can be generated automatically and put in the /dist folder if there is a favicon.png placed in src/images

You can’t perform that action at this time.