Skip to content

Instantly share code, notes, and snippets.

Josh Leuze JLeuze

Block or report user

Report or block JLeuze

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@JLeuze
JLeuze / meteor-slideshow.php
Created Apr 16, 2018
Custom slideshow template with slide links that open in a new tab/window
View meteor-slideshow.php
<?php
/* Loop template for the Meteor Slides 1.5.6 slideshow
Copy "meteor-slideshow.php" from "/meteor-slides/" to your theme's directory to replace
the plugin's default slideshow loop.
Learn more about customizing the slideshow template for Meteor Slides:
http://www.jleuze.com/plugins/meteor-slides/customizing-the-slideshow-template/
*/
@JLeuze
JLeuze / header.php
Created Aug 20, 2016
Sitewide header slideshow for TwentyTen Theme
View header.php
<?php
/**
* Header template for our theme
*
* Displays all of the <head> section and everything up till <div id="main">.
*
* @package WordPress
* @subpackage Twenty_Ten
* @since Twenty Ten 1.0
*/
@JLeuze
JLeuze / header.php
Created Feb 6, 2016
Replace header image with slideshow for TwentyEleven Theme
View header.php
<?php
/**
* Header template for the theme
*
* Displays all of the <head> section and everything up till <div id="main">.
*
* @package WordPress
* @subpackage Twenty_Eleven
* @since Twenty Eleven 1.0
*/
@JLeuze
JLeuze / header.php
Last active Jan 13, 2016
Homepage header slideshow for Twenty Sixteen theme.
View header.php
<?php
/**
* The template for displaying the header
*
* Displays all of the head element and everything up until the "site-content" div.
*
* @package WordPress
* @subpackage Twenty_Sixteen
* @since Twenty Sixteen 1.0
*/
@JLeuze
JLeuze / functions.php
Last active Aug 29, 2015
A widget for adding your name in a sidebar.
View functions.php
<?php
/**
* Adds Name widget.
*/
class JL_Name_Widget extends WP_Widget {
/**
* Register widget with WordPress.
*/
function __construct() {
@JLeuze
JLeuze / name-widget-plugin.php
Last active Aug 29, 2015
A widget for adding your name in a sidebar.
View name-widget-plugin.php
<?php
/*
Plugin Name: Name Widget
Description: A widget for adding your name in a sidebar.
Plugin URI: https://gist.github.com/JLeuze/475bdd6bd6095b7bdf7c
Author: Josh Leuze
Author URI: http://www.jleuze.com/
License: GPL2
Version: 1.0
*/
@JLeuze
JLeuze / header.php
Created Feb 22, 2014
Homepage Header slideshow for Twenty Fourteen Theme
View header.php
<?php
/**
* The Header for our theme
*
* Displays all of the <head> section and everything up till <div id="main">
*
* @package WordPress
* @subpackage Twenty_Fourteen
* @since Twenty Fourteen 1.0
*/
@JLeuze
JLeuze / page_home.php
Created Feb 8, 2014
Homepage featured slideshow for Hatch Pro Theme
View page_home.php
<?php
/**
* Template Name: Home
*
* A custom page template for displaying the homepage.
*
* @package Hatch Pro
* @subpackage Template
*/
@JLeuze
JLeuze / header.php
Last active Aug 24, 2016
Sitewide header slideshow for TwentyTwelve Theme
View header.php
<?php
/**
* The Header template for our theme
*
* Displays all of the <head> section and everything up till <div id="main">
*
* @package WordPress
* @subpackage Twenty_Twelve
* @since Twenty Twelve 1.0
*/
@JLeuze
JLeuze / header.php
Last active Jun 2, 2016
Homepage header slideshow for TwentyTen Theme
View header.php
<?php
/**
* Header template for our theme
*
* Displays all of the <head> section and everything up till <div id="main">.
*
* @package WordPress
* @subpackage Twenty_Ten
* @since Twenty Ten 1.0
*/
You can’t perform that action at this time.