Skip to content

Instantly share code, notes, and snippets.

View Vitkalova's full-sized avatar

Olga Vitkalova Vitkalova

View GitHub Profile
@Vitkalova
Vitkalova / In your functions file
Created January 5, 2018 02:06 — forked from SJ-James/more-divi-social-icons.php
Divi social icons extension
<?php // << Remove opener if adding to functions.php
if ( ! function_exists( 'et_load_core_options' ) ) {
function et_load_core_options() {
global $shortname, $themename;
require_once get_template_directory() . esc_attr( "/options_{$shortname}.php" );
$newOptions = [];
foreach ($options as $i => $optionArray) {