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
<div class="entry-summary" <?php hybrid_attr( 'entry-summary' ); ?>> | |
<?php | |
the_excerpt(); | |
?> | |
</div><!-- .entry-summary --> |
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
<span class="genericon genericon-home" aria-hidden="true"></span><span class="screen-reader-text">Home</span> |
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
/** | |
* Enable lightbox in feature image when on singular page. | |
* | |
* @see: https://wordpress.org/support/topic/help-activating-slb-in-my-theme?replies=14 | |
*/ | |
function toivo_post_thumbnail() { | |
if ( post_password_required() || is_attachment() || ! has_post_thumbnail() ) { | |
return; | |
} |
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
add_filter( 'origin_byline', 'my_byline' ); | |
function my_byline( $byline ) { | |
$byline = '<div class="byline">' . __( 'Article by [entry-author] - [entry-comments-link]', 'origin' ) . '</div>'; | |
return $byline; | |
} |
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 | |
/** | |
* Template Name: blog | |
* | |
* A custom page template for displaying blog archives. | |
* | |
* @package Hatch Pro | |
* @subpackage Template | |
*/ |
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
/* Filter bylines. */ | |
add_filter( 'oxygen_byline', 'my_byline' ); | |
add_filter( 'oxygen_byline_category', 'my_byline_category' ); | |
function my_byline( $byline ) { | |
$byline = '<div class="byline">' . __( '[entry-published] · by [entry-author] · in [entry-terms taxonomy="category" separator=" "] [entry-edit-link before=" · "]', 'oxygen' ) . '</div>' ; | |
return $byline; |
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 | |
/** | |
* @package Florence Child | |
* @subpackage Functions | |
* @version 0.1 | |
* @author Galin Simeonov | |
* @link http://devpress.com | |
* @license http://www.gnu.org/licenses/gpl-2.0.html | |
*/ |
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> | |
<head> | |
<title>Lomake</title> | |
</head> | |
<body> | |
<h1>Lomake</h1> |
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> | |
<head> | |
<title>Keskiarvo</title> | |
</head> | |
<body> | |
<h1>Keskiarvo</h1> |