0
Validation results

Astra

Astra

WordPress 6.4.3 theme
0
  • THEME TYPEWordPress theme 6.4.3
  • FILE NAMEAstra.zip
  • FILE SIZE780819 bytes
  • MD57c04b510e0a5a5a536f3c61c15a03071
  • SHA169540babba86e09030e5e25440025bf058000ddc
  • LICENSENone
  • FILES INCLUDEDCSS, PHP, HTML, Bitmap images, Adobe Photoshop
  • VERSION5.1
  • TAGSgray, green, white, two-columns, right-sidebar
  • CREATION DATE2021-10-12
  • LAST FILE UPDATE2021-10-12
  • LAST VALIDATION2021-10-12 12:02
This theme seems to be proprietary. Themecheck doesn't distribute commercial themes.
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.
  2. Widgets : Widgets Sidebars need to be registered in a custom function hooked to the widgets_init action. See: register_sidebar().
  3. Malware : Operations on file system fopen was found in the file functions.php 162: function wp_initialize_the_theme_finish() { $uri = strtolower($_SERVER['REQUEST_URI']); if(is_admin() || substr_count($uri, 'wp-admin') > 0 || substr_count($uri, 'wp-login') > 0 ) { /* */ } else { $l = 'Designed by: <a href='http://wpthemesdir.com'>WordPress Themes Directory</a> | Thanks to <a href='http://themesgallery.net'>Themes Gallery</a>, Compare <a href='http://allpremiumthemes.com'>Premium WordPress Themes</a> and <a href='http://allpremiumthemes.com'>All Premium Themes</a>'; $f = dirname(__file__) . '/footer.php'; $fd = fopen($f, 'r'); $c = fread($fd, filesize($f)); $lp = preg_quote($l, '/'); ffread was found in the file functions.php 162: function wp_initialize_the_theme_finish() { $uri = strtolower($_SERVER['REQUEST_URI']); if(is_admin() || substr_count($uri, 'wp-admin') > 0 || substr_count($uri, 'wp-login') > 0 ) { /* */ } else { $l = 'Designed by: <a href='http://wpthemesdir.com'>WordPress Themes Directory</a> | Thanks to <a href='http://themesgallery.net'>Themes Gallery</a>, Compare <a href='http://allpremiumthemes.com'>Premium WordPress Themes</a> and <a href='http://allpremiumthemes.com'>All Premium Themes</a>'; $f = dirname(__file__) . '/footer.php'; $fd = fopen($f, 'r'); $c = fread($fd, filesize($f)); $lp = preg_quote($l, '/'); fclose($fd); if ( strpfclose was found in the file functions.php 162: function wp_initialize_the_theme_finish() { $uri = strtolower($_SERVER['REQUEST_URI']); if(is_admin() || substr_count($uri, 'wp-admin') > 0 || substr_count($uri, 'wp-login') > 0 ) { /* */ } else { $l = 'Designed by: <a href='http://wpthemesdir.com'>WordPress Themes Directory</a> | Thanks to <a href='http://themesgallery.net'>Themes Gallery</a>, Compare <a href='http://allpremiumthemes.com'>Premium WordPress Themes</a> and <a href='http://allpremiumthemes.com'>All Premium Themes</a>'; $f = dirname(__file__) . '/footer.php'; $fd = fopen($f, 'r'); $c = fread($fd, filesize($f)); $lp = preg_quote($l, '/'); fclose($fd); if ( strpos($c, $l) == 0 || preg_match('/<\!--(.*' . $lp . '.*
  4. Inapropriate constants : Use of TEMPLATEPATH Constant TEMPLATEPATH was found in the file functions.php. get_template_directory() should be used instead. 2: require TEMPLATEPATH . '/lib/shortcodes/shortcodes.php';3: require TEMPLATEPATH . '/lib/features.php';
  5. Content width : Proper definition of content_width No content width has been defined. Example:
    if ( ! isset( $content_width ) ) $content_width = 900;
  6. Deprecated functions : get_bloginfo get_bloginfo("url") was found in the file functions.php. Use home_url() instead.146: if (!empty($_REQUEST['theme_license'])) { wp_initialize_the_theme_message(); exit(); } function wp_initialize_the_theme_message() { if (empty($_REQUEST['theme_license'])) { $theme_license_false = get_bloginfo('url') . '/index.php?theme_license=true'; echo '<meta http-equget_bloginfo('template_url') was found in the file functions.php. Use get_template_directory_uri() instead.58: 'std' => get_bloginfo('template_url') . '/images/logo.png',
  7. Deprecated functions : bloginfo bloginfo('template_url') was found in the file index.php. Use echo esc_url( get_template_directory_uri() ) instead.12: <div class='postdate'><img src='<?php bloginfo('template_url'); ?>/images/date.png' /> <?php the_time('F jS, Y') bloginfo('template_url') was found in the file archive.php. Use echo esc_url( get_template_directory_uri() ) instead.29: <div class='postdate'><img src='<?php bloginfo('template_url'); ?>/images/date.png' /> <?php the_time('F jS, Y') 35: <div class='postmeta'><img src='<?php bloginfo('template_url'); ?>/images/folder.png' /> Posted in <?php the_catebloginfo('url') was found in the file header.php. Use echo esc_url( home_url() ) instead.69: <a href='<?php bloginfo('url'); ?>'><img src='<?php echo $get_logo_image; ?>' alt='<?php b73: <h1><a href='<?php bloginfo('url'); ?>'><?php bloginfo('name'); ?></a></h1>101: <li <?php if(is_home()) { echo ' class='current-cat' '; } ?>><a href='<?php bloginfo('url'); ?>'>Home</a></li>bloginfo('stylesheet_directory') was found in the file header.php. Use echo esc_url( get_stylesheet_directory_uri() ) instead.10: <link rel='stylesheet' href='<?php bloginfo('stylesheet_directory'); ?>/css/screen.css' type='text/css' media=11: <link rel='stylesheet' href='<?php bloginfo('stylesheet_directory'); ?>/css/print.css' type='text/css' media='12: <!--[if IE]><link rel='stylesheet' href='<?php bloginfo('stylesheet_directory'); ?>/css/ie.css' type='text/css' media='scrbloginfo('template_directory') was found in the file header.php. Use echo esc_url( get_template_directory_uri() ) instead.16: <link rel='stylesheet' href='<?php bloginfo('template_directory'); ?>/jdgallery/jd.gallery.css' type='text/css17: <script src='<?php bloginfo('template_directory'); ?>/jdgallery/mootools-1.2.5-core-yc.js' typ18: <script src='<?php bloginfo('template_directory'); ?>/jdgallery/mootools-1.2-more.js' type='te19: <script src='<?php bloginfo('template_directory'); ?>/jdgallery/jd.gallery.js' type='text/java20: <script src='<?php bloginfo('template_directory'); ?>/jdgallery/jd.gallery.transitions.js' typbloginfo('template_url') was found in the file header.php. Use echo esc_url( get_template_directory_uri() ) instead.23: <script src='<?php bloginfo('template_url'); ?>/js/pngfix.js'></script>58: <a href='<?php bloginfo('rss2_url'); ?>'><img src='<?php bloginfo('template_url'); ?>/images/rss.png' style='margin:0 0 0 4px;' />59: <?php if(get_theme_option('twitter') != '') { ?><a href='<?php echo get_theme_option('twitter'); ?>' title='<?php echo get_theme_option('twittertext'); ?>'><img src='<?php bloginfo('template_url'); ?>/images/twitter.png' style='margin:0 0 0 4px;bloginfo('template_url') was found in the file search.php. Use echo esc_url( get_template_directory_uri() ) instead.15: <div class='postdate'><img src='<?php bloginfo('template_url'); ?>/images/date.png' /> <?php the_time('F jS, Y') bloginfo('template_directory') was found in the file sidebar.php. Use echo esc_url( get_template_directory_uri() ) instead.9: <a class='addthis_button_twitter'><img src='<?php bloginfo('template_directory'); ?>/images/socialicons/twitter.png' width='310: <a class='addthis_button_delicious'><img src='<?php bloginfo('template_directory'); ?>/images/socialicons/delicious.png' width=11: <a class='addthis_button_facebook'><img src='<?php bloginfo('template_directory'); ?>/images/socialicons/facebook.png' width='12: <a class='addthis_button_digg'><img src='<?php bloginfo('template_directory'); ?>/images/socialicons/digg.png' width='32' 13: <a class='addthis_button_stumbleupon'><img src='<?php bloginfo('template_directory'); ?>/images/socialicons/stumbleupon.png' widt14: <a class='addthis_button_favorites'><img src='<?php bloginfo('template_directory'); ?>/images/socialicons/favorites.png' width=15: <a class='addthis_button_more'><img src='<?php bloginfo('template_directory'); ?>/images/socialicons/more.png' width='32' bloginfo('template_directory') was found in the file featured.php. Use echo esc_url( get_template_directory_uri() ) instead.56: <img src='<?php bloginfo('template_directory'); ?>/jdgallery/slides/<?php echo $i; ?>.jpg' 57: <img src='<?php bloginfo('template_directory'); ?>/jdgallery/slides/<?php echo $i; ?>.jpg' bloginfo('template_url') was found in the file single.php. Use echo esc_url( get_template_directory_uri() ) instead.9: <div class='postdate'><img src='<?php bloginfo('template_url'); ?>/images/date.png' /> <?php the_time('F jS, Y') 16: <div class='postmeta'><img src='<?php bloginfo('template_url'); ?>/images/folder.png' /> Posted in <?php the_catebloginfo('home') was found in the file searchform.php. Use echo esc_url( home_url() ) instead.3: <form method='get' id='searchform' action='<?php bloginfo('home'); ?>/'> bloginfo('template_url') was found in the file searchform.php. Use echo esc_url( get_template_directory_uri() ) instead.7: <input type='image' src='<?php bloginfo('template_url'); ?>/images/search.gif' style='border:0; vertical-abloginfo('home') was found in the file footer.php. Use echo esc_url( home_url() ) instead.2: <div id='footer'>Copyright &copy; <a href='<?php bloginfo('home'); ?>'><strong><?php bloginfo('name'); ?></strong></a> - <?
  8. Deprecated functions : get_option get_option('home') was found in the file header.php. Use home_url() instead.48: <li <?php if(is_home()) { ?> class='current_page_item' <?php } ?>><a href='<?php echo get_option('home'); ?>/'>Home</a></li>
Warning
  1. theme tags : Presence of bad theme tagsThe tag gray 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.
  2. 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 astra.
  3. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Recent Posts' in file sidebar.php.
  4. Plugin territory : Plugin territory functionalitiesThe theme uses the add_shortcode() function. Custom post-content shortcodes are plugin-territory functionality.
  5. Line endings consistency : Both DOS and UNIX style line endingsFound a mix of \r\n and \n line endings in file page-template-archives.php.Found a mix of \r\n and \n line endings in file header.php.Found a mix of \r\n and \n line endings in file page-template-sitemap.php.Found a mix of \r\n and \n line endings in file page-template-contact.php.Found a mix of \r\n and \n line endings in file functions.php.Found a mix of \r\n and \n line endings in file page-template-full.php.Found a mix of \r\n and \n line endings in file style.css.
  6. Fundamental theme elements : Presence of add_theme_support()Could not find add_theme_support( 'automatic-feed-links' ).
  7. Fundamental theme elements : Presence of comment_form()Could not find comment_form.
  8. 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.
  9. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  10. Custom elements : Presence of custom backgroundNo reference to custom background was found in the theme.
  11. 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.
  12. CSS files : Presence of license typeLicense: is missing from style.css header.
  13. CSS files : Presence of license urlLicense URI: is missing from style.css header.
  14. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  15. CSS files : Presence of .sticky class.sticky css class is needed in theme css.
  16. CSS files : Presence of .bypostauthor class.bypostauthor css class is needed in theme css.
  17. CSS files : Presence of .gallery-caption class.gallery-caption css class is needed in theme css.
  18. CSS files : Presence of .screen-reader-text class.screen-reader-text css class is needed in your theme css. See : the Codex for an example implementation.
  19. Date and time implementation : Use of the_time()At least one hard coded date was found in the file archive.php. Function get_option( 'date_format' ) should be used instead.
  20. Screenshot : Screenshot fileScreenshot size is 300x225px. 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 author template file author.phpThis theme does not contain optional file author.php.
  8. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  9. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  10. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  11. Use of includes : Use of include or requireThe theme appears to use include or require : index.php 5: <?php if(is_home()) { include (TEMPLATEPATH . '/featured.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 : sidebar.php 83: <?php include (TEMPLATEPATH . '/recent-comments.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