Skip to content

Instantly share code, notes, and snippets.

View jimi008's full-sized avatar
:octocat:
Working as DevOps Engineer

Jamil Ahmed jimi008

:octocat:
Working as DevOps Engineer
View GitHub Profile
@jimi008
jimi008 / gfcptaddonbase.php
Created July 15, 2016 12:15 — forked from anonymous/gfcptaddonbase.php
Temp fix for Multiselect of Custom Taxonomies in Gravity Forms + Custom Post Types 3.1
<?php
if (!class_exists('GFCPTAddonBase')) {
/*
* Base class for the GFCPT Addon. All common code is in here and differences per version are overrided
*/
class GFCPTAddonBase {
protected $_has_tag_inputs = false;
@jimi008
jimi008 / How to use Images as Radio buttons.md
Created June 28, 2016 15:01 — forked from rcotrina94/How to use Images as Radio buttons.md
How to use images for radio buttons (input-radio).
@jimi008
jimi008 / functions.php
Created November 18, 2015 05:56 — forked from jameskoster/functions.php
WordPress - Move the textarea to the top of the comment form
function jk_move_textarea( $input = array () ) {
static $textarea = '';
if ( 'comment_form_defaults' === current_filter() ) {
$textarea = $input['comment_field'];
$input['comment_field'] = '';
return $input;
}
if ( is_singular( 'post' ) || is_page() ) {
print $textarea;