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 | |
function alphaindex_register_song() { | |
register_post_type('song', array( | |
'label' => 'Songs', | |
'menu_icon' => 'dashicons-format-audio', | |
'description' => '', | |
'public' => true, | |
'show_ui' => true, | |
'show_in_menu' => true, | |
'capability_type' => 'post', |
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 | |
function alphaindex_alpha_tax() { | |
register_taxonomy( 'alpha',array ( | |
0 => 'song', | |
), | |
array( 'hierarchical' => false, | |
'label' => 'Alpha', | |
'show_ui' => false, | |
'query_var' => true, | |
'show_admin_column' => false, |
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
.photo-grid li:hover figcaption { | |
opacity: 1; | |
} |
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
.photo-grid img { | |
display: block; | |
height: auto; | |
-webkit-transition: all 300ms; | |
-moz-transition: all 300ms; | |
transition: all 300ms; | |
max-width: 100%; | |
} | |
.photo-grid li:hover img { |
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
.photo-grid figcaption p { | |
display: table-cell; | |
font-size: 1.5em; | |
position: relative; | |
top: -40px; | |
width: 289px; | |
-webkit-transition: all 300ms ease-out; | |
-moz-transition: all 300ms ease-out; | |
transition: all 300ms ease-out; | |
vertical-align: middle; |
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
.photo-grid figcaption { | |
background: rgba(0,0,0,0.8); | |
color: white; | |
display: table; | |
height: 100%; | |
left: 0; | |
opacity: 0; | |
position: absolute; | |
right: 0; | |
top: 0; |
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
html { | |
font-size: 0.875em; /* 14 pixels */ | |
} | |
@media (min-width: 30em) { | |
html { | |
font-size: 1em; /* 16 pixels */ | |
} | |
} |
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
p:first-of-type { | |
font-size: 1.125em; | |
} | |
p:first-of-type:first-line { | |
font-size: 1.125em; | |
font-style:italic; | |
} | |
p:first-of-type:first-letter { |
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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Link Location Plugin</title> | |
<link rel="stylesheet" href="styles/style.css"> | |
</head> | |
<body> | |
<h1>Here's a bunch of links</h1> |
OlderNewer