Skip to content

Instantly share code, notes, and snippets.

@ivanmrchk
Created August 17, 2020 17:30
Show Gist options
  • Save ivanmrchk/11ea5742cb4df8dbf8bc7cde1a6302b5 to your computer and use it in GitHub Desktop.
Save ivanmrchk/11ea5742cb4df8dbf8bc7cde1a6302b5 to your computer and use it in GitHub Desktop.
scm functions parent
<?php
load_theme_textdomain('argu', get_template_directory() . '/lang');
require_once get_template_directory() . '/arguoptions/argu-config.php';
require_once get_template_directory() . '/inc/up-utils.php';
require_once get_template_directory() . '/inc/up-init.php';
require_once get_template_directory() . '/inc/up-sidebar.php';
require_once get_template_directory() . '/inc/config.php';
require_once get_template_directory() . '/inc/up-cleanup.php';
require_once get_template_directory() . '/inc/comments.php';
require_once get_template_directory() . '/inc/up-widgets.php';
require_once get_template_directory() . '/inc/up-scripts.php';
require_once get_template_directory() . '/inc/up-custom.php';
require_once get_template_directory() . '/inc/up-custom-woocommerce.php';
require_once get_template_directory() . '/inc/activate-plugins.php';
require_once get_template_directory() . '/inc/custom-css.php';
if (class_exists('WPBakeryVisualComposerAbstract')) {
function requireVcExtend(){require_once get_template_directory() . '/vc_extend/extend-vc.php';}add_action('init', 'requireVcExtend',2);add_action( 'init', 'argu_vcSetAsTheme' );function argu_vcSetAsTheme() {vc_set_as_theme(true);}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment