Skip to content

Instantly share code, notes, and snippets.

View codersantosh's full-sized avatar
💭
React + Gutenberg + API + Database

Santosh Kunwar codersantosh

💭
React + Gutenberg + API + Database
View GitHub Profile
@codersantosh
codersantosh / wp-dimox-breadcrumbs.php
Last active December 17, 2015 10:56 — forked from melissacabral/wp-dimox-breadcrumbs.php
breadcrumbs - place in functions.php and call in your theme with dimox_breadcrumbs()[Source](http://dimox.net/wordpress-breadcrumbs-without-a-plugin/)
<?php
/**
* Dimox Breadcrumbs
* http://dimox.net/wordpress-breadcrumbs-without-a-plugin/
* Since ver 1.0
* Add this to any template file by calling dimox_breadcrumbs()
* Changes: MC added taxonomy support
*/
function dimox_breadcrumbs(){
/* === OPTIONS === */
@codersantosh
codersantosh / strtr.js
Created September 24, 2015 08:53 — forked from dsheiko/strtr.js
Java-script strtr — translate characters or replace substrings
/**
* strtr() for JavaScript
* Translate characters or replace substrings
*
* @author Dmitry Sheiko
* @version strtr.js, v 1.0
* @license MIT
* @copyright (c) Dmitry Sheiko http://dsheiko.com
**/