Skip to content

Instantly share code, notes, and snippets.

View goaround's full-sized avatar

Johannes Kinast goaround

View GitHub Profile
@goaround
goaround / bookmark.js
Last active May 22, 2024 12:46
Mixpost Share Bookmark
javascript: (function(){window.open('https://MY_MIXPOST.DOMAIN/mixpost/MY_MIXPOST_WORKSPACE_ID/posts/create?link=' + encodeURIComponent(document.location.href) + '&title=' + encodeURIComponent(document.querySelector('h1').innerText) + '&body=' + encodeURIComponent(document.querySelector('h1').innerText + ' ' + document.location.href) ,'Mixpost','width=740,height=800,menubar=no,status=no')})()
@goaround
goaround / reusable-block-revisions.php
Created April 6, 2021 10:52
Adds revision support to the wp_block post type. Can be deleted after this issue https://github.com/WordPress/gutenberg/issues/19149 is closed & merged into WordPress Core
<?php
/*
Plugin Name: Reusable Block Revisions
Plugin URI: http://travel-dealz.de/
Description: Adds revision support to the wp_block post type. Can be deleted after this issue https://github.com/WordPress/gutenberg/issues/19149 is closed & merged into WordPress Core
Version: 1.0.0
Author: Johannes Kinast
Author URI: https://go-around.de
Min WP Version: 5.0
Max WP Version: 5.7
@goaround
goaround / change-guid-on-update.php
Created July 9, 2020 14:26
WordPress Snippet for changing the RSS Feed GUID after a significant post update
<?php
/**
* Plugin Name: Change RSS Feed GUID on update
* Plugin URI:
* Description: Change the RSS Feed GUID after a significant post update
* Author: Johannes Kinast <johannes@travel-dealz.de>
* Author URI: https://go-around.de
* Version: 1.0.0
*/
namespace Feed_Guid;
@goaround
goaround / taxonomy-wp-rest-search.php
Created June 12, 2020 14:51
WordPress Plugin: Taxonomy WP REST Search for the WordPress Block Editor (Gutenberg)
<?php
/**
* Plugin Name: Taxonomy WP REST Search
* Plugin URI:
* Description: Taxonomy WP REST Search for the WordPress Block Editor (Gutenberg)
* Author: Johannes Kinast <johannes@travel-dealz.de>
* Author URI: https://go-around.de
* Version: 1.0.0
*/
namespace Taxonomy_WP_REST_Search;