Skip to content

Instantly share code, notes, and snippets.

View ideag's full-sized avatar

Arūnas Liuiza ideag

View GitHub Profile
@ideag
ideag / gist:072505ad297fa5e5fcdfcefec178a20c
Created October 27, 2017 20:11 — forked from farico/gist:3938084
Linksniavimas LT vardu
<?php
/**
* Lietuviškų vardų linksniai.
*
* @author Maug Lee <mauglee@gmail.com>
* @copyright Copyleft (ↄ) 2011, Maug Lee
* @version 0.3
* @package Vardai
*/
<?php
function themename_customize_register($wp_customize){
$wp_customize->add_section('themename_color_scheme', array(
'title' => __('Color Scheme', 'themename'),
'priority' => 120,
));
// =============================
@ideag
ideag / jsfiddle-oembed.php
Last active March 18, 2023 00:25 — forked from ninnypants/gist-oembed.php
oEmbed JSFiddle links into WordPress posts
<?php
/*
Plugin Name: JSFiddle oEmbed
Plugin URI: http://klausk.aruno.lt/jsfiddle/
Description: Embed JSFiddle into posts
Version: 1.0
Author: IdeaG
Author URI: http://klausk.aruno.lt
License: GPL2
<?php
$slider_show = get_option('general_enable_slider');
$slider_auto = get_option('general_auto_play');
$slider_speed = get_option('general_slider_delay');
$slider_animation_time = get_option('general_animation_time');
if(empty($slider_speed)) {$slider_speed = "4000";}
if(empty($slider_animation_time)) {$slider_animation_time = "1000";}
if($slider_show[0] == 'yes') :
// if($slider_show[0] == 'yes') {
?>
@ideag
ideag / tiny-change.php
Last active December 15, 2015 00:38 — forked from anonymous/tiny-change
<?php
/*
Plugin Name: tinyChangeAuthor
Plugin URI: https://gist.github.com/ideag/5174195/
Description: Change post author on save
Author: @IdeaG (tinyStudio)
Version: 0.1
Author URI: http://wp.tribuna.lt
*/