0
Validation results

Donya - دنیا

Donya - دنیا

WordPress 6.6.1 theme
0
  • THEME TYPEWordPress theme 6.6.1
  • FILE NAMEdonya.zip
  • FILE SIZE9009705 bytes
  • MD5f9263c6fb06917f9f5860acfc28f05e6
  • SHA18311d0a52f0f0a8c79e0a56620ceed2a428cf9e1
  • LICENSENone
  • FILES INCLUDEDCSS, PHP, Bitmap images
  • VERSION1.0.4
  • CREATION DATE2024-05-08
  • LAST FILE UPDATE2024-05-08
  • LAST VALIDATION2024-05-08 22:51
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.
  2. Widgets : Widgets The theme appears to use dynamic_sidebars() but no register_sidebar() was found. See: register_sidebar
     <?php register_sidebar( $args ); ?>
  3. Presence of iframes : iframes are sometimes used to load unwanted adverts and malicious code on another site Found <iframe src="https://www.youtube.com/embed/<?php echo esc_attr( $youtube_video_id ); ?> in file youtube.php. 28: <iframe src='https://www.youtube.com/embed/<?php echo esc_attr( $youtube_viFound <iframe src="https://player.vimeo.com/video/<?php echo esc_attr( $video_id ); ?> in file vimeo.php. 35: <iframe src='https://player.vimeo.com/video/<?php echo esc_attr( $video_id Found <iframe width="560" height="315" src="https://www.youtube.com/embed/M0nEF7b0woU" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen> in file getting-started.php. 31: <iframe width='560' height='315' src='https://www.youtube.com/embed/M0nEF7bFound <iframe width="560" height="315" src="https://www.youtube.com/embed/M0nEF7b0woU" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen> in file getting-started-pro.php. 4: <iframe width='560' height='315' src='https://www.youtube.com/embed/M0nEF7b
  4. Admin menu : Themes should use add_theme_page() for adding admin pages. File setting.php : 1110: add_menu_page('تنظیمات قالب','تنظیمات قالب','manage_oFile class-tgm-plugin-activation.php : 731: $this->page_hook = call_user_func( 'add_submenu_page', $args['parent_slug'], $args['page_title'], $args['menu_tFile settings.php : 63: add_action( $admin_menu_hook, array( $this, 'add_settings_page' ), 90 );69: public function add_settings_page() {File settings.php : 73: $page_hook = add_submenu_page(File about.php : 68: add_menu_page(File about.php : 83: $about = add_submenu_page(
  5. Deprecated functions : the_content_rss the_content_rss found in file content-shop.php. Deprecated since version 2.9. Use the_content_feed() instead.10: <?php the_content_rss('', TRUE, '', 60); ?>
  6. Deprecated functions : get_currentuserinfo get_currentuserinfo found in file widget-header-two.php. Deprecated since version 4.5. Use wp_get_current_user instead.381: get_currentuserinfo();get_currentuserinfo found in file widget-header-menu-bar.php. Deprecated since version 4.5. Use wp_get_current_user instead.252: get_currentuserinfo();get_currentuserinfo found in file widget-header-mobile.php. Deprecated since version 4.5. Use wp_get_current_user instead.122: get_currentuserinfo();get_currentuserinfo found in file widget-header-three.php. Deprecated since version 4.5. Use wp_get_current_user instead.335: get_currentuserinfo();353: get_currentuserinfo();get_currentuserinfo found in file widget-header-one.php. Deprecated since version 4.5. Use wp_get_current_user instead.330: get_currentuserinfo();get_currentuserinfo found in file widget-header-mobile.php. Deprecated since version 4.5. Use wp_get_current_user instead.122: get_currentuserinfo();get_currentuserinfo found in file widget-header-one.php. Deprecated since version 4.5. Use wp_get_current_user instead.288: get_currentuserinfo();
  7. Deprecated functions : bloginfo bloginfo('url') was found in the file single-product.php. Use echo esc_url( home_url() ) instead.466: <input id='myInput' value='<?php bloginfo('url'); ?>/?p=<?php the_ID(); ?>'>bloginfo('template_directory') was found in the file single-product.php. Use echo esc_url( get_template_directory_uri() ) instead.355: <img src='<?php bloginfo('template_directory'); ?>/img/product/2.png'></div><?php } ?> 361: <img src='<?php bloginfo('template_directory'); ?>/img/product/3.png'></div><?php } ?>366: <img src='<?php bloginfo('template_directory'); ?>/img/product/4.png'></div><?php } ?>373: <img src='<?php bloginfo('template_directory'); ?>/img/product/5.png'>
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 donya-%d8%af%d9%86%db%8c%d8%a7.
  3. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function __, with the arguments '-' in file my-profile.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'tutor' in file dashboard.php.Found a translation function that is missing a text-domain. Function esc_html_e, with the arguments 'tutor' in file withdraw.php.Found a translation function that is missing a text-domain. Function esc_html_e, with the arguments in file review.php.Found a translation function that is missing a text-domain. Function esc_html_e, with the arguments 'tutor' in file content.php.Found a translation function that is missing a text-domain. Function esc_html_e, with the arguments 'tutor' in file content.php.Found a translation function that is missing a text-domain. Function esc_html_e, with the arguments 'tutor' in file content.php.Found a translation function that is missing a text-domain. Function esc_html_e, with the arguments 'Previous' in file next-previous-pagination.php.Found a translation function that is missing a text-domain. Function esc_html_e, with the arguments 'Next' in file next-previous-pagination.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 downloads.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 'قبلی' in file blog.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'بعدی' in file blog.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'tutor-lms-elementor-addons' in file course-list.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'tutor-lms-elementor-addons' in file course-list.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 tutor, tutor-pro, easy-digital-downloads, tutor_pro, woocommerce, studiare, downloads_remaining, yadgiri, tgmpa, meta-box, falcon, online-generator, metabox-online-generator, Wootar, plugin-name, elementor, plugin-domain, woolentor, text-domain, your-plugin, tutor-lms-elementor-addons, donya, textdomain, twentythirteen.
  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 widget-catagory-one.php.Found a mix of \r\n and \n line endings in file widget-catagory-two.php.Found a mix of \r\n and \n line endings in file widget-catagory-three.php.Found a mix of \r\n and \n line endings in file widget-icon.php.Found a mix of \r\n and \n line endings in file widget-amar.php.Found a mix of \r\n and \n line endings in file widget-image.php.Found a mix of \r\n and \n line endings in file widget-blog.php.Found a mix of \r\n and \n line endings in file css-admin.css.
  6. Fundamental theme elements : Presence of add_theme_support()Could not find add_theme_support( 'automatic-feed-links' ).
  7. 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.
  8. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  9. Custom elements : Presence of custom backgroundNo reference to custom background was found in the theme.
  10. 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.
  11. I18N implementation : Proper use of _e(Possible variable $withdraw_history found in translation function in withdraw.php. Translation function calls should not contain PHP variables. Possible variable $submitted_assignment found in translation function in review.php. Translation function calls should not contain PHP variables. Possible variable $max_mark found in translation function in content.php. Translation function calls should not contain PHP variables. Possible variable $pass_mark found in translation function in content.php. Translation function calls should not contain PHP variables. Possible variable $given_mark found in translation function in content.php. Translation function calls should not contain PHP variables.
  12. I18N implementation : Proper use of ___all(Possible variable $course found in translation function in dashboard.php. Translation function calls should not contain PHP variables. Possible variable $time_duration found in translation function in content.php. Translation function calls should not contain PHP variables. Possible variable $pagination_prev_label found in translation function in course-list.php. Translation function calls should not contain PHP variables. Possible variable $pagination_next_label found in translation function in course-list.php. Translation function calls should not contain PHP variables.
  13. I18N implementation : Proper use of _x(Possible variable $attachment_text found in translation function in content.php. Translation function calls should not contain PHP variables.
  14. I18N implementation : Proper use of esc_html_e(Possible variable $withdraw_history found in translation function in withdraw.php. Translation function calls should not contain PHP variables. Possible variable $submitted_assignment found in translation function in review.php. Translation function calls should not contain PHP variables. Possible variable $max_mark found in translation function in content.php. Translation function calls should not contain PHP variables. Possible variable $pass_mark found in translation function in content.php. Translation function calls should not contain PHP variables. Possible variable $given_mark found in translation function in content.php. Translation function calls should not contain PHP variables.
  15. Featured image : Use of add_theme_support( 'post-thumbnails' ) in functions.php fileNo reference to post-thumbnails was found in the theme.
  16. Date and time implementation : Use of the_time()At least one hard coded date was found in the file single-elai.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file dashboard.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file content-blog.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file single.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file single-moshtari.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file widget-post.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file widget-post-slider-three.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file widget-post-grid-two.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file widget-post-grid.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file widget-post-grid-one.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file widget-post-slider-two.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file widget-post-slider.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file blog.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file widget-post-two.php. Function get_option( 'date_format' ) should be used instead.At least one hard coded date was found in the file widget-post-one.php. Function get_option( 'date_format' ) should be used instead.
  17. Screenshot : Screenshot fileScreenshot dimensions are wrong! Detected: 765x579px (255:193). Ratio of width to height should be 4:3.Screenshot size is 765x579px. 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 home template file home.phpThis theme does not contain optional file home.php.
  6. Optional files : Presence of single post template file single.phpThis theme does not contain optional file comments.php.
  7. Optional files : Presence of category template file category.phpThis theme does not contain optional file category.php.
  8. Optional files : Presence of tag template file tag.phpThis theme does not contain optional file tag.php.
  9. Optional files : Presence of author template file author.phpThis theme does not contain optional file author.php.
  10. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  11. Use of includes : Use of include or requireThe theme appears to use include or require : question.php 136: require 'choice-box.php';141: require 'fill-in-the-blank.php';146: require 'ordering.php';152: require 'matching.php';157: require 'image-matching.php';162: require 'image-answer.php';167: require 'open-ended.php';172: require 'short-answer.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 : taranomelementor.php 14: require_once( __DIR__ . '/widget/tuter/widget-course.php');15: require_once( __DIR__ . '/widget/tuter/widget-course-one.php');16: require_once( __DIR__ . '/widget/tuter/widget-header-one.php');17: require_once( __DIR__ . '/widget/tuter/widget-header-mobile.php');25: require_once( __DIR__ . '/widget/course/widget-dore.php');26: require_once( __DIR__ . '/widget/course/widget-dorefree.php');27: require_once( __DIR__ . '/widget/course/widget-title.php');28: require_once( __DIR__ . '/widget/course/widget-modares.php');29: require_once( __DIR__ . '/widget/course/widget-psh.php');30: require_once( __DIR__ . '/widget/course/widget-titletwo.php');31: require_once( __DIR__ . '/widget/course/widget-download.php');32: require_once( __DIR__ . '/widget/course/widget-downloads.php');35: require_once( __DIR__ . '/widget/offer/widget-product-offer.php');38: require_once( __DIR__ . '/widget/product/widget-product-slider-one.php');39: require_once( __DIR__ . '/widget/product/widget-product-slider-two.php');40: require_once( __DIR__ . '/widget/product/widget-product-slider-three.php');41: require_once( __DIR__ . '/widget/product/widget-product-slider-four.php');42: require_once( __DIR__ . '/widget/product/widget-product-slider-five.php');43: require_once( __DIR__ . '/widget/product/widget-product-slider-six.php');44: require_once( __DIR__ . '/widget/product/widget-product-slider-seven.php');45: require_once( __DIR__ . '/widget/product/widget-product-slider-eight.php');46: require_once( __DIR__ . '/widget/product/widget-product-slider-nine.php');47: require_once( __DIR__ . '/widget/product/widget-product-slider-ten.php');49: require_once( __DIR__ . '/widget/product/widget-product-tab.php');50: require_once( __DIR__ . '/widget/product/widget-product-list.php');53: require_once( __DIR__ . '/widget/product/widget-product-lahze.php');57: require_once( __DIR__ . '/widget/category/widget-catagory-one.php');58: require_once( __DIR__ . '/widget/category/widget-catagory-two.php');59: require_once( __DIR__ . '/widget/category/widget-catagory-three.php');60: require_once( __DIR__ . '/widget/category/widget-catagory-four.php');61: require_once( __DIR__ . '/widget/category/widget-catagory-five.php');62: require_once( __DIR__ . '/widget/category/widget-catagory-six.php');63: require_once( __DIR__ . '/widget/category/widget-catagory-seven.php');65: require_once( __DIR__ . '/widget/post/widget-post.php');66: require_once( __DIR__ . '/widget/post/widget-post-slider.php');67: require_once( __DIR__ . '/widget/post/widget-post-grid.php');68: require_once( __DIR__ . '/widget/post/widget-post-slider-two.php');69: require_once( __DIR__ . '/widget/post/widget-post-slider-three.php');70: require_once( __DIR__ . '/widget/post/widget-post-grid-one.php');71: require_once( __DIR__ . '/widget/post/widget-post-grid-two.php');75: require_once( __DIR__ . '/widget/header/widget-header-one.php');76: require_once( __DIR__ . '/widget/header/widget-header-two.php');77: require_once( __DIR__ . '/widget/header/widget-header-three.php');78: require_once( __DIR__ . '/widget/header/widget-header-menu.php');79: require_once( __DIR__ . '/widget/header/widget-search.php');80: require_once( __DIR__ . '/widget/header/widget-header-menu-bar.php');81: require_once( __DIR__ . '/widget/header/widget-header-mobile.php');83: require_once( __DIR__ . '/widget/blog/widget-single-post.php');84: require_once( __DIR__ . '/widget/blog/widget-post-one.php');85: require_once( __DIR__ . '/widget/blog/widget-post-two.php');86: require_once( __DIR__ . '/widget/blog/widget-blog.php');89: require_once( __DIR__ . '/widget/general/widget-search.php');90: require_once( __DIR__ . '/widget/general/widget-daneshjoo.php');91: require_once( __DIR__ . '/widget/general/widget-daneshjoo-two.php');92: require_once( __DIR__ . '/widget/general/widget-daneshjoo-three.php');93: require_once( __DIR__ . '/widget/general/widget-image.php');94: require_once( __DIR__ . '/widget/general/widget-amar.php');95: require_once( __DIR__ . '/widget/general/widget-icon.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