Skip to content

Instantly share code, notes, and snippets.

View ofyalcin's full-sized avatar
🎯
Focusing

Ömer Faruk ofyalcin

🎯
Focusing
View GitHub Profile
@ofyalcin
ofyalcin / add-several-term-meta-fields-to-custom-taxonomy.php
Created August 5, 2019 14:59 — forked from ms-studio/add-several-term-meta-fields-to-custom-taxonomy.php
A variation on the previous gists, this time we add *several* term meta fields
<?php
// source: http://wordpress.stackexchange.com/questions/211703/need-a-simple-but-complete-example-of-adding-metabox-to-taxonomy
// original code authored by jgraup - http://wordpress.stackexchange.com/users/84219/jgraup
/*
* NOTE:
* We are registering the fields for a custom taxonomy, called "user-logement".
*/
<?php
/*
* WordPress Breadcrumbs
* author: Dimox
* version: 2019.03.03
* license: MIT
*/
function dimox_breadcrumbs() {
/* === OPTIONS === */
{
"fab fa-buromobelexperte": "&#xf37f; B\u00fcrom\u00f6bel-Experte GmbH & Co. KG. brands",
"fas fa-burn": "&#xf46a; Burn solid",
"fas fa-bullseye": "&#xf140; Bullseye solid",
"fas fa-bullhorn": "&#xf0a1; bullhorn solid",
"fas fa-building": "&#xf1ad; Building solid",
"far fa-building": "&#xf1ad; Building regular",
"fas fa-bug": "&#xf188; Bug solid",
"fab fa-btc": "&#xf15a; BTC brands",
"fas fa-briefcase-medical": "&#xf469; Medical Briefcase solid",