Skip to content

Instantly share code, notes, and snippets.

View n7studios's full-sized avatar

Tim Carr n7studios

View GitHub Profile
@n7studios
n7studios / wp-to-buffer-pro-broadbean-featured-image.php
Created April 16, 2020 16:58
WordPress to Buffer Pro: Broadbean XML Feed: Define Featured Image on new imported Jobs
@n7studios
n7studios / wp-to-buffer-pro-convert-paragraphs-to-breaklines.php
Created February 29, 2020 13:18
WordPress to Buffer Pro: Convert Paragraphs to Breaklines
<?php
/**
* Plugin Name: WP to Buffer Pro: Convert Paragraphs to Breaklines in Statuses
* Plugin URI: http://www.wpzinc.com/
* Version: 0.0.1
* Author: WP Zinc
* Author URI: http://www.wpzinc.com
* Description: Modify the {content} output by converting paragraphs to breaklines
*/
@n7studios
n7studios / page-generator-pro-disable-mu-plugin.php
Created February 6, 2020 14:23
Page Generator Pro: Disable Automatic Copying of Must-Use Plugin
<?php
/**
* Plugin Name: Page Generator Pro: Disable Automatic Copying of Must-Use Plugin
* Plugin URI: http://www.wpzinc.com/
* Version: 0.0.1
* Author: WP Zinc
* Author URI: http://www.wpzinc.com
* Description: Stops Page Generator Pro automatically copying the Must-Use Plugin into the wp-content/mu-plugins folder on each update
*/
@n7studios
n7studios / wp-to-hootsuite-append-forwardslash-permalink.php
Created January 15, 2020 16:36
WordPress to Hootsuite Pro: Append Forwardslash to Permalink
@n7studios
n7studios / wp-to-buffer-append-forwardslash-permalink.php
Created October 29, 2019 13:13
WordPress to Buffer Pro: Append Forwardslash to Permalink
@n7studios
n7studios / wp-to-buffer-pro-modify-term-hashtag.php
Created July 30, 2019 14:55
WordPress to Buffer: Modify Term Hashtag
<?php
/**
* Plugin Name: WP to Buffer: Modify Term Hashtag
* Plugin URI: http://www.wpzinc.com/
* Version: 0.0.1
* Author: WP Zinc
* Author URI: http://www.wpzinc.com
* Description: Modify any {taxonomy} based hashtag output, immediately before it is sent to Buffer.
*/
@n7studios
n7studios / wp-to-buffer-modify-excerpt.php
Last active June 17, 2019 11:27
WordPress to Buffer: Modify Excerpt in Status
<?php
/**
* Plugin Name: WP to Buffer: Modify Excerpt in Status
* Plugin URI: http://www.wpzinc.com/
* Version: 0.0.1
* Author: WP Zinc
* Author URI: http://www.wpzinc.com
* Description: Modify the {excerpt} output, immediately before it is sent to Buffer.
*/
@n7studios
n7studios / custom-fields-meta-keys.php
Created March 4, 2019 12:24
Custom Fields Meta Box: Define Meta Keys for Performance
<?php
/**
* Plugin Name: Custom Fields Meta Box: Define Meta Keys for Performance
* Plugin URI: http://www.wpzinc.com/
* Version: 0.0.1
* Author: WP Zinc
* Author URI: http://www.wpzinc.com
* Description: Explicitly define the Meta Keys to display in the Custom Fields > Add New Custom Field > Name <select> dropdown, to save WordPress performing a potentially expensive and slow query.
*/
@n7studios
n7studios / page-generator-pro-tablepress.php
Created February 20, 2019 19:02
Page Generator Pro: TablePress Example Integration
<?php
/**
* Plugin Name: Page Generator Pro: TablePress Example Integration
* Plugin URI: http://www.wpzinc.com/plugins/page-generator-pro
* Version: 0.0.1
* Author: WP Zinc
* Author URI: http://www.wpzinc.com
* Description: Example integration of how keywords within a third party Plugin, that uses a shortcode within a Page Generator Pro 1.9.8+ Content Group can be processed.
*/
@n7studios
n7studios / post-to-social.php
Last active March 9, 2024 10:47
Determine Post Publish / Update via Classic Editor, Gutenberg and REST API
<?php
/**
* Example class implementation to perform actions, such as sending a Post
* to a third party API or service, when the Post is published or updated through:
* - Classic Editor
* - Gutenberg
* - REST API
*
* @package Post_To_Social
* @author Tim Carr