0
Validation results

Nasim theme

Nasim theme

WordPress 6.5.2 theme
0
  • THEME TYPEWordPress theme 6.5.2
  • FILE NAME36-nasim-2sweb.ir-v2_2.zip
  • FILE SIZE1511303 bytes
  • MD5cbe6245ec7fb26168e9f7f5050878b54
  • SHA1a5aa4ac0e33a676f2fa2330b2e6049381931c3cd
  • LICENSENone
  • FILES INCLUDEDCSS, PHP, HTML, Bitmap images
  • VERSION1.0
  • AUTHOR URI
  • CREATION DATE2019-10-03
  • LAST FILE UPDATE2019-10-03
  • LAST VALIDATION2019-10-03 20:21
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. Admin menu : Themes should use add_theme_page() for adding admin pages. File generate-dynamic-ads.php : 36: add_submenu_page(TSWEB_MAINMENU_NAME, $this->page_title, $this->page_title,File generate-options.php : 22: add_menu_page(TSWEB_THEME, TSWEB_THEME, 'administrator', $this->file_name, File generate-options.php : 25: add_submenu_page(TSWEB_MAINMENU_NAME, $this->page_title, $this->page_title,File generate-dynamic-sliders.php : 30: add_submenu_page(TSWEB_MAINMENU_NAME, $this->page_title, $this->page_title,File generate-dynamic-text-ads.php : 31: add_submenu_page(TSWEB_MAINMENU_NAME, $this->page_title, $this->page_title,
  4. Inapropriate constants : Use of TEMPLATEPATH Constant TEMPLATEPATH was found in the file functions.php. get_template_directory() should be used instead. 6: define('TSWEB_FUNCTIONS', TEMPLATEPATH . '/functions/');
  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('template_directory') was found in the file generate-options.php. Use get_template_directory_uri() instead.22: add_menu_page(TSWEB_THEME, TSWEB_THEME, 'administrator', $this->file_name, array(&$this, 'tsweb_generate_page'), get_bloginfo('template_directory').'/functions/img/icon.png'); get_bloginfo('template_directory') was found in the file functions.php. Use get_template_directory_uri() instead.9: define('TSWEB_THEME_DIR', get_bloginfo('template_directory'));
  7. Deprecated functions : bloginfo bloginfo('url') was found in the file header.php. Use echo esc_url( home_url() ) instead.7: <link rel='alternate' type='application/rss+xml' title='RSS Feed' href='<?php bloginfo('url');?>/?feed=rss'>8: <link rel='pingback' href='<?php bloginfo('url');?>/xmlrpc.php'>44: <h1><a href='<?php bloginfo('url');?>' <?php $logo=get_option('tsweb_logo'); if($logo) { ?>sty50: <li class='rss'><a href='<?php bloginfo('url');?>/?feed=rss' title='rss' target='_blank'>&nbsp;</a></li>85: <form id='search-form' method='get' action='<?php bloginfo('url');?>'>bloginfo('template_url') was found in the file header.php. Use echo esc_url( get_template_directory_uri() ) instead.12: <link rel='stylesheet' type='text/css' href='<?php bloginfo('template_url');?>/style.css'>13: <link rel='stylesheet' type='text/css' href='<?php bloginfo('template_url');?>/responsive.css'>14: <link rel='stylesheet' type='text/css' href='<?php bloginfo('template_url');?>/<?php echo get_option('tsweb_title_font');?>-fo16: <script src='<?php bloginfo('template_url');?>/js/html5.js'></script> 17: <script src='<?php bloginfo('template_url');?>/js/css3-mediaqueries.js'></script> bloginfo('url') was found in the file footer.php. Use echo esc_url( home_url() ) instead.12: کلیه حقوق مادی و معنوی این سایت متعلق به <a href='<?php bloginfo('url');?>' title='<?php bloginfo('description');?>'><?php bloginfobloginfo('template_url') was found in the file footer.php. Use echo esc_url( get_template_directory_uri() ) instead.24: <script type='text/javascript' src='<?php bloginfo('template_url');?>/js/jquery-core.min.js'></script> 25: <script type='text/javascript' src='<?php bloginfo('template_url');?>/js/jquery.lavalamp.js'></script> 26: <script type='text/javascript' src='<?php bloginfo('template_url');?>/js/superfish-menu.js'></script> 27: <script type='text/javascript' src='<?php bloginfo('template_url');?>/js/hoverIntent.js'></script> 28: <script type='text/javascript' src='<?php bloginfo('template_url');?>/js/ticker.js'></script> 29: <script type='text/javascript' src='<?php bloginfo('template_url');?>/js/jquery.bxslider.min.js'></script>30: <script type='text/javascript' src='<?php bloginfo('template_url');?>/js/jcarousellite_1.0.1.pack.js'></script> 31: <script type='text/javascript' src='<?php bloginfo('template_url');?>/js/captify.tiny.js'></script> 32: <script type='text/javascript' src='<?php bloginfo('template_url');?>/js/custom.js'></script>
  8. Post pagination : Implementation The theme doesn't have post pagination code in it. Use posts_nav_link() or paginate_links() or the_posts_pagination() or the_posts_navigation() or next_posts_link() and previous_posts_link() to add post pagination.
Warning
  1. theme tags : Presence of bad theme tagsFound wrong tag in 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 nasim-theme.
  3. Fundamental theme elements : Presence of wp_footer()Could not find wp_footer.
  4. Fundamental theme elements : Presence of language_attributes()Could not find .
  5. Fundamental theme elements : Presence of add_theme_support()Could not find add_theme_support( 'automatic-feed-links' ).
  6. Fundamental theme elements : Presence of comment_form()Could not find comment_form.
  7. Fundamental theme elements : Presence of body_class()Could not find body_class call in body tag.
  8. Fundamental theme elements : Presence of wp_link_pages()Could not find wp_link_pages.
  9. Fundamental theme elements : Presence of post_class()Could not find post_class.
  10. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  11. Custom elements : Presence of custom backgroundNo reference to custom background was found in the theme.
  12. 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.
  13. Featured image : Use of the_post_thumbnail() instead of custom fields for thumbnailsNo reference to the_post_thumbnail was found in the theme.
  14. CSS files : Presence of theme descriptionDescription is missing from style.css header.
  15. CSS files : Presence of license typeLicense: is missing from style.css header.
  16. CSS files : Presence of license urlLicense URI: is missing from style.css header.
  17. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  18. CSS files : Presence of .sticky class.sticky css class is needed in theme css.
  19. CSS files : Presence of .bypostauthor class.bypostauthor css class is needed in theme css.
  20. CSS files : Presence of .wp-caption class.wp-caption css class is needed in theme css.
  21. CSS files : Presence of .wp-caption-text class.wp-caption-text css class is needed in theme css.
  22. CSS files : Presence of .gallery-caption class.gallery-caption css class is needed in theme css.
  23. 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.
  24. CSS files : Presence of Theme URICould not find Theme URL.
  25. 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.
  26. 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 : search.php 3: include(TEMPLATEPATH.'/ticker-wrapper.php');4: include(TEMPLATEPATH.'/ads-top.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 : include-options.php 2: include('options/general-options.php');3: include('options/header-options.php');4: include('options/ads-top-options.php');5: include('options/ads-side-r-options.php');6: include('options/sidebar-right-options.php');7: include('options/ads-text-options.php');8: include('options/index-options.php');9: include('options/ads1-post-options.php');10: include('options/ads2-post-options.php');11: include('options/footer-options.php');12: include('options/single-options.php');13: include('options/reset-options.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 4: include(TEMPLATEPATH.'/ads-side.php');106: include(TEMPLATEPATH.'/ads-text.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 3: include(TEMPLATEPATH.'/ticker-wrapper.php');4: include(TEMPLATEPATH.'/ads-top.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 : 404.php 3: include(TEMPLATEPATH.'/ticker-wrapper.php');4: include(TEMPLATEPATH.'/ads-top.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 : index.php 3: include(TEMPLATEPATH.'/ticker-wrapper.php');4: include(TEMPLATEPATH.'/ads-top.php');9: include(TEMPLATEPATH.'/slider.php');11: include(TEMPLATEPATH.'/box1.php');14: include(TEMPLATEPATH.'/ads1-post.php');18: include(TEMPLATEPATH.'/box-slide.php');20: include(TEMPLATEPATH.'/box2.php');23: include(TEMPLATEPATH.'/ads2-post.php');28: include(TEMPLATEPATH.'/box3.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 3: include(TEMPLATEPATH.'/ticker-wrapper.php');4: include(TEMPLATEPATH.'/ads-top.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 : page.php 3: include(TEMPLATEPATH.'/ticker-wrapper.php');4: include(TEMPLATEPATH.'/ads-top.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