This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ( is_admin() ) { | |
add_filter( 'et_epanel_layout_data', 'custom_et_epanel_layout_data' ); | |
} | |
/** | |
* Hooked into the et_epanel_layout_data filter | |
* Add additional social media options to the Divi Theme Options panel | |
* | |
* @param $options | |
* | |
* @return array |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* add this code in functions.php child theme | |
*/ | |
if ( is_admin() ) { | |
add_filter( 'et_epanel_layout_data', 'mc_et_epanel_layout_data' ); | |
} | |
/** | |
* Hooked into the et_epanel_layout_data filter | |
* Add additional social media options to the Divi Theme Options panel |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var addFilter = wp.hooks.addFilter; | |
var Fragment = wp.element.Fragment; | |
var RichText = wp.editor.RichText; | |
var InnerBlocks = wp.editor.InnerBlocks; | |
var el = wp.element.createElement; | |
// Hook function to add a caption to the core code block | |
function addColorColumns(settings) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* IE / EDGE */ | |
.overlayDiv { | |
position: absolute; | |
width: 100%; | |
height: 100%; | |
top: 0; | |
left: 0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function elementor_posts_widget_multiple_post_types( $element, $args ) { | |
$element->update_control( | |
'posts_post_type', // control ID | |
[ | |
'type' => Elementor\Controls_Manager::SELECT2, | |
'multiple' => true, | |
] | |
); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@charset "UTF-8"; | |
/* | |
* AccessConfig Variables | |
*/ | |
:root { | |
--accessconfig-dark: #323644; | |
--accessconfig-dark-rgb: 50, 54, 68; | |
--accessconfig-light: #fff; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Automattic\WooCommerce\Blocks\Package; | |
/* | |
Plugin Name: Remove WooCommerce patterns | |
Version: 1.0.0 | |
Plugin URI: https://mariecomet.fr/ | |
Description: Remove all WooCommerce patterns | |
Author: Marie Comet | |
Author URI: https://mariecomet.fr/ |