Skip to content

Instantly share code, notes, and snippets.

View christianwach's full-sized avatar
Thinking time

Christian Wach christianwach

Thinking time
View GitHub Profile
<?php
/**
* Plugin Name: Remove CiviCRM Base Page from Menu
* Plugin URI: https://gist.github.com/christianwach/931bdf52803a35e363043ad0302fd4be
* Description: Removes the CiviCRM Base Page from a front-end menu.
* Author: Christian Wach
* Version: 1.0
* Author URI: https://haystack.co.uk
*/
@christianwach
christianwach / groups-filters-manage.php
Last active March 2, 2023 09:24
A WordPress plugin that manages the "Groups" plugin filters across a Multisite network.
<?php
/**
* Plugin Name: Manage Groups Filters
* Plugin URI: https://gist.github.com/christianwach/334816adcb29565dbfe35fd8d5c6d5b5
* Description: Manages the "Groups" plugin filters across a Multisite network.
* Version: 1.0
*
* Put this plugin in /wp-content/mu-plugins/
*
* @package CMW_Groups_Filters_Manage
@christianwach
christianwach / groups-buddpress-compatibility.php
Last active May 18, 2023 17:45
Resolves action conflicts between the BuddyPress and Groups plugins.
<?php
/**
* Plugin Name: BuddyPress Groups Action Resolver
* Plugin URI: https://gist.github.com/christianwach/897a0e94add0f477efdd03c089e25019
* Description: Resolves action conflicts between the BuddyPress and Groups plugins.
* Version: 1.0.0
* Author: Christian Wach
* Author URI: https://haystack.co.uk
* License: GPLv3
*
@christianwach
christianwach / suppress-log-warnings.php
Last active February 1, 2024 15:18 — forked from r-a-y/warnings.php
A WordPress plugin that suppresses warnings created by various plugins and themes in WordPress.
<?php
/**
* Plugin Name: Suppress Log Warnings
* Plugin URI: https://gist.github.com/christianwach/7d2bb481f9efe185f2b8
* Description: Suppresses annoying warnings generated by various plugins.
* Version: 1.0
*
* Put this plugin in /wp-content/mu-plugins/
*
* @package CMW_Suppress_Log_Warnings
@christianwach
christianwach / bp-enforce-display-name.php
Last active April 5, 2024 20:00
Enforces the format of the BuddyPress Name field and WordPress Display Name field.
<?php
/**
* Plugin Name: BP Enforce Display Name
* Description: Enforces the format of the BuddyPress Name field and WordPress Display Name field.
* Plugin URI: https://gist.github.com/christianwach/5f07b5cbc0b9067d2353e13cd19806be
* Version: 1.0
* Author: Christian Wach
* Author URI: https://github.com/christianwach
*/
@christianwach
christianwach / bp-hide-name-field.php
Last active April 5, 2024 20:19
Hides the default Name field on BuddyPress Registration form and Profile Edit screens.
<?php
/**
* Plugin Name: BP Hide Name Field
* Description: Hides the default Name field on BuddyPress Registration form and Profile Edit screens.
* Plugin URI: https://gist.github.com/christianwach/06d878edc277ce1ca8a7e59a82052744
* Version: 1.1
* Author: Christian Wach
* Author URI: https://github.com/christianwach
*/
@christianwach
christianwach / suppress-admin-notices.php
Last active April 24, 2024 18:33
A WordPress plugin that suppresses nagging admin notices from various plugins.
<?php
/**
* Plugin Name: Suppress Admin Notices
* Plugin URI: https://gist.github.com/christianwach/c30d2972d1807ad9a04dff1db971b7cd
* Description: Stop that damn nagging!
* Version: 1.0.1
* Author: Christian Wach
* Author URI: https://haystack.co.uk
*
* @package CMW_Suppress_Notices