Skip to content

ryanhellyer/hellish-simplicity

Repository files navigation

=== Hellish Simplicity ===
Contributors: ryanhellyer
Donate link: https://geek.hellyer.kiwi/donate/


== Description ==

A clean simple design. Responsive design makes the theme look good on all devices and the header text can be easily modified via the theme customiser or the themes header admin page.


== IDEAS FOR GOING FORWARD ==

https://github.com/spatie/crawler

PERHAPS NEED TO DO THIS WITH JUST THE BARE MINIMUM REQUIRED FOR RYAN.HELLYER.KIWI?
/2022/
/tag/bla/
/somepost/
?s=whatever (FuseJS)

check for presence in JSON blob
Since simpler, can literally just do a URL lookup.
If multiple posts in one blob, then display archive along with title of the blob. (covers both date and taxonomy archives).
If one post in blob, then display post.
easiest method may be to store all post IDs for archives rather than calculating them - can calculate them later to optimise.

For static generation performance, perhaps actual page HTML could be generated from the JSON blob?
Requires implementing stuff like SEO things, which could be tricky.
Simplifies, since could do templating via mustache. https://github.com/KiNgMaR/php-mustache (or could simplify by writing own parser - may be faster too)

Stats for generation times:
advanced-cache.php: 0.006028
functions.php: 0.11242
footer.php: 0.155627

Perhaps don't display comments until JS based system implemented.

No need to query var support in initial version.

# this doesn't work, because terms need to be stored for use with each post path too. Don't want to hunt through object looking for terms.
$index = array(
	'home_url'     => esc_url( home_url() ),
	'templates'    => $this->templates(),
	'paths'        => array(
		$this->term_archives(), # array( 'type' => 'archive', 'title' => 'something', 'ids' => array( $ids ) )
		$this->date_archives(), # same as term_archives
		$this->posts(),         # array( 'title' => 'post title', 'content' => 'post content', 'timestamp' => '1234567890', 'taxonomies' => array( 'post_tag' => array( 42, 44, 87 ) ),
	);
	'date_format'    => esc_html( get_option( 'date_format' ) ),
	'home_title'     => esc_html( get_option( 'blogname' ) ) . ' – ' . esc_js( get_option( 'blogdescription' ) ),
	'posts_per_page' => absint( get_option( 'posts_per_page' ) ),
);

== FEATURES ==
Store JSON in IndexedDB (data will be ~4 MB).

== FEATURES NOT TO SUPPORT ==
day/month archives
author archives
post pagination
password protected posts - add later
private posts - add later

== SCRAPER ==
Initially, store as plain static file (no base64).
Nginx try_files - if fails, send to PHP script which logs a 404

== WORDPRESS ==
1 min WP Cron to generate JSON blob - store in Redis and store iteration number which can be used for query var of JS/CSS. Max Redis key size is 512 MB.



== Changelog ==

== Version 2.2 ==
December 15th 2022
* AJAXified

== Version 2.1 =
March 9th 2020
* Coding standards fixes.
* Simplifying code.

== Version 2.0.2 =
October 16th 2016
* HTML5 Shiv update
* Enqueing the HTML5 shim
* Prefixed style handle

== Version 2.0.2 =
September 23nd 2016
* Documentation improvements

== Version 2.0.1 =
September 22nd 2016
* Version bump to bypass broken wordpress.org theme uploader

== Version 2.0.1 ==
June 25th 2016
* Used static method to sanitize header text (avoids replicating sanitization functionality).

== Version 2.0 ==
June 24th 2016
* General update release to ensure all code meets current WordPress standards.
* Converted .assistive-text class to .screen-reader-text class.
* Converted #masthead to #site-header.
* Removed redundant .site-main class.
* Removed reference to colophon.
* Converted #site-info to .site-info (makes SCSS easier to read).
* Removed reference to non-existent.site-main.
* Cleaned up H1 tag usage. No more H1 tag double ups.
* Removed echo from esc_attr_e().
* Removed unneeded .po file.
* Removed admin bar custom header link (unneeded as custom headers no longer add this)
* Documented logic behind the addition of an admin menu link.
* Custom header text was sanitized more aggressively.
* Translation strings were correctly escaped.
* License updated with JS information.

== Version 1.9 ==
October 8th 2015
* Fixed bug in title tags
* Switching to constants instead of public variables where possible
* Fixed non-closing aside tag bug
* Fixed output bugs in search form
* Escaped most translation strings - needed since dot org now allows external translations
* Improved styling for textarea's
* Improved styling of forms, specifically JetPack / Grunion contact forms
* Moved footer meta into template part
* Moved CSS into sub-folder to clean up root folder
* Moved sidebar into sub-folder to clean up root folder

== Version 1.8 ==
August 1st 2015
* Changed header link to point to header section of customizer
* Fixed vertical scrollbars bug
* Including SASS map on recommendation of Rarst
* Fixed YARRP related styling bug
* Switched to add_theme_support for adding title tags.
* Abstracted code from full page template
* Miscellaneous syntax improvements

== Version 1.7.8 ==
March 22nd 2015
* Fixed pagination code which displayed empty UL tags when not in use

== Version 1.7.7 ==
March 21st 2015
* Removed redundant spacer lines from end of last post in loops
* Added German language translation. Thanks to @mrsealand for providing the translation (https://twitter.com/mrsealand)

== Version 1.7.6 ==
February 17th 2015
* Forced categories lists to not display when only one category used in total

== Version 1.7.5 ==
February 3rd 2015
* Minified SCSS generated CSS

== Version 1.7.4 ==
January 21st 2015
* Removed replicated text strings by moving strings to class variables
* Removed admin header page. Customiser should be used instead

== Version 1.7.3 ==
December 18th 2014
* Changed theme slug from hellish to hellish-simplicity
* Removed pointless comment HTML code assistance
* Removed redundant and blank code

== Version 1.7.2 ==
November 7th 2014
* Adding additional escaping

== Version 1.7.1 ==
October 4th 2014
* Changed theme slug from hellish to hellish-simplicity

== Version 1.7 ==
September 3rd 2014
* Added extra escaping

== Version 1.6.4 ==
April 1st 2014
* Removed redundant "Customizer" link
* Changed to use site name as default header text

== Version 1.6.3 ==
March 25th 2014
* Fixed header description spacing for small browser widths
* Moved from built-in thumbnail creator to supporting the "Get the Image" plugin

== Version 1.6.2 ==
December 27th 2013
* Fixed caption spacing
* Fixed scrollbar bug triggered by Metroshare plugin

== Version 1.6.1 ==
December 24th 2013
* Changed from Less to SASS
* Fixed header overflow bug
* Added translation slug for strings already in WordPress
* Changed changlog.txt file to readme.txt
* Added extra content to new readme.txt file
* Added extra escaping
* Added extra code commenting
* Fixed bug in editor-style.css which gave links weird margins

== Version 1.6 ==
November 26th 2013
* Image template
* Fixed WordPress.org theme demo error

== Version 1.5.13 ==
September 7th 2013
* Correction of font file name

== Version 1.5.12 ==
September 4th 2013
* Added styling for Gravity Forms
* Fixed font location bug in editor-style.css

== Version 1.5.11 ==
August 26th 2013
* Added word wrap on paragraphs

== Version 1.5.10 ==
August 21st 2013
* Added max-width for iframes

== Version 1.5.9 ==
August 16th 2013
* Danish translation added courtesy of Henrik Shack (http://henrik.schack.dk/)

== Version 1.5.8 ==
August 15th 2013
* Updated the font truetype files from the Google Font directory and parsed through the Font Squirrel webfont generator

== Version 1.5.7 ==
August 15th 2013
* Added Bokmål translation for _nx function
* Renamed hellish.po file to nb_NO.po
* Made searchform.php valid HTML
* Props to Henrik Schack (http://henrik.schack.dk/) for spotting the bugs

== Version 1.5.6 ==
June 13th 2013
* Added Norwegian language translation

== Version 1.5.5 ==
May 16th 2013
* Added Norwegian language translation

== Version 1.5.4 ==
May 15th 2013
* Modified default sidebar to make it look pretty as a WordPress.org theme demo

== Version 1.5.3 ==
May 5th 2013
* Improved quote mark styling for blockquotes (changed to sans-serif)
* Added documentation to top of style.less file to let people know why it's in the theme
* Changed incorrect fallback font from sans-serif to serif
* Removed references to Helvetica and Arial from fallback fonts list (they served no real point in the code)
* Set table cell padding in sidebars (makes things like calendars more compact)
* Implemented print specific styles
* Changed page-full.php to full-width.php

== Version 1.5.2 ==
May 4th 2013
* Added styling for active numeric pagination
* Reduced line-height for list items in sidebar (they were spaced too far apart previously)

== Version 1.5.1 ==
May 1st 2013
* Removed hgroup tag due to recent change in HTML specifications
* A minor styling issue with captions fixed. Props to .org review team for spotting this.
* Added search query to search listings. Props to .org review team for spotting this.
* Removed reference to super admins from header page comments
* Added theme customizer support
* Fixed version number error on class
* Improved documentation
* Added styling for tables
* Added changelog

== Version 1.5 ==
March 5th 2013
* Complete rebuild as a standard WordPress theme
* Implemented HTML5 support
* Submitted to WordPress.org

== Version 1.4 ==
11th November 2011
* Complete rebuild utilising Pressabl theme base

== Version 1.3 ==
30th November 2008
* Complete rebuild utilising the PixoPoint Template Generator
* Changed to a GPL license

== Version 1.2 ==
26th February 2008
* Released for public download
* Added blue coloured option
* Changed to restricted licence

== Version 1.1 ==
~ mid 2008
* Added support for widgets
* Implemented on ryanhellyer.net

== Version 1.0 ==
~ early 2008
* Initial private build

About

Hellish Simplicity theme

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published