Skip to content

Instantly share code, notes, and snippets.

View sitebuilderone's full-sized avatar

SiteBuilderOne sitebuilderone

View GitHub Profile
@wplit
wplit / plugin.php
Last active May 5, 2021 17:30
Enqueuing custom CSS inside the Oxygen Builder
/**
* Loads CSS inside the Oxygen Builder
*/
add_action( 'plugins_loaded', 'lit_oxy_builder_css' );
function lit_oxy_builder_css() {
if( class_exists( 'CT_Component' ) ) {
add_action( 'oxygen_enqueue_ui_scripts', 'lit_oxy_ui_scripts' );
}
}
@Thomas-A-Reinert
Thomas-A-Reinert / wp-config.php
Created December 19, 2016 23:18
Optimized wp-config.php
<?php
/**
* Custom WordPress configurations on "wp-config.php" file.
*
* This file has the following configurations: MySQL settings, Table Prefix, Secret Keys, WordPress Language, ABSPATH and more.
* For more information visit {@link https://codex.wordpress.org/Editing_wp-config.php Editing wp-config.php} Codex page.
* Created using {@link http://generatewp.com/wp-config/ wp-config.php File Generator} on GenerateWP.com.
*
* @package WordPress
* @generator GenerateWP.com