Skip to content

Instantly share code, notes, and snippets.

View tiadotdev's full-sized avatar

Tia tiadotdev

  • Canada, Online
View GitHub Profile
@tiadotdev
tiadotdev / wpa-clean-header.php
Created April 6, 2023 14:20 — forked from Auke1810/wpa-clean-header.php
create a clean wordpress header and remove unnecessary clutter.
<?php
/*
Plugin Name: wordpress assist clean header
Plugin URI: http://www.wordpressassist.nl/
Description: Remove shortlink hook
Version: 1.0
Author: AukeJomm
Author URI: http://www.aukejongbloed.nl
*/
@tiadotdev
tiadotdev / index.js
Created November 15, 2022 23:35 — forked from florianbrinkmann/index.js
Gutenberg FormTokenField block with posts as source
/**
* External dependencies
*/
const { isUndefined, pickBy } = lodash;
/**
* WordPress dependencies
*/
const {
registerBlockType,
@tiadotdev
tiadotdev / editor-blocks.php
Created May 8, 2022 15:01 — forked from benplum/editor-blocks.php
Block Editor - Disable Core Blocks
<?php
function editor_disable_core_blocks() {
$blacklist = array(
// -- Common
'core/paragraph',
'core/image',
'core/heading',
'core/subhead',
'core/gallery',