0
Validation results

Iknow Education WordPress Theme

Iknow Education WordPress Theme

WordPress 4.9.8 theme
0
  • THEME TYPEWordPress theme 4.9.8
  • FILE NAMEiknow.zip
  • FILE SIZE7627928 bytes
  • MD5ba37a86dca614fff22ce9d89b0ad20a7
  • SHA112b52ab4ab518e18992117099429c8d07a5eecf3
  • LICENSENone
  • FILES INCLUDEDCSS, PHP, XML, Bitmap images, Adobe Illustrator
  • VERSION1.6.0
  • AUTHOR URI
  • TAGSblack, green, white, light, dark, two-columns, three-columns, left-sidebar, right-sidebar, fixed-layout, responsive-layout, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready, accessibility-ready
  • CREATION DATE2018-05-10
  • LAST FILE UPDATE2018-05-10
  • LAST VALIDATION2018-05-10 07:27
Critical alerts
  1. Title : Title No reference to add_theme_support( "title-tag" ) was found in the theme.The theme needs to have <title> tags, ideally in the header.php file.The theme needs to have a call to wp_title(), ideally in the header.php file.The <title> tags can only contain a call to wp_title(). Use the wp_title filter to modify the output.The <title> tags can only contain a call to wp_title(). Use the wp_title filter to modify the output.
  2. Presence of iframes : iframes are sometimes used to load unwanted adverts and malicious code on another site Found <iframe src="http://www.youtube.com/embed/'.$id[1].'?wmode=transparent" ' .$width_html. ' height="'.$height.'" > in file sliders.php.
    Line 60: return '<iframe src='http://www.youtube.com/embed/'.$id[1].'?wmode=transparent' ' .
  3. Admin menu : Themes should use add_theme_page() for adding admin pages. File cp-option.php :
    Line 21: add_menu_page( 'CrunchPress Option', THEME_NAME_F, 'administrator', 'genera
    File cp-option.php :
    Line 22: //add_submenu_page( 'general_options', 'Home Page Settings', 'Home Page Setti
    Line 23: add_submenu_page( 'general_options', 'Typography Settings', 'Typography Set
    Line 24: add_submenu_page( 'general_options', 'Slider Settings', 'Slider Settings', 
    Line 25: add_submenu_page( 'general_options', 'Social Network', 'Social Network', 'a
    Line 26: add_submenu_page( 'general_options', 'Sidebar Settings', 'Sidebar Settings'
    Line 27: add_submenu_page( 'general_options', 'Default Pages Settings', 'Default Pag
    Line 28: add_submenu_page( 'general_options', 'Newsletter Settings', 'Newsletter Set
    Line 29: add_submenu_page( 'general_options', 'Import Dummy Data', 'Import Dummy Dat
    Line 30: //add_submenu_page( 'general_options', 'Course Management', 'Course Managemen
    File cp-option.php :
    Line 22: //add_submenu_page( 'general_options', 'Home Page Settings', 'Home Page Setti
    Line 23: add_submenu_page( 'general_options', 'Typography Settings', 'Typography Set
    Line 24: add_submenu_page( 'general_options', 'Slider Settings', 'Slider Settings', 
    Line 25: add_submenu_page( 'general_options', 'Social Network', 'Social Network', 'a
    Line 26: add_submenu_page( 'general_options', 'Sidebar Settings', 'Sidebar Settings'
    Line 27: add_submenu_page( 'general_options', 'Default Pages Settings', 'Default Pag
    Line 28: add_submenu_page( 'general_options', 'Newsletter Settings', 'Newsletter Set
    Line 29: add_submenu_page( 'general_options', 'Import Dummy Data', 'Import Dummy Dat
    Line 30: //add_submenu_page( 'general_options', 'Course Management', 'Course Managemen
    File cp-option.php :
    Line 22: //add_submenu_page( 'general_options', 'Home Page Settings', 'Home Page Setti
    Line 23: add_submenu_page( 'general_options', 'Typography Settings', 'Typography Set
    Line 24: add_submenu_page( 'general_options', 'Slider Settings', 'Slider Settings', 
    Line 25: add_submenu_page( 'general_options', 'Social Network', 'Social Network', 'a
    Line 26: add_submenu_page( 'general_options', 'Sidebar Settings', 'Sidebar Settings'
    Line 27: add_submenu_page( 'general_options', 'Default Pages Settings', 'Default Pag
    Line 28: add_submenu_page( 'general_options', 'Newsletter Settings', 'Newsletter Set
    Line 29: add_submenu_page( 'general_options', 'Import Dummy Data', 'Import Dummy Dat
    Line 30: //add_submenu_page( 'general_options', 'Course Management', 'Course Managemen
    File cp-option.php :
    Line 22: //add_submenu_page( 'general_options', 'Home Page Settings', 'Home Page Setti
    Line 23: add_submenu_page( 'general_options', 'Typography Settings', 'Typography Set
    Line 24: add_submenu_page( 'general_options', 'Slider Settings', 'Slider Settings', 
    Line 25: add_submenu_page( 'general_options', 'Social Network', 'Social Network', 'a
    Line 26: add_submenu_page( 'general_options', 'Sidebar Settings', 'Sidebar Settings'
    Line 27: add_submenu_page( 'general_options', 'Default Pages Settings', 'Default Pag
    Line 28: add_submenu_page( 'general_options', 'Newsletter Settings', 'Newsletter Set
    Line 29: add_submenu_page( 'general_options', 'Import Dummy Data', 'Import Dummy Dat
    Line 30: //add_submenu_page( 'general_options', 'Course Management', 'Course Managemen
    File cp-option.php :
    Line 22: //add_submenu_page( 'general_options', 'Home Page Settings', 'Home Page Setti
    Line 23: add_submenu_page( 'general_options', 'Typography Settings', 'Typography Set
    Line 24: add_submenu_page( 'general_options', 'Slider Settings', 'Slider Settings', 
    Line 25: add_submenu_page( 'general_options', 'Social Network', 'Social Network', 'a
    Line 26: add_submenu_page( 'general_options', 'Sidebar Settings', 'Sidebar Settings'
    Line 27: add_submenu_page( 'general_options', 'Default Pages Settings', 'Default Pag
    Line 28: add_submenu_page( 'general_options', 'Newsletter Settings', 'Newsletter Set
    Line 29: add_submenu_page( 'general_options', 'Import Dummy Data', 'Import Dummy Dat
    Line 30: //add_submenu_page( 'general_options', 'Course Management', 'Course Managemen
    File cp-option.php :
    Line 22: //add_submenu_page( 'general_options', 'Home Page Settings', 'Home Page Setti
    Line 23: add_submenu_page( 'general_options', 'Typography Settings', 'Typography Set
    Line 24: add_submenu_page( 'general_options', 'Slider Settings', 'Slider Settings', 
    Line 25: add_submenu_page( 'general_options', 'Social Network', 'Social Network', 'a
    Line 26: add_submenu_page( 'general_options', 'Sidebar Settings', 'Sidebar Settings'
    Line 27: add_submenu_page( 'general_options', 'Default Pages Settings', 'Default Pag
    Line 28: add_submenu_page( 'general_options', 'Newsletter Settings', 'Newsletter Set
    Line 29: add_submenu_page( 'general_options', 'Import Dummy Data', 'Import Dummy Dat
    Line 30: //add_submenu_page( 'general_options', 'Course Management', 'Course Managemen
    File cp-option.php :
    Line 22: //add_submenu_page( 'general_options', 'Home Page Settings', 'Home Page Setti
    Line 23: add_submenu_page( 'general_options', 'Typography Settings', 'Typography Set
    Line 24: add_submenu_page( 'general_options', 'Slider Settings', 'Slider Settings', 
    Line 25: add_submenu_page( 'general_options', 'Social Network', 'Social Network', 'a
    Line 26: add_submenu_page( 'general_options', 'Sidebar Settings', 'Sidebar Settings'
    Line 27: add_submenu_page( 'general_options', 'Default Pages Settings', 'Default Pag
    Line 28: add_submenu_page( 'general_options', 'Newsletter Settings', 'Newsletter Set
    Line 29: add_submenu_page( 'general_options', 'Import Dummy Data', 'Import Dummy Dat
    Line 30: //add_submenu_page( 'general_options', 'Course Management', 'Course Managemen
    File cp-option.php :
    Line 22: //add_submenu_page( 'general_options', 'Home Page Settings', 'Home Page Setti
    Line 23: add_submenu_page( 'general_options', 'Typography Settings', 'Typography Set
    Line 24: add_submenu_page( 'general_options', 'Slider Settings', 'Slider Settings', 
    Line 25: add_submenu_page( 'general_options', 'Social Network', 'Social Network', 'a
    Line 26: add_submenu_page( 'general_options', 'Sidebar Settings', 'Sidebar Settings'
    Line 27: add_submenu_page( 'general_options', 'Default Pages Settings', 'Default Pag
    Line 28: add_submenu_page( 'general_options', 'Newsletter Settings', 'Newsletter Set
    Line 29: add_submenu_page( 'general_options', 'Import Dummy Data', 'Import Dummy Dat
    Line 30: //add_submenu_page( 'general_options', 'Course Management', 'Course Managemen
    File cp-option.php :
    Line 22: //add_submenu_page( 'general_options', 'Home Page Settings', 'Home Page Setti
    Line 23: add_submenu_page( 'general_options', 'Typography Settings', 'Typography Set
    Line 24: add_submenu_page( 'general_options', 'Slider Settings', 'Slider Settings', 
    Line 25: add_submenu_page( 'general_options', 'Social Network', 'Social Network', 'a
    Line 26: add_submenu_page( 'general_options', 'Sidebar Settings', 'Sidebar Settings'
    Line 27: add_submenu_page( 'general_options', 'Default Pages Settings', 'Default Pag
    Line 28: add_submenu_page( 'general_options', 'Newsletter Settings', 'Newsletter Set
    Line 29: add_submenu_page( 'general_options', 'Import Dummy Data', 'Import Dummy Dat
    Line 30: //add_submenu_page( 'general_options', 'Course Management', 'Course Managemen
  4. Deprecated functions : wp_get_http wp_get_http found in file wordpress-importer.php. Deprecated since version 4.4. Use WP_Http instead.
    Line 874: $headers = wp_get_http( $url, $upload['file'] );
    
  5. Registration of theme features : Implementation of add_theme_support() add_theme_support() was found in the file cp-functions.php. However get_post_format and/or has_post_format were not found.
  6. Included plugins : Zip file found Plugins are not allowed in themes. The zip file found was cp-shortcode-core.zip cp-framework.zip.
Warning
  1. core scripts deregistered : Core scripts deregistrationFound wp_deregister_script in old_script-handler.php. Themes must not deregister core scripts.
    Line 1: <?php
    
    	/*	
    	*	CrunchPress Include Script File
    	*	---------------------------------------------------------------------
    	* 	@version	1.0
    	*   @ Package   Fine Food Theme
    	* 	@author		CrunchPress
    	* 	@link		http://crunchpress.com
    	* 	@copyright	Copyright (c) CrunchPress
    	*	---------------------------------------------------------------------
    	*	This file manage to embed the stylesheet and javascript to each page
    	*	based on the content of that page.
    	*	---------------------------------------------------------------------
    	*/
    	
    	//Add Scripts in Theme
    	if(is_admin()){
    		add_action('admin_enqueue_scripts', 'register_meta_script');
    		add_action('admin_enqueue_scripts','register_crunchpress_panel_scripts');
    		add_action('admin_enqueue_scripts','register_crunchpress_panel_styles');
    	}else{
    		add_action('wp_enqueue_scripts','register_non_admin_styles');
    		add_action('wp_enqueue_scripts','register_non_admin_scripts');
    
    	}
    
    	
    	/* 	---------------------------------------------------------------------
    	*	This section include the back-end script
    	*	---------------------------------------------------------------------
    	*/ 
    	
    	function register_meta_script(){
    		global $post_type;
    		
    		wp_enqueue_style('bootstrap', CP_PATH_URL.'/framework/stylesheet/bootstrap.css');
    		wp_enqueue_style('thickbox');
    		
    		//Font Awesome
    		wp_enqueue_style('cp-fontAW',CP_PATH_URL.'/frontend/cp_font/css/font-awesome.css');
    		wp_enqueue_style('cp-fontAW',CP_PATH_URL.'/frontend/cp_font/css/font-awesome-ie7.css');
    		
    		
    		
    		wp_enqueue_style('admin-css',CP_PATH_URL.'/framework/stylesheet/admin-css.css');
    		
    		// register style and script when access to the 'page' post_type page
    		if( $post_type == 'page' ){
    		
    			wp_enqueue_style('meta-css',CP_PATH_URL.'/framework/stylesheet/meta-css.css');
    			wp_enqueue_style('page-dragging',CP_PATH_URL.'/framework/stylesheet/page-dragging.css');
    			wp_enqueue_style('image-picker',CP_PATH_URL.'/framework/stylesheet/image-picker.css');
    			
    			wp_register_script('image-picker', CP_PATH_URL.'/framework/javascript/image-picker.js', false, '1.0', true);
    			wp_enqueue_script('image-picker');
    		
    			wp_register_script('page-dragging', CP_PATH_URL.'/framework/javascript/page-dragging.js', false, '1.0', true);
    			wp_enqueue_script('page-dragging');
    			
    			wp_register_script('edit-box', CP_PATH_URL.'/framework/javascript/edit-box.js', false, '1.0', true);
    			wp_enqueue_script('edit-box');
    			
    			wp_register_script('confirm-dialog', CP_PATH_URL.'/framework/javascript/jquery.confirm.js', false, '1.0', true);
    			wp_enqueue_script('confirm-dialog');
    			
    			
    		// register style and script when access to the 'post' post_type page
    		}else if( $post_type == 'event' || $post_type == 'post' || $post_type == 'team'  || $post_type == 'portfolio' || $post_type == 'cp_slider' || $post_type == 'gallery' || $post_type == 'product' ){
    		
    			wp_deregister_style('admin-css');
    			wp_enqueue_style('meta-css',CP_PATH_URL.'/framework/stylesheet/meta-css.css');
    			wp_enqueue_style('image-picker',CP_PATH_URL.'/framework/stylesheet/image-picker.css');
    			wp_enqueue_style('confirm-dialog',CP_PATH_URL.'/framework/stylesheet/jquery.confirm.css');
    			
    			wp_register_script('post-effects', CP_PATH_URL.'/framework/javascript/post-effects.js', false, '1.0', true);
    			wp_enqueue_script('post-effects');
    			
    			wp_register_script('image-picker', CP_PATH_URL.'/framework/javascript/image-picker.js', false, '1.0', true);
    			wp_localize_script('image-picker', 'URL', array('crunchpress' => CP_PATH_URL ));
    			wp_enqueue_script('image-picker');
    			
    			wp_register_script('confirm-dialog', CP_PATH_URL.'/framework/javascript/jquery.confirm.js', false, '1.0', true);
    			wp_enqueue_script('confirm-dialog');
    		
    		// register style and script when access to the 'testimonial' post_type page		
    		}else if( $post_type == 'testimonial' ){
    		
    			wp_enqueue_style('meta-css',CP_PATH_URL.'/framework/stylesheet/meta-css.css');
    		
    		}else if($post_type == 'albums'){
    		
    			wp_register_script('contact-validation', CP_PATH_URL.'/frontend/js/jquery.validate.js', false, '1.0', true);
    			wp_enqueue_script('contact-validation');
    		}
    		
    	}
    	
    	
    	// register script in CrunchPress panel
    	function register_crunchpress_panel_scripts(){
    		global $post_type;
    		//wp_enqueue_style('ie-style',CP_PATH_URL . '/stylesheet/ie-style.php?path=' . CP_PATH_URL);	
    	
    		if($post_type == 'page'){
    		
    		}else{
    			wp_enqueue_style('bootstrap',CP_PATH_URL.'/framework/stylesheet/bootstrap.css');
    			$cp_script_url = CP_PATH_URL.'/framework/javascript/cp-panel.js';
    			wp_enqueue_script('cp_scripts_admin', $cp_script_url, array('jquery','media-upload','thickbox', 'jquery-ui-droppable','jquery-ui-datepicker','jquery-ui-tabs', 'jquery-ui-slider','jquery-timepicker','jquery-ui-position','mini-color','confirm-dialog','dummy_content'));
    
    			wp_register_script('bootstrap', CP_PATH_URL.'/framework/javascript/bootstrap.js', false, '1.0', true);
    			wp_enqueue_script('bootstrap');
    
    			//Font Awesome
    			wp_enqueue_style('cp-fontAW',CP_PATH_URL.'/frontend/cp_font/css/font-awesome.css');
    			wp_enqueue_style('cp-fontAW',CP_PATH_URL.'/frontend/cp_font/css/font-awesome-ie7.css');
    		
    		
    			wp_register_script('mini-color', CP_PATH_URL.'/framework/javascript/jquery.miniColors.js', false, '1.0', true);
    			wp_register_script('confirm-dialog', CP_PATH_URL.'/framework/javascript/jquery.confirm.js', false, '1.0', true);
    			wp_register_script('jquery-timepicker', CP_PATH_URL.'/framework/javascript/jquery.ui.timepicker.js', false, '1.0', true);
    			wp_register_script('dummy_content', CP_PATH_URL.'/framework/javascript/dummy_content.js', false, '1.0', true);
    		}		
    	}
    
    	// register style in CrunchPress panel
    	function register_crunchpress_panel_styles(){
    	
    		wp_enqueue_style('jquery-ui',CP_PATH_URL.'/framework/stylesheet/jquery-ui.css');
    		wp_enqueue_style('cp-panel',CP_PATH_URL.'/framework/stylesheet/cp-panel.css');
    		wp_enqueue_style('mini-color',CP_PATH_URL.'/framework/stylesheet/jquery.miniColors.css');
    		wp_enqueue_style('confirm-dialog',CP_PATH_URL.'/framework/stylesheet/jquery.confirm.css');
    		wp_enqueue_style('jquery-timepicker',CP_PATH_URL.'/framework/stylesheet/jquery.ui.timepicker.css');
    		
    	}
    	
    	/* 	---------------------------------------------------------------------
    	*	this section include the front-end script
    	*	---------------------------------------------------------------------
    	*/ 
    	
    	// Register all stylesheet
    
    	function register_non_admin_styles(){
    	
    		$cp_page_xml = '';
    		$slider_type = '';
    	
    		global $post,$post_id,$cp_page_xml,$slider_type;
    		
    		$cp_page_xml = get_post_meta($post_id,'page-option-item-xml', true);
    		$slider_type = get_post_meta ( $post_id, 'page-option-top-slider-types', true );
    		
    		
    		wp_enqueue_style( 'default-style', get_stylesheet_uri() );  //Default Stylesheet
    		//wp_enqueue_style('cp_default',CP_PATH_URL.'/frontend/css/cp_default.css'); //Include Default Widgets and Other settings
    		wp_enqueue_style('cp-bootstrap',CP_PATH_URL.'/frontend/css/bootstrap.css'); //Bootstrap Grid
    		wp_enqueue_style('cp-bootstrap-res',CP_PATH_URL.'/frontend/css/bootstrap-responsive.css'); //Bootstrap responsive
    		wp_enqueue_style('cp-jplayer-res',CP_PATH_URL.'/frontend/css/jplayer.css'); //Bootstrap responsive
    		
    		//wp_enqueue_style('cp-font-awesome','//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css'); //FontAwesome
    		//wp_enqueue_style('cp-slide-menu',CP_PATH_URL.'/frontend/css/slide-menu.css'); //Bootstrap Grid
    		//wp_enqueue_style('cp-jquery-menu',CP_PATH_URL.'/frontend/css/jquery.mmenu.css'); //Bootstrap Grid
    		
    	
    		wp_enqueue_style('cp-color-1',CP_PATH_URL.'/css/color.css');
    		wp_enqueue_style('cp-color-2',CP_PATH_URL.'/css/color-skyblue.css');
    		
    		wp_enqueue_style('cp-fontAW',CP_PATH_URL.'/frontend/cp_font/css/font-awesome.css');
    		wp_enqueue_style('cp-fontAW',CP_PATH_URL.'/frontend/cp_font/css/font-awesome-ie7.css');
    		
    		
    		
    	
    		$rtl_layout = '';
    		$site_loader = '';
    		$element_loader = '';
    		//General Settings Values
    		$cp_general_settings = get_option('general_settings');
    		if($cp_general_settings <> ''){
    			$cp_logo = new DOMDocument ();
    			$cp_logo->loadXML ( $cp_general_settings );
    			$rtl_layout = find_xml_value($cp_logo->documentElement,'rtl_layout');
    			$site_loader = find_xml_value($cp_logo->documentElement,'site_loader');
    			$element_loader = find_xml_value($cp_logo->documentElement,'element_loader');
    		}
    		
    		//Responsive stylesheet
    		
    		
    		wp_deregister_style('woocommerce-general');
    		wp_deregister_style('woocommerce-layout');
    		wp_deregister_style('woocommerce_frontend_styles');		
    		wp_deregister_style('events-manager');		
    		
    		//wp_enqueue_style('cp-woo-commerce',CP_PATH_URL.'/frontend/css/wp-commerce.css'); //WooCommerce 
    		wp_enqueue_style('cp-widget-default',CP_PATH_URL.'/frontend/css/cp_widgets_default.css'); //WooCommerce 
    		wp_enqueue_style('cp-event-manager',CP_PATH_URL.'/frontend/css/event-manager.css'); //Event Manager
    		//wp_enqueue_style('cp-default-widget',CP_PATH_URL.'/frontend/css/cp_widgets_default.css'); //Event Manager	
    		
    		//Call own css for prayer box
    		if(function_exists('pb_includePublicCSS')){
    			wp_enqueue_style('cp-prayer-box',CP_PATH_URL.'/frontend/css/gd-praybox-sc.css'); //prayer Manager	
    		}
    		//RTL Layouts
    		if($rtl_layout == 'enable'){
    			wp_enqueue_style('cp-rtl',CP_PATH_URL.'/rtl.css');
    		}		
    	
    		//Facebook Fan Page Script
    		if(isset($post->ID)){
    			$facebook_fan = '';
    			$facebook_fan = get_post_meta ( $post->ID, 'page-option-item-facebook-selection', true );
    			if($facebook_fan == 'Yes'){$facebook_fan = 'facebook_fan';
    				wp_enqueue_style('style_810',CP_PATH_URL.'/frontend/css/style810.css');
    			}
    		}	
    		
    		$maintenance_mode = get_themeoption_value('maintenance_mode','general_settings');				
    		if($maintenance_mode == 'enable'){		
    			wp_enqueue_style('cp-countdown',CP_PATH_URL.'/frontend/css/jquery.countdown.css');
    			
    		}
    	
    		if( is_search() || is_archive() ){
    		
    			wp_enqueue_style('cp-anything-slider',CP_PATH_URL.'/frontend/anythingslider/css/anythingslider.css');
    	
    		
    	
    		// Post post_type
    		}else if( isset($post) && $post->post_type == 'post' || 
    			isset($post) && $post->post_type == 'events' ){
    		
    			// If using slider (flex slider)	
    		if(!is_home()){
    			$thumbnail_types = '';
    			$post_detail_xml = get_post_meta($post->ID, 'post_detail_xml', true);
    			if($post_detail_xml <> ''){
    				$cp_post_xml = new DOMDocument ();
    				$cp_post_xml->loadXML ( $post_detail_xml );
    				$thumbnail_types = find_xml_value($cp_post_xml->documentElement,'post_thumbnail');
    			}
    			
    			if( $thumbnail_types == 'Slider'){
    			
    				wp_enqueue_style('cp-anything-slider',CP_PATH_URL.'/frontend/anythingslider/css/anythingslider.css');
    				
    			}
    			
    			$event_detail_xml = get_post_meta($post->ID, 'event_detail_xml', true);
    			if($event_detail_xml <> ''){
    				$cp_event_xml = new DOMDocument ();
    				$cp_event_xml->loadXML ( $event_detail_xml );
    				$event_thumbnail = find_xml_value($cp_event_xml->documentElement,'event_thumbnail');
    				
    				//Condition for Slider
    				if( $event_thumbnail == 'Slider'){
    				
    					wp_enqueue_style('cp-anything-slider',CP_PATH_URL.'/frontend/anythingslider/css/anythingslider.css');
    					
    				}
    			}
    		}
    			
    		// Page post_type
    		}else if( isset($post) && $post->post_type == 'page' ){
    		
    			global $post,$cp_page_xml, $slider_type, $cp_top_slider_type;
    			$cp_page_xml = get_post_meta($post->ID,'page-option-item-xml', true);
    			$cp_top_slider_switch = get_post_meta($post->ID,'page-option-top-slider-on', true);
    			$slider_type = get_post_meta ( $post->ID, 'page-option-top-slider-types', true );
    			$cp_top_slider_type = get_post_meta($post->ID,'page-option-top-slider-types', true);
    			
    			
    			//Layer Slider
    			if(strpos($cp_page_xml,'<slider-type>Layer-Slider</slider-type>') > -1 || $slider_type == 'Layer-Slider'){
    				//wp_enqueue_style('layerslider_js', CP_PATH_URL.'/frontend/css/layerslider.css');
    			}
    			
    			// If using carousel slider
    			if(	strpos($cp_page_xml,'<slider-type>Flex-Slider</slider-type>') > -1 || $slider_type == 'Flex-Slider'){
    				
    				wp_enqueue_style('cp-flex-slider',CP_PATH_URL.'/frontend/css/flexslider.css');
    			}
    			
    			// If using nivo slider
    			if( strpos($cp_page_xml,'<slider-type>Flex-Slider</slider-type>') > -1 ||
    				$slider_type == 'Flex-Slider' ){
    				wp_enqueue_style('cp-flex-slider',CP_PATH_URL.'/frontend/css/flexslider.css');
    			}
    			
    			//Bx Slider Condition
    			if(strpos($cp_page_xml,'<slider-type>Bx-Slider</slider-type>') > -1 || $slider_type == 'Bx-Slider' ){
    				wp_enqueue_style('cp-bx-slider',CP_PATH_URL.'/frontend/css/bxslider.css');
    			}
    			
    			// If using Fine slider
    			if( strpos($cp_page_xml,'<slider-type>Default-Slider</slider-type>') > -1 ||
    				$slider_type == 'Default-Slider' ){
    			
    				wp_enqueue_style('Default-Slider',CP_PATH_URL.'/frontend/css/slider.css');
    				
    			}				
    			if( strpos($cp_page_xml, '<slider-type>Anything</slider-type>') > -1){
    				wp_enqueue_style('cp-anything-slider', CP_PATH_URL.'/frontend/anythingslider/css/anythingslider.css');
    				
    			}
    			if($slider_type == 'Anything' AND $cp_top_slider_switch == 'Yes'){
    				wp_enqueue_style('cp-anything-slider', CP_PATH_URL.'/frontend/anythingslider/css/anythingslider.css');
    			}
    			
    			if( strpos($cp_page_xml,'<eventview>Calendar View</eventview>') > -1 ){
    		
    				wp_enqueue_style('cp-calender-view', CP_PATH_URL.'/framework/javascript/fullcalendar/fullcalendar.css');
    			
    			}
    			// If using filterable plugin
    			if( strpos($cp_page_xml,'<show-filterable>') > -1 ){
    			
    				wp_enqueue_style('cp-style-view', CP_PATH_URL.'/frontend/css/style_animate.css');
    			
    			}
    			
    			// If using Services
    			if( strpos($cp_page_xml,'<service-widget-style>Circle-Icon</service-widget-style>') > -1 ){
    			
    				wp_enqueue_style('circle-hover',CP_PATH_URL.'/frontend/css/circle-hover.css');
    			
    			}
    			
    			// If using NewsSlider
    			if( strpos($cp_page_xml,'<News-Slider>') > -1 ){
    			
    				wp_enqueue_style('cp-bx-slider',CP_PATH_URL.'/frontend/css/bxslider.css');
    			
    			}
    			
    			// If using Services
    			if( strpos($cp_page_xml,'<service-widget-style>Box-Style3</service-widget-style>') > -1 ){
    			
    				wp_enqueue_style('cp-services-view', CP_PATH_URL.'/frontend/css/style_css_services.css');
    			
    			}
    			
    		}
    		
    		$font_google = '';
    		$font_size_normal = '';
    		$menu_font_google = '';
    		$fonts_array = '';
    		$font_google_heading = '';
    		$heading_h1 = '';
    		$heading_h2 = '';
    		$heading_h3 = '';
    		$heading_h4 = '';
    		$heading_h5 = '';
    		$heading_h6 = '';
    		$embed_typekit_code = '';
    		$cp_typography_settings = get_option('typography_settings');
    		
    		//$dd = find_xml_node($logo_uploa_d,'logo_upload');
    		if($cp_typography_settings <> ''){
    			$cp_typo = new DOMDocument ();
    			$cp_typo->loadXML ( $cp_typography_settings );
    			$font_google = find_xml_value($cp_typo->documentElement,'font_google');
    			$font_size_normal = find_xml_value($cp_typo->documentElement,'font_size_normal');
    			$menu_font_google = find_xml_value($cp_typo->documentElement,'menu_font_google');
    			$font_google_heading = find_xml_value($cp_typo->documentElement,'font_google_heading');
    			$heading_h1 = find_xml_value($cp_typo->documentElement,'heading_h1');
    			$heading_h2 = find_xml_value($cp_typo->documentElement,'heading_h2');
    			$heading_h3 = find_xml_value($cp_typo->documentElement,'heading_h3');
    			$heading_h4 = find_xml_value($cp_typo->documentElement,'heading_h4');
    			$heading_h5 = find_xml_value($cp_typo->documentElement,'heading_h5');
    			$heading_h6 = find_xml_value($cp_typo->documentElement,'heading_h6');
    			$embed_typekit_code = find_xml_value($cp_typo->documentElement,'embed_typekit_code');
    			
    		}
    		
    		//Body Font Installing
    		if(verify_google_f($font_google) == 'type_kit'){
    			//Adobe Edge Font (TypeKit) 
    			if($font_google <> ''){
    				wp_register_script( 'adobe-edge-font', 'http://use.edgefonts.net/'.$font_google.'.js', false, '1.0', false);
    				wp_enqueue_script('adobe-edge-font');	
    			}
    		}else if(verify_google_f($font_google) == 'google_font'){
    			//Google Font Body
    			if($font_google <> ''){
    				$font_google = str_replace(' ','+',$font_google);
    				wp_enqueue_style('googleFonts', 'http://fonts.googleapis.com/css?family='.$font_google.'');
    			}	
    		}
    		//verify_google_para($font_google_heading);
    		//Heading Font Installing
    		if(verify_google_para($font_google_heading) == 'type_kit'){
    			if($font_google_heading <> ''){
    				wp_register_script( 'adobe-edge-heading', 'http://use.edgefonts.net/'.$font_google_heading.'.js', false, '1.0', false);
    				wp_enqueue_script('adobe-edge-heading');	
    			}
    		}else if(verify_google_para($font_google_heading) == 'google_font'){
    			if($font_google_heading <> ''){
    				$font_google_heading = str_replace(' ','+',$font_google_heading);
    				wp_enqueue_style('googleFonts-heading', 'http://fonts.googleapis.com/css?family='.$font_google_heading.'' );
    			}
    		}
    
    		//Menu Font Installing
    		//verify_google_menu($menu_font_google);
    		if(verify_google_menu($menu_font_google) == 'type_kit'){
    			if($menu_font_google <> ''){
    				wp_register_script( 'menu-edge-heading', 'http://use.edgefonts.net/'.$menu_font_google.'.js', false, '1.0', false);
    				wp_enqueue_script('menu-edge-heading');	
    			}
    		}else if(verify_google_menu($menu_font_google) == 'google_font'){
    			if($menu_font_google <> ''){
    				$menu_font_google = str_replace(' ','+',$menu_font_google);
    				wp_enqueue_style('menu-googleFonts-heading', 'http://fonts.googleapis.com/css?family='.$menu_font_google.'' );
    			}
    		}
    		
    	}
    		 
            // Register all scripts
    	function register_non_admin_scripts(){
    		global $post,$post_id;
    		global $cp_is_responsive;
    		global $crunchpress_element;		
    		global $wp_scripts;
    		$cp_page_xml = get_post_meta($post_id,'page-option-item-xml', true);
    		$slider_type = get_post_meta ( $post_id, 'page-option-top-slider-types', true );
    
    		$social_networking = '';
    		$site_loader = '';
    		$element_loader = '';
    		$cp_general_settings = get_option('general_settings');
    		if($cp_general_settings <> ''){
    			$cp_logo = new DOMDocument ();
    			$cp_logo->loadXML ( $cp_general_settings );
    			$social_networking = find_xml_value($cp_logo->documentElement,'social_networking');
    			$site_loader = find_xml_value($cp_logo->documentElement,'site_loader');
    			$element_loader = find_xml_value($cp_logo->documentElement,'element_loader');
    			$topweather_icon = find_xml_value($cp_logo->documentElement,'topweather_icon');
    			
    		}
    		
    		wp_enqueue_script('jquery');
    		
    		//wp_register_script('rating_script', CP_PATH_URL.'/frontend/js/rating_script/jRating.jquery.js', array('jquery'), '1.0', true);
    		//wp_enqueue_script('rating_script');
    		
    		//wp_enqueue_script('like_post', CP_PATH_URL.'/frontend/js/post-like.js', array('jquery'), '1.0', 1 );
    		
    		//CP Load Fade in and Out Effect
    		
    		//CP Load Fade in and Out Effect
    		wp_register_script('cp-load', CP_PATH_URL.'/frontend/js/cp_loader.js', false, '1.0', true);
    		wp_localize_script('cp-load', 'loader', array('site_loader' => $site_loader,'element_loader' => $element_loader));
    		wp_enqueue_script('cp-load');
    		
    		wp_register_script('cp-underscore-min', CP_PATH_URL.'/frontend/js/underscore-min.js', false, '1.0', true);
    		wp_enqueue_script('cp-underscore-min');
    		
    		
    
    		
    		if ( is_singular() && get_option( 'thread_comments' ) ) 	wp_enqueue_script( 'comment-reply' );
    			
    		//BootStrap Script Loaded
    		wp_register_script('cp-bootstrap', CP_PATH_URL.'/frontend/js/bootstrap.js', array('jquery'), '1.0', true);
    		wp_localize_script('cp-bootstrap', 'ajax_var', array('url' => admin_url('admin-ajax.php'),'nonce' => wp_create_nonce('ajax-nonce')));
    		wp_enqueue_script('cp-bootstrap');
    		
    		//Custom Script Loaded
    		wp_register_script('cp-scripts', CP_PATH_URL.'/frontend/js/frontend_scripts.js', false, '1.0', true);
    		wp_enqueue_script('cp-scripts');
    		
    		// wp_register_script('cp-jquery-mmenu-min', CP_PATH_URL.'/frontend/js/jquery-mmenu-min.js', false, '1.0', true);
    		// wp_enqueue_script('cp-jquery-mmenu-min');
    		
    
    		$maintenance_mode = get_themeoption_value('maintenance_mode','general_settings');				
    		if($maintenance_mode == 'enable'){		
    			wp_register_script('countdown', CP_PATH_URL.'/frontend/js/jquery_countdown.js', false, '1.0', true);
    			wp_enqueue_script('countdown');
    			
    		}
    		
    		
    		
    		global $wp_scripts,$post;
    		wp_register_script('html5shiv',CP_PATH_URL.'/frontend/js/html5shive.js',array(),'1.5.1',false);
    		wp_enqueue_script('html5shiv');
    		$wp_scripts->add_data( 'html5shiv', 'conditional', 'lt IE 9' );
    		
    		if($social_networking == 'enable'){
    			wp_register_script('cp-social_slider_main', CP_PATH_URL.'/frontend/js/social_slider_main.js', false, '1.0', true);
    			wp_enqueue_script('cp-social_slider_main');
    		}
    					
    			
    		
    		// Search and archive page
    		if( is_search() || is_archive() ){
    		
    			wp_register_script('cp-anything-slider', CP_PATH_URL.'/frontend/anythingslider/js/jquery.anythingslider.js', false, '1.0', true);
    			wp_enqueue_script('cp-anything-slider');	
    		
    		// Post post_type
    		}else if( isset($post) &&  $post->post_type == 'post' && !is_home() || 
    			isset($post) &&  $post->post_type == 'events' && !is_home() ){
    		
    			if(!is_home()){
    				$cp_post_thumbnail = '';
    				$post_detail_xml = get_post_meta($post->ID, 'post_detail_xml', true);
    				if($post_detail_xml <> ''){
    					$cp_post_xml = new DOMDocument ();
    					$cp_post_xml->loadXML ( $post_detail_xml );
    					$cp_post_thumbnail = find_xml_value($cp_post_xml->documentElement,'post_thumbnail');						
    
    					if( $cp_post_thumbnail == 'Slider'){
    
    						wp_register_script('cp-anything-slider', CP_PATH_URL.'/frontend/anythingslider/js/jquery.anythingslider.js', false, '1.0', true);
    						wp_enqueue_script('cp-anything-slider');
    						
    						wp_register_script('cp-anything-slider-fx', CP_PATH_URL.'/frontend/anythingslider/js/jquery.anythingslider.fx.js', false, '1.0', true);
    						wp_enqueue_script('cp-anything-slider-fx');
    						
    					}
    				}
    			
    				$event_detail_xml = get_post_meta($post->ID, 'event_detail_xml', true);
    				if($event_detail_xml <> ''){
    					$cp_event_xml = new DOMDocument ();
    					$cp_event_xml->loadXML ( $event_detail_xml );
    					$event_thumbnail = find_xml_value($cp_event_xml->documentElement,'event_thumbnail');
    					
    					if( $event_thumbnail == 'Slider'){
    
    						wp_register_script('cp-anything-slider', CP_PATH_URL.'/frontend/anythingslider/js/jquery.anythingslider.js', false, '1.0', true);
    						wp_enqueue_script('cp-anything-slider');
    						
    					}
    				}
    			}
    		
    		// Page post_type
    		}else if( isset($post) &&  $post->post_type == 'page' ){
    			global $post,$cp_page_xml, $slider_type, $cp_top_slider_type;
    			$cp_page_xml = get_post_meta($post->ID,'page-option-item-xml', true);
    			$cp_top_slider_switch = get_post_meta($post->ID,'page-option-top-slider-on', true);
    			$slider_type = get_post_meta ( $post->ID, 'page-option-top-slider-types', true );
    			$cp_top_slider_type = get_post_meta($post->ID,'page-option-top-slider-types', true);
    			
    			// if using Accordicns
    			if( strpos($cp_page_xml,'<Accordion>') > -1 ){
    				wp_enqueue_script('jquery-ui-accordion');
    				wp_register_script('cp-accordian-script', CP_PATH_URL.'/frontend/js/accordian_script.js', false, '1.0', true);
    				wp_enqueue_script('cp-accordian-script');
    				
    			}
    			// if using tabs
    			if( strpos($cp_page_xml,'<Tab>') > -1 ){
    			    //wp_enqueue_script('jquery-ui-accordion');
    				wp_enqueue_script('jquery-ui-tabs');
    				wp_register_script('cp-tabs-script', CP_PATH_URL.'/frontend/js/tabs_script.js', false, '1.0', true);
    				wp_enqueue_script('cp-tabs-script');
    				
    			}
    			
    			// If using Flex Slider
    			if( strpos($cp_page_xml,'<slider-type>Flex-Slider</slider-type>') > -1 || $slider_type == 'Flex-Slider' AND $cp_top_slider_switch == 'Yes'){				
    				wp_register_script('cp-flex-slider', CP_PATH_URL.'/frontend/js/jquery.flexslider.js', false, '1.0', true);
    				wp_enqueue_script('cp-flex-slider');
    			}
    			
    			//Layer Slider Scripts
    			if(strpos($cp_page_xml,'<slider-type>Layer-Slider</slider-type>') > -1 || $slider_type == 'Layer-Slider' AND $cp_top_slider_switch == 'Yes'){
    				if(class_exists('LS_Sliders')){
    				// Include in the footer?
    					$footer = get_option('ls_include_at_footer', false) ? true : false;
    
    					// Use Gogole CDN version of jQuery
    					if(get_option('ls_use_custom_jquery', false)) {
    						wp_deregister_script('jquery');
    						wp_enqueue_script('jquery', '//ajax.g
  2. theme tags : Presence of bad theme tagsThe tag black has been deprecated, it must be removed from style.css header.The tag green has been deprecated, it must be removed from style.css header.The tag white has been deprecated, it must be removed from style.css header.The tag light has been deprecated, it must be removed from style.css header.The tag dark has been deprecated, it must be removed from style.css header.The tag fixed-layout has been deprecated, it must be removed from style.css header.The tag responsive-layout has been deprecated, it must be removed from style.css header.Themes that use the tag accessibility-ready will need to undergo an accessibility review.
    See https://make.wordpress.org/themes/handbook/review/accessibility/
  3. Text domain : Incorrect use of translation functions.Wrong installation directory for the theme name. The directory name must match the slug of the theme. This theme's correct slug and text-domain is iknow-education-wordpress-theme.
  4. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function _n_noop, with the arguments 'This theme requires the following plugin: %1$s.', 'This theme requires the following plugins: %1$s.' in file plugins.php.Found a translation function that is missing a text-domain. Function _n_noop, with the arguments 'This theme recommends the following plugin: %1$s.', 'This theme recommends the following plugins: %1$s.' in file plugins.php.Found a translation function that is missing a text-domain. Function _n_noop, with the arguments 'Sorry, but you do not have the correct permissions to install the %s plugin. Contact the administrator of this site for help on getting the plugin installed.', 'Sorry, but you do not have the correct permissions to install the %s plugins. Contact the administrator of this site for help on getting the plugins installed.' in file plugins.php.Found a translation function that is missing a text-domain. Function _n_noop, with the arguments 'The following required plugin is currently inactive: %1$s.', 'The following required plugins are currently inactive: %1$s.' in file plugins.php.Found a translation function that is missing a text-domain. Function _n_noop, with the arguments 'The following recommended plugin is currently inactive: %1$s.', 'The following recommended plugins are currently inactive: %1$s.' in file plugins.php.Found a translation function that is missing a text-domain. Function _n_noop, with the arguments 'Sorry, but you do not have the correct permissions to activate the %s plugin. Contact the administrator of this site for help on getting the plugin activated.', 'Sorry, but you do not have the correct permissions to activate the %s plugins. Contact the administrator of this site for help on getting the plugins activated.' in file plugins.php.Found a translation function that is missing a text-domain. Function _n_noop, with the arguments 'The following plugin needs to be updated to its latest version to ensure maximum compatibility with this theme: %1$s.', 'The following plugins need to be updated to their latest version to ensure maximum compatibility with this theme: %1$s.' in file plugins.php.Found a translation function that is missing a text-domain. Function _n_noop, with the arguments 'Sorry, but you do not have the correct permissions to update the %s plugin. Contact the administrator of this site for help on getting the plugin updated.', 'Sorry, but you do not have the correct permissions to update the %s plugins. Contact the administrator of this site for help on getting the plugins updated.' in file plugins.php.Found a translation function that is missing a text-domain. Function _n_noop, with the arguments 'Begin installing plugin', 'Begin installing plugins' in file plugins.php.Found a translation function that is missing a text-domain. Function _n_noop, with the arguments 'Activate installed plugin', 'Activate installed plugins' in file plugins.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Wrong username or password.' in file cp-functions.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Login successful, Now Redirecting...' in file cp-functions.php.Found a translation function that has an incorrect number of arguments. Function _n, with the arguments '%s download remaining', '%s downloads remaining', downloads_remaining, 'woocommerce' in file my-downloads.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'woocommerce' in file shipping-calculator.php.More than one text-domain is being used in this theme. This means the theme will not be compatible with WordPress.org language packs. The domains found are crunchpress, tgmpa, dbem, twentyfourteen, woocommerce, rockon, crunchpres, downloads_remaining.
  5. Cdn : Use of CDNFound the URL of a CDN in the code: netdna.bootstrapcdn.com/font-awesome. CSS or Javascript resources should not be loaded from a CDN. These resources should be bundled with the theme.
  6. I18N implementation : Proper use of ___all(Possible variable $cvalue found in translation function in shipping-calculator.php. Translation function calls should not contain PHP variables.
    Line 66: echo '<option value='' . esc_attr( $ckey ) . '' ' . selected( $current_r, $ckey, false ) . '>' . __( esc_html( $cvalue ), 'woocommerce' ) .'</option>';
  7. Screenshot : Screenshot fileScreenshot size is 880x660px. Screenshot size should be 1200x900, to account for HiDPI displays. Any 4:3 image size is acceptable, but 1200x900 is preferred.Bad screenshot file extension ! File screenshot.png is not an actual JPG file. Detected type was : "image/png".
Tip-off
  1. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.php.
  2. Optional files : Presence of front page template file front-page.phpThis theme does not contain optional file front-page.php.
  3. Optional files : Presence of home template file home.phpThis theme does not contain optional file home.php.
  4. Optional files : Presence of category template file category.phpThis theme does not contain optional file category.php.
  5. Optional files : Presence of tag template file tag.phpThis theme does not contain optional file tag.php.
  6. Optional files : Presence of term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  7. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  8. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  9. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  10. Use of includes : Use of include or requireThe theme appears to use include or require : class-tgm-plugin-activation.php
    Line 34: require_once ('class-tgm.php');
    If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead. Otherwise, use include_once or require_once instead.
    The theme appears to use include or require : dummy_data.inc.php
    Line 18: require_once($class_wp_importer);
    Line 29: require_once($wp_importer);
    Line 42: include_once('default_dummy_data.inc.php');
    If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead. Otherwise, use include_once or require_once instead.
Other checked themes