Skip to content

Instantly share code, notes, and snippets.

@nathaningram
nathaningram / styles.css
Last active Dec 20, 2022
Optimizing Your Starter Site 2022 - CSS Samples
View styles.css
/********* Kadence Menu *********/
/* Hides the underline on current menu items in underline style */
.header-navigation-style-underline .current-menu-item a:after,
.header-navigation-style-underline .menu-item-has-children a:after {
display: none;
}
.header-navigation-style-underline .current-menu-item a:hover:after {
@nathaningram
nathaningram / bb-delete-cache.php
Created Nov 2, 2022
Creating a Starter Site 2022 - MU Beaver Builder Delete Cache
View bb-delete-cache.php
<?php
/*
Plugin Name: BB delete cache
Plugin URI: http://www.wearewp.pro
Description: Add delete beaver builder cache button in admin bar
Contributors: wearewp, thierrypigot
Author: WeAreWP
Author URI: http://www.wearewp.pro
Text Domain: bb-delete-cache
Domain Path: /languages/
@nathaningram
nathaningram / cfdashwidgets.php
Last active Nov 30, 2022
Creating a Starter Site 2022 - Custom Functions - Dashboard Widgets
View cfdashwidgets.php
<?php
/*
Plugin Name: Custom Dashboard Widgets
Plugin URI: https://nathaningram.com
Description: Creates Custom Dashboard Widgets for Client Websites
Version: 2022.11
Author: Nathan Ingram
Author URI: https://nathaningram.com
License: GPL2
*/
@nathaningram
nathaningram / cfshortcodes.php
Last active Nov 30, 2022
Creating a Starter Site 2022 - Custom Functions - Shortcodes
View cfshortcodes.php
<?php
/*
Plugin Name: Custom Shortcodes
Plugin URI: https://nathaningram.com
Description: Add Custom Shortcodes
Version: 2022.11
Author: Nathan Ingram
Author URI: https://nathaningram.com
License: GPL2
*/
@nathaningram
nathaningram / cfmedia.php
Last active Nov 30, 2022
Creating a Starter Site 2022 - Custom Functions - Media Handling
View cfmedia.php
<?php
/*
Plugin Name: Custom Media Handling Fuctions
Plugin URI: https://nathaningram.com
Description: Customize WordPress Default Media Behavior
Version: 2022.11
Author: Nathan Ingram
Author URI: https://nathaningram.com
License: GPL2
*/
@nathaningram
nathaningram / cfbeaver.php
Last active Oct 27, 2022
Creating a Starter Site 2022 - Custom Functions - Beaver Builder
View cfbeaver.php
<?php
/*
Plugin Name: Custom Functions for Beaver Builder
Plugin URI: https://nathaningram.com
Description: Extend and Customize Beaver Builder
Version: 2022.11
Author: Nathan Ingram
Author URI: https://nathaningram.com
License: GPL2
*/
@nathaningram
nathaningram / cfgravity.php
Last active Nov 28, 2022
Creating a Starter Site 2022 - Custom Functions - Gravity Forms
View cfgravity.php
<?php
/*
Plugin Name: Custom Gravity Forms Fuctions
Plugin URI: https://nathaningram.com
Description: Customize Gravity Forms Default Behavior
Version: 2022.11
Author: Nathan Ingram
Author URI: https://nathaningram.com
License: GPL2
*/
@nathaningram
nathaningram / cfcore.php
Last active Nov 30, 2022
Creating a Starter Site 2022 - Custom Functions - Core
View cfcore.php
<?php
/*
Plugin Name: Custom Core Functions
Plugin URI: https://nathaningram.com
Description: Customize the WP Core
Version: 2022.11
Author: Nathan Ingram
Author URI: https://nathaningram.com
License: GPL2
*/
@nathaningram
nathaningram / cfdash.php
Last active Nov 30, 2022
Creating a Starter Site 2022 - Custom Functions - Dashboard
View cfdash.php
<?php
/*
Plugin Name: Custom Dashboard Functions
Plugin URI: https://nathaningram.com
Description: Customize the WP Admin
Version: 2022.11
Author: Nathan Ingram
Author URI: https://nathaningram.com
License: GPL2
*/
@nathaningram
nathaningram / wp-config.php
Last active Oct 27, 2022
Creating a Starter Site 2022 - Customized wp-config
View wp-config.php
<?php
/* Debug Options */
define( 'WP_DEBUG_LOG', false );
define( 'WP_DEBUG', false );
/* MySQL Settings */
define( 'DB_NAME', 'database_name_here' );
define( 'DB_USER', 'username_here' );