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 namespace GM; | |
class PointersManager implements PointersManagerInterface { | |
private $pfile; | |
private $version; | |
private $prefix; | |
private $pointers = array(); | |
public function __construct( $file, $version, $prefix ) { |
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
The MIT License (MIT) | |
Copyright (c) 2016 Giuseppe Mazzapica | |
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | |
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | |
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WIT |
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 | |
namespace GM; | |
/** | |
* `WP_Query` subclass that takes a non-paginated query and split into different | |
* paginated queries offering a transparent interface to "standard loop" usage. | |
* | |
* The class is not 100% transparent: | |
* - the var `$posts` and the method `get_posts()`, that are not used directly | |
* in standard loop usage, here don't return array of all posts, but only posts |
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 namespace GM; | |
/** | |
* Angie. Very simple, and quite powerful, plain PHP template engine. | |
* | |
* @author Giuseppe Mazzapica <giuseppe.mazzapica@gmail.com> | |
* @license http://opensource.org/licenses/MIT MIT | |
*/ | |
class Angie | |
{ |
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: Private Post Access | |
* Plugin URI: http://wordpress.stackexchange.com/questions/130967/get-full-page-html-for-a-non-public-wordpress-page | |
* Description: Generate and handle urls that allow access to posts in non-public status. | |
* Author: G. M. | |
* Author URI: http://wordpress.stackexchange.com/users/35541/g-m | |
* | |
*/ | |
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: Cpt In Main Query By Meta | |
* Plugin URI: http://wordpress.stackexchange.com/questions/129236/ | |
* Description: Allow mixing a post type with another on main query, only if the second match some meta query args | |
* Author: Giuseppe Mazzapica | |
* Author URI: http://wordpress.stackexchange.com/users/35541/g-m | |
*/ | |
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: GM Random Background | |
* Description: Extends WP custom background feature to show a random image that change hourly | |
* Plugin URI: http://wordpress.stackexchange.com/questions/141778/35541 | |
* Author: G. M. | |
* Author URI: http://wordpress.stackexchange.com/users/35541/g-m | |
* | |
*/ | |
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: GM Custom Editor Height | |
* | |
* Description: Gives to users of WP 3.6 chance to change wysiwyg editor height by setting options in the user profile page. Two options: one for desktops, one for mobile | |
* Version: 0.1.0 | |
* Author: Giuseppe Mazzapica | |
* Requires at least: 3.6 | |
* Tested up to: 3.6 | |
* |
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 | |
/** | |
* @package GMNextGenPreviewImage | |
* @version 0.1.0 | |
*/ | |
/** | |
Plugin Name: GM NextGen Preview Image | |
* | |
Author: Giuseppe Mazzapica | |
Version: 0.1.0 |
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 namespace GM\FSDFM; | |
/** | |
* Plugin Name: Fullscreen Distraction-Free Mode (pre v4.1) | |
* Description: Allows to use the distraction-free mode that was active pre 4.1 WP version. | |
* Plugin URI: https://gist.github.com/Giuseppe-Mazzapica/c081ce03a68b00d983d5 | |
* Author: Giuseppe Mazzapica | |
* Author URI: https://gm.zoomlab.it | |
* License: MIT | |
* Version: 1.0.0 | |
*/ |