This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: Sanse 100 | |
* Plugin URI: https://foxland.fi/ | |
* Description: Load Sanse theme styles inline in the header. | |
* Version: 1.2.1 | |
* Author: Sami Keijonen | |
* Author URI: http://foxnet.fi/ | |
* Text Domain: sanse-100 | |
* Domain Path: /languages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Onpas taas kiva kun on kesä. Linnut visertää, ihmiset tuoksuu saunan puhtaalle ja pieni sadekaan ei tunnu luonnon harmoniaa haittaavan. | |
On se vaan niin mukavan rauhallista viettää kesälomaa mökillä ja kuunnella laineiden liplatusta. Hyttysten leikkisän syöntikilpailun | |
seuraaminenkin on yksinäiselle ihmiselle yllättävän mukavaa puhaa. Tulkaa vaan kaikki hyttyset ja paarmat tännepäin! | |
Taidanpa kuitenkin soittaa ruotsinserkulle Håkanille, josko hän ehtisi pitkästä aikaa käymään visiitillä. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Handles JavaScript detection. | |
* | |
* Adds a `js` class to the root `<html>` element when JavaScript is detected. | |
* | |
* @since Twenty Sixteen 1.0 | |
*/ | |
function twentysixteen_javascript_detection() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Display 'attendee' post type in alphabetical order by it's category. | |
* | |
* The output looks like this: | |
* | |
* A | |
* Ace Bill | |
* Alb Nick |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.icon { | |
display: inline-block; | |
fill: currentColor; | |
height: 1em; | |
width: 1em; | |
vertical-align: middle; | |
position: relative; /* Align more nicely with capital letters */ | |
top: -0.0625em; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<body> | |
<?php | |
// 1. Include SVG images from assets/images folder right after <body> element. | |
$svg_icons = get_template_directory() . '/assets/images/svg-icons.svg'; | |
require_once( $svg_icons ); | |
// 2. Include for example Twitter icon from SVG sprite. This can be anywhere in your markup. | |
?> | |
<svg class="icon icon-twitter"> |