Skip to content

Instantly share code, notes, and snippets.

View tekshrek's full-sized avatar

tekshrek tekshrek

View GitHub Profile
// SmoothScroll for websites v1.2.1
// Licensed under the terms of the MIT license.
// People involved
// - Balazs Galambosi (maintainer)
// - Michael Herf (Pulse Algorithm)
(function(){
// Scroll Variables (tweakable)
<?php
/**
* Klasse zum Erstellen einer WordPress Breadcrumb Navigation.
*
* @author Dominik Schilling
* @license GPLv2
* @link http://wpgrafie.de/204/
*
* @version 0.1.1
*/
<?php
function mn_modify_bloginfo($content, $feedelementname) {
Switch ($feedelementname) {
case 'name' : // Feed title
return "NEW_TITLE";
break;
default :
return $content;
<?php get_header() ?>
<main>
<?php if ( have_posts() ) { ?>
<?php the_post() ?>
<article itemprop="blogPosts" itemscope itemtype="http://schema.org/BlogPosting">
<figure>
<?php the_post_thumbnail('medium', array('itemprop' => 'image') ) ?>