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
*/
IMPORTANT
Please duplicate this radar for a Safari fix!
This will clean up a 50-line workaround.
rdar://22376037 (https://openradar.appspot.com/radar?id=4965070979203072)
//////////////////////////////////////////////////////////////////////////////
(Now available as a standalone repo.)
<?php
function mn_modify_bloginfo($content, $feedelementname) {
Switch ($feedelementname) {
case 'name' : // Feed title
return "NEW_TITLE";
break;
default :
return $content;
@madnil
madnil / wp_modify_bloginfo.php
Last active December 19, 2015 07:29
This filter modifies the feed title. Copy the code in the functions.php of the theme and replace the placeholder NEW_TITLE with the desired title for the feed.
<?php
function mn_modify_bloginfo($content, $feedelementname) {
Switch ($feedelementname) {
case 'name' : // Feed title
return "NEW_TITLE";
break;
default :
return $content;
@ocean90
ocean90 / class-wordpress-breadcrumb.php
Created September 18, 2011 19:04
Breadcrumb Navigation for WordPress
<?php
/**
* Klasse zum Erstellen einer WordPress Breadcrumb Navigation.
*
* @author Dominik Schilling
* @license GPLv2
* @link http://wpgrafie.de/204/
*
* @version 0.1.1
*/