Skip to content

Instantly share code, notes, and snippets.


Robbie Mathieu rob-mathieu

View GitHub Profile

MongoDB Cheat Sheet

Show All Databases

show dbs

Show Current Database

thegitfather /
Last active Jan 20, 2021
Vanilla JavaScript Quick Reference / Cheatsheet
lots0logs / child-theme-functions.php
Created Feb 16, 2016
WordPress :: Divi Builder :: Search Module :: Custom Post Types
View child-theme-functions.php
function my_remove_default_et_pb_custom_search() {
remove_action( 'pre_get_posts', 'et_pb_custom_search' );
add_action( 'pre_get_posts', 'my_et_pb_custom_search' );
add_action( 'wp_loaded', 'my_remove_default_et_pb_custom_search' );
function my_et_pb_custom_search( $query = false ) {
if ( is_admin() || ! is_a( $query, 'WP_Query' ) || ! $query->is_search ) {
PurpleBooth /
Last active Jan 21, 2021
A template to make good

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.


jo-snips / events-conditional-wrappers.php
Last active Dec 30, 2020
The Events Calendar: Basic Conditional Wrappers
View events-conditional-wrappers.php
/* Conditional Logic to Detect Various Event Related Views/Pages
if( tribe_is_month() && !is_tax() ) { // Month View Page
echo 'were on the month view page';
} elseif( tribe_is_month() && is_tax() ) { // Month View Category Page