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> |
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>Silmukat</title> | |
</head> | |
<body> | |
<h1>Silmukkarakenteet</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
<?php | |
/* Show downloads only from 'themes' category. Taxonomy is called 'download_category'. */ | |
add_filter( 'kultalusikka_front_page_download_arguments', 'my_front_page_arguments' ); | |
function my_front_page_arguments( $download_args ) { | |
$download_args['tax_query'] = array( | |
array( | |
'taxonomy' => 'download_category', | |
'field' => 'slug', |
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 | |
/* Add theme settings. */ | |
if ( is_admin() ) | |
require_once( trailingslashit ( get_template_directory() ) . 'admin/functions-admin.php' ); | |
/* Set up Licence key for this theme. URL: https://easydigitaldownloads.com/docs/activating-license-keys-in-wp-plugins-and-themes */ | |
// this is the URL our updater / license checker pings. This should be the URL of the site with EDD installed. | |
define( 'KULTALUSIKKA_SL_STORE_URL', 'http://localhost/foxnet-themes-shop' ); // add your own unique prefix to prevent conflicts |
OlderNewer