Skip to content

Instantly share code, notes, and snippets.

View Jehu's full-sized avatar

Marco Michely Jehu

View GitHub Profile
@Jehu
Jehu / functions.php
Last active February 28, 2020 07:41
Set hreflang="x-default" for WP Globus WordPress Plugin
<?php
/* ---------------------------------------------------------------------------
* Set hreflang="x-default" with WP Globus
* --------------------------------------------------------------------------- */
add_filter( 'wpglobus_hreflang_tag', 'custom_head_hreflang_xdefault', 10, 2 );
function custom_head_hreflang_xdefault() {
$hreflangs = WPGlobus_Utils::hreflangs();
$default_language = WPGlobus::Config()->default_language;
@Jehu
Jehu / plugin.php
Last active November 29, 2019 09:56
Use Groundhogg contact fields inside WPForms as smart tags
<?php
/**
* Plugin Name: WPForms GH Contact Smart Tag
* Plugin URI:
* Description: Use Groundhogg contact fields inside WPForms with Smart Tags. Se here for more informations about WPFOrms Smart Tags: https://wpforms.com/docs/how-to-use-smart-tags-in-wpforms/
* Version: 1.0
* Author: Marco Michely
* Author URI: https://www.michely-web-engineering.de
*/
defined( 'ABSPATH' ) or die( 'No script kiddies please!' );

Keybase proof

I hereby claim:

  • I am jehu on github.
  • I am mmichely (https://keybase.io/mmichely) on keybase.
  • I have a public key ASCAd9n8UUGPWk3ulM4B_i6aq1xaghJSTlqJVaTkl9JxhQo

To claim this, I am signing this object:

@Jehu
Jehu / README.md
Last active January 18, 2017 16:03 — forked from anonymous/README.md
basic navigation component with marko (v4) and koa (v3)
# ---------------------------------------------------------------------------
#
# Description: This file holds all my BASH configurations and aliases
#
# Sections:
# 1. Environment Configuration
# 2. Make Terminal Better (remapping defaults and adding functionality)
# 3. File and Folder Management
# 4. Searching
# 5. Process Management