52
Validation results

BlackFyre

BlackFyre

WordPress 6.5.2 theme
52
  • THEME TYPEWordPress theme 6.5.2
  • FILE NAMEblackfyre.zip
  • FILE SIZE14329477 bytes
  • MD52de7802030f5e34063689fc0e8e3a834
  • SHA134f1c2a73d27b3422fe22285139210db0daaf36b
  • LICENSECustom
  • FILES INCLUDEDCSS, PHP, HTML, XML, Bitmap images, Adobe Illustrator
  • THEME URIhttp://www.skywarriorthemes.com/blackfyre/
  • VERSION2.5.4
  • AUTHOR URI
  • TAGSone-column, two-columns, right-sidebar, 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
  • CREATION DATE2021-01-26
  • LAST FILE UPDATE2021-01-26
  • LAST VALIDATION2021-01-26 20:22
This theme seems to be proprietary. Themecheck doesn't distribute commercial themes.
Critical alerts
  1. Admin menu : Themes should use add_theme_page() for adding admin pages. File class-tgm-plugin-activation.php : 731: // $this->page_hook = call_user_func( 'add_submenu_page', $args['parent_slug'], $args['page_title'], $args['menu_tFile wp-clanwars.php : 240: $top = add_menu_page(esc_html__('ClanWars', 'blackfyre'), esc_html__('ClanWars', 'File wp-clanwars.php : 242: $this->page_hooks['matches'] = add_submenu_page('wp-clanwars.php', esc_html__('Matches', 'blackfyre'), esc243: // $this->page_hooks['teams'] = add_submenu_page('wp-clanwars.php', esc_html__('Teams', 'blackfyre'), esc_h244: $this->page_hooks['games'] = add_submenu_page('wp-clanwars.php', esc_html__('Games', 'blackfyre'), esc_h245: $this->page_hooks['import'] = add_submenu_page('wp-clanwars.php', esc_html__('Import', 'blackfyre'), esc_246: $this->page_hooks['settings'] = add_submenu_page('wp-clanwars.php', esc_html__('Settings', 'blackfyre'), esFile wp-clanwars.php : 242: $this->page_hooks['matches'] = add_submenu_page('wp-clanwars.php', esc_html__('Matches', 'blackfyre'), esc243: // $this->page_hooks['teams'] = add_submenu_page('wp-clanwars.php', esc_html__('Teams', 'blackfyre'), esc_h244: $this->page_hooks['games'] = add_submenu_page('wp-clanwars.php', esc_html__('Games', 'blackfyre'), esc_h245: $this->page_hooks['import'] = add_submenu_page('wp-clanwars.php', esc_html__('Import', 'blackfyre'), esc_246: $this->page_hooks['settings'] = add_submenu_page('wp-clanwars.php', esc_html__('Settings', 'blackfyre'), esFile wp-clanwars.php : 242: $this->page_hooks['matches'] = add_submenu_page('wp-clanwars.php', esc_html__('Matches', 'blackfyre'), esc243: // $this->page_hooks['teams'] = add_submenu_page('wp-clanwars.php', esc_html__('Teams', 'blackfyre'), esc_h244: $this->page_hooks['games'] = add_submenu_page('wp-clanwars.php', esc_html__('Games', 'blackfyre'), esc_h245: $this->page_hooks['import'] = add_submenu_page('wp-clanwars.php', esc_html__('Import', 'blackfyre'), esc_246: $this->page_hooks['settings'] = add_submenu_page('wp-clanwars.php', esc_html__('Settings', 'blackfyre'), esFile wp-clanwars.php : 242: $this->page_hooks['matches'] = add_submenu_page('wp-clanwars.php', esc_html__('Matches', 'blackfyre'), esc243: // $this->page_hooks['teams'] = add_submenu_page('wp-clanwars.php', esc_html__('Teams', 'blackfyre'), esc_h244: $this->page_hooks['games'] = add_submenu_page('wp-clanwars.php', esc_html__('Games', 'blackfyre'), esc_h245: $this->page_hooks['import'] = add_submenu_page('wp-clanwars.php', esc_html__('Import', 'blackfyre'), esc_246: $this->page_hooks['settings'] = add_submenu_page('wp-clanwars.php', esc_html__('Settings', 'blackfyre'), esFile wp-clanwars.php : 242: $this->page_hooks['matches'] = add_submenu_page('wp-clanwars.php', esc_html__('Matches', 'blackfyre'), esc243: // $this->page_hooks['teams'] = add_submenu_page('wp-clanwars.php', esc_html__('Teams', 'blackfyre'), esc_h244: $this->page_hooks['games'] = add_submenu_page('wp-clanwars.php', esc_html__('Games', 'blackfyre'), esc_h245: $this->page_hooks['import'] = add_submenu_page('wp-clanwars.php', esc_html__('Import', 'blackfyre'), esc_246: $this->page_hooks['settings'] = add_submenu_page('wp-clanwars.php', esc_html__('Settings', 'blackfyre'), esFile functions.php : 375: add_menu_page('Theme Options', 'Theme Options', 'edit_theme_options', 'opti
  2. Included plugins : Zip file found Plugins are not allowed in themes. The zip file found was blackfyre_custom_post_types.zip js_composer.zip parallax-backgrounds-for-vc.zip.
Warning
  1. Text domain : Incorrect use of translation functions.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 blackfyre, benri.
  2. Non-printable characters : Presence of non-printable characters in PHP filesNon-printable characters were found in file functions.php. This is an indicator of potential errors in PHP code.4109: $template  = array();
  3. Comment reply : Declaration of comment replyCould not find the comment-reply script enqueued, however a reference to 'comment-reply' was found. Make sure that the comment-reply js script is being enqueued properly on singular pages.
  4. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  5. Custom elements : Presence of custom backgroundNo reference to custom background was found in the theme.
  6. Editor style : Presence of editor styleNo reference to add_editor_style() was found in the theme. It is recommended that the theme implements editor styling, so as to make the editor content match the resulting post output in the theme, for a better user experience.
  7. Date and time implementation : Use of the_time()At least one hard coded date was found in the file index.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file tag.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file author.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file archive.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file blog-single.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file category.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file blog-roll.php. Function get_option( 'date_format' ) should be used instead.
  8. Screenshot : Screenshot fileScreenshot dimensions are wrong! Detected: 300x250px (6:5). Ratio of width to height should be 4:3.Screenshot size is 300x250px. 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. Mandatory files : Presence of file comments.phpCould not find file comments.php in the theme.
  2. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.php.
  3. Optional files : Presence of comments template file comments.phpThis theme does not contain optional file comments.php.
  4. Optional files : Presence of front page template file front-page.phpThis theme does not contain optional file front-page.php.
  5. Optional files : Presence of single post template file single.phpThis theme does not contain optional file comments.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 : vc_column_blog.php 38: <?php require(get_theme_file_path('blog-roll.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 : tmp-blog-isotope.php 14: <?php require_once(get_theme_file_path('blog-roll-full-tmp.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 : tag.php 1: <?php get_header();?> <!-- Page content ================================================== --> <!-- Wrap the rest of the page in another container to center all the content. --> <div class='container blog'> <div class='row'> <?php if(of_get_option('archive_template') == 'full'){ ?> <div class='col-lg-8'> <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <div class='blog-post'> <div class='blog-twrapper'> <div class='blog-image right'> <?php $key_1_value = get_post_meta($post->ID, '_smartmeta_my-awesome-field77', true); if($key_1_value != '') { $blackfyre_allowed['iframe'] = array( 'src' => array(), 'height' => array(), 'width' => array(), 'frameborder' => array(), 'allowfullscreen' => array(), ); echo wp_kses($key_1_value, $blackfyre_allowed,array('http', 'https')); }elseif ( has_post_thumbnail() ) { ?> <a href='<?php esc_url(the_permalink()); ?>'> <?php $thumb = get_post_thumbnail_id(); $img_url = wp_get_attachment_url( $thumb,'full'); //get img URL $image = blackfyre_aq_resize( $img_url, 817, 320, true, '', true ); //resize & crop img ?><img alt='img' src='<?php echo esc_url($image[0]); ?>' /></a> <?php } ?> <?php if ( has_post_thumbnail() or $key_1_value != '') { ?> <div class='blog-date'> <?php }else{?> <div class='blog-date-noimg'> <?php } ?> <span class='date'><?php the_time('M'); ?><br /><?php the_time('d'); ?></span> <div class='plove'><?php if( function_exists('heart_love') && of_get_option('heart_rating') == '1' ) heart_love(); ?></div> </div> <!-- blog-rating --> <?php if(of_get_option('rating_type') == 'stars'){ require(get_theme_file_path('rating.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 : member-header.php 109: require_once(ABSPATH . 'wp-admin/includes/image.php');131: require_once(ABSPATH . 'wp-admin/includes/image.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 : tmp-blog-left.php 14: <?php require_once(get_theme_file_path('blog-roll-left-tmp.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 : tmp-blog-right.php 14: <?php require_once(get_theme_file_path('blog-roll-right-tmp.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 : author.php 56: require(get_theme_file_path('rating.php'));58: require(get_theme_file_path('rating-num.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 : archive.php 48: require(get_theme_file_path('rating.php'));50: require(get_theme_file_path('rating-num.php'));156: require(get_theme_file_path('rating.php'));158: require(get_theme_file_path('rating-num.php'));260: require(get_theme_file_path('rating.php'));262: require(get_theme_file_path('rating-num.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 : blog-roll-right-tmp.php 26: <?php require(get_theme_file_path('blog-roll.php')); ?>68: <?php require_once (get_theme_file_path('sidebar.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 : header.php 11: <?php include_once 'css/colours.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 : blog-single.php 198: require(get_theme_file_path('post-rating.php'));200: require(get_theme_file_path('post-rating-num.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 : blog-roll-full-tmp.php 19: <?php require(get_theme_file_path('blog-roll.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 : single.php 19: <?php require_once (get_theme_file_path('sidebar.php')); ?>31: <?php require_once (get_theme_file_path('blog-single.php')); ?>61: <?php require_once (get_theme_file_path('sidebar.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 : category.php 47: require(get_theme_file_path() .'/rating.php');49: require(get_theme_file_path() .'/rating-num.php');154: require(get_theme_file_path('rating.php'));156: require(get_theme_file_path('rating-num.php'));258: require(get_theme_file_path('rating.php'));260: require(get_theme_file_path('rating-num.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 : options-framework.php 1: <?php /* Plugin Name: Options Framework Plugin URI: http://www.wptheming.com Description: A framework for building theme options. Version: 0.8 Author: Devin Price Author URI: http://www.wptheming.com License: GPLv2 */ /* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ /* Basic plugin definitions */ define('OPTIONS_FRAMEWORK_VERSION', '0.9'); /* Make sure we don't expose any info if called directly */ if ( !function_exists( 'add_action' ) ) { echo 'Hi there! I'm just a little plugin, don't mind me.'; exit; } /* If the user can't edit theme options, no use running this plugin */ add_action('init', 'optionsframework_rolescheck' ); function optionsframework_rolescheck () { if ( current_user_can( 'edit_theme_options' ) ) { // If the user can edit theme options, let the fun begin! add_action( 'admin_menu', 'optionsframework_add_page'); add_action( 'admin_init', 'optionsframework_init' ); //add_action( 'admin_head', 'optionsframework_mlu_css' ); //add_action( 'admin_head', 'optionsframework_mlu_js' ); } } /* Loads the file for option sanitization */ add_action('init', 'optionsframework_load_sanitization' ); function optionsframework_load_sanitization() { require_once dirname( __FILE__ ) . '/options-sanitize.php'; } /* * Creates the settings in the database by looping through the array * we supplied in options.php. This is a neat way to do it since * we won't have to save settings for headers, descriptions, or arguments. * * Read more about the Settings API in the WordPress codex: * http://codex.wordpress.org/Settings_API * */ function optionsframework_init() { // Include the required files require_once dirname( __FILE__ ) . '/options-interface.php'; require_once dirname( __FILE__ ) . '/options-medialibrary-uploader.php'; // Loads the options array from the theme **This is for the BioSphere theme if ( $optionsfile = locate_template( array('themeOptions/options.php') ) ) { require_once($optionsfile); } else if (file_exists( dirname( __FILE__ ) . 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 : wp-clanwars.php 26: require_once(ABSPATH . 'wp-admin/includes/screen.php');28: require (dirname(__FILE__) . '/wp-clanwars-widget.php');29: require (dirname(__FILE__) . '/wp-nextclanmatch-widget.php');30: require (dirname(__FILE__) . '/wp-other-matches-widget.php');31: require (dirname(__FILE__) . '/wp-upcoming-matches-widget.php');32: require (dirname(__FILE__) . '/wp-match-carousel-widget.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 : blog-roll.php 41: require(get_theme_file_path('rating.php'));43: require(get_theme_file_path('rating-num.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 : tmp-blog-full.php 14: <?php require_once(get_theme_file_path('blog-roll-full-tmp.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 : blog-roll-left-tmp.php 3: <?php require_once (get_theme_file_path('sidebar.php')); ?>26: <?php require(get_theme_file_path('blog-roll.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