Skip to content

Instantly share code, notes, and snippets.

View tiadotdev's full-sized avatar

Tia tiadotdev

  • Canada, Online
View GitHub Profile
@mrwweb
mrwweb / readme.md
Last active May 18, 2023 18:57
The Events Calendar v2 Template Reset & Customizations - Now on Github
@florianbrinkmann
florianbrinkmann / index.js
Last active February 26, 2024 21:40
Gutenberg FormTokenField block with posts as source
/**
* External dependencies
*/
const { isUndefined, pickBy } = lodash;
/**
* WordPress dependencies
*/
const {
registerBlockType,
@benplum
benplum / editor-blocks.php
Last active May 8, 2022 15:01
Block Editor - Disable Core Blocks
<?php
function editor_disable_core_blocks() {
$blacklist = array(
// -- Common
'core/paragraph',
'core/image',
'core/heading',
'core/subhead',
'core/gallery',
@Auke1810
Auke1810 / wpa-clean-header.php
Last active May 9, 2024 14:14
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
*/
@jo-snips
jo-snips / custom-events-wp_query.php
Last active January 5, 2023 17:24
The Events Calendar - Custom Query Using WP_Query
<?php
$args = array(
'post_status'=>'publish',
'post_type'=>array(TribeEvents::POSTTYPE),
'posts_per_page'=>10,
//order by startdate from newest to oldest
'meta_key'=>'_EventStartDate',
'orderby'=>'_EventStartDate',
'order'=>'DESC',