Skip to content

Instantly share code, notes, and snippets.

@julien731
julien731 / class-theme-switch.php
Created May 22, 2014 09:34
class-theme-switcher.php
<?php
/**
* Theme Switcher.
*
* @package DBA_Components
* @author Julien Liabeuf <web@n2clic.com>
* @license GPL-2.0+
* @link http://n2clic.com
* @copyright 2014 N2Clic
*/
@julien731
julien731 / class-custom-post-type.php
Last active March 29, 2018 04:22
Custom post type registration class.
<?php
/**
* Custom Post Type Registration.
*
* @package Contract Builder
* @author ThemeAvenue <contact@themeavenue.net>
* @license GPL-2.0+
* @link http://themeavenue.net
* @copyright 2013 ThemeAvenue
*/

Contract Killer

The popular open-source contract for web designers and developers by Stuff & Nonsense

  • Originally published: 23/12/2008
  • Revised date: 15/12/2013
  • Original post

@julien731
julien731 / breadcrumbs.php
Last active December 22, 2015 08:59
Generates a very customizable breadcrumb for WordPress. It supports all kind of content (pages, posts, archives, CPT...).
<?php
/**
* Generates a breadcrumb for WordPress
*
* This function will generate a very customizable breadcrumb
* for WordPress. It supports all kind of content (pages, posts,
* archives, CPT...).
*
* @author Julien Liabeuf <julien@liabeuf.fr>
* @copyright 2013 ThemeAvenue