This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Do not email checkbox | |
Description: Show a checkbox to let the user choose if a post should go out to the subscribers. | |
Author: enej | |
Version: 1 | |
Lisence: GPL +2 | |
*/ | |
add_filter('jetpack_allow_per_post_subscriptions', '__return_true' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Sandbox Jetpack | |
Description: Point your jetapack to .com sandbox | |
Version: 1 | |
Author: Enej | |
License: GPLv2 or later | |
*/ | |
defined( 'ABSPATH' ) or die( 'No script kiddies please!' ); | |
define( 'JETPACK__API_BASE', 'https://enejtest.wordpress.com/jetpack.' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: Jetpack Wigets Mosted Visited Timeframe 10 days | |
* Plugin URI: http://URI_Of_Page_Describing_Plugin_and_Updates | |
* Version: 1.0 | |
* Author: Enej | |
* License: GPL2 | |
*/ | |
add_filter( 'jetpack_top_posts_days', 'jetpack_wigets_mosted_visited_timeframe_10' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Network Activated Plugin Only | |
Plugin URI: http://wordpress.org/extend/plugins/hello-dolly/ | |
Description: This plugin can only be network activated. And therefore it doesn't show up single site network admin page. | |
Author: Enej Bajgoric | |
Version: 1 | |
Network: true | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Broken WordPress plugin | |
Plugin URI: https://gist.github.com/ | |
Description: Broken plugin, don't activate it. | |
Author: Enej Bajgoric | |
Version: 1.0 | |
*/ | |
fun_ction test_(){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: Post formats for Jetpack's portfolio | |
* Description: Add post formats to Jetpack's portfolio post type | |
* Version: 1.0 | |
* Author: Enej | |
* License: GPL2 | |
*/ | |
function jetpack_portfolio_add_portfolio_post_formats() { | |
add_post_type_support( 'jetpack-portfolio', 'post-formats' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: Transparent latext | |
* Plugin URI: | |
* Description: Makes your latext images transparent. | |
* Version: 1.0 | |
* Author: Enej | |
* License: GPL 2 | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Detect-zoom | |
* ----------- | |
* Cross Browser Zoom and Pixel Ratio Detector | |
* Version 1.0.4 | Apr 1 2013 | |
* dual-licensed under the WTFPL and MIT license | |
* Maintained by https://github/tombigel | |
* Original developer https://github.com/yonran | |
*/ | |
//AMD and CommonJS initialization copied from https://github.com/zohararad/audio5js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Generates a Photon URL. | |
* | |
* @see http://developer.wordpress.com/docs/photon/ | |
* | |
* @param string $image_url URL to the publicly accessible image you want to manipulate | |
* @param array|string $args An array of arguments, i.e. array( 'w' => '300', 'resize' => array( 123, 456 ) ), or in string form (w=123&h=456) | |
* @return string The raw final URL. You should run this through esc_url() before displaying it. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Class My_Profile_CCT_Map extends Profile_CCT_Field { | |
var $default_options = array( | |
'type' => 'my_map', | |
'label' => 'map', | |
'description' => '', | |
'width' => 'full', | |
'before' => '', | |
'empty' => '', |
NewerOlder