74
Validation results

Astra

Free WordPress 6.7.1 theme

Astra

Free WordPress 6.7.1 theme
74
This theme is open source.
Critical alerts
  1. Admin menu : Themes should use add_theme_page() for adding admin pages. File class-astra-menu.php : 126: add_menu_page( // phpcs:ignore WPThemeReview.PluginTerritory.NoAddAdminPage137: add_submenu_page( // phpcs:ignore WPThemeReview.PluginTerritory.NoAddAdminPages.add_menu_pages_add_submenu_page -- Taken the menu on top level151: add_submenu_page( // phpcs:ignore WPThemeReview.PluginTerritory.NoAddAdminPages.add_menu_pages_add_submenu_page -- Taken the menu on top level164: add_submenu_page( // phpcs:ignore WPThemeReview.PluginTerritory.NoAddAdminPages.add_menu_pages_add_submenu_page -- Taken the menu on top levelFile class-astra-menu.php : 126: add_menu_page( // phpcs:ignore WPThemeReview.PluginTerritory.NoAddAdminPage137: add_submenu_page( // phpcs:ignore WPThemeReview.PluginTerritory.NoAddAdminPages.add_menu_pages_add_submenu_page -- Taken the menu on top level151: add_submenu_page( // phpcs:ignore WPThemeReview.PluginTerritory.NoAddAdminPages.add_menu_pages_add_submenu_page -- Taken the menu on top level164: add_submenu_page( // phpcs:ignore WPThemeReview.PluginTerritory.NoAddAdminPages.add_menu_pages_add_submenu_page -- Taken the menu on top levelFile class-astra-menu.php : 137: add_submenu_page( // phpcs:ignore WPThemeReview.PluginTerritory.NoAddAdminP151: add_submenu_page( // phpcs:ignore WPThemeReview.PluginTerritory.NoAddAdminP164: add_submenu_page( // phpcs:ignore WPThemeReview.PluginTerritory.NoAddAdminPFile class-astra-menu.php : 126: add_menu_page( // phpcs:ignore WPThemeReview.PluginTerritory.NoAddAdminPage137: add_submenu_page( // phpcs:ignore WPThemeReview.PluginTerritory.NoAddAdminPages.add_menu_pages_add_submenu_page -- Taken the menu on top level151: add_submenu_page( // phpcs:ignore WPThemeReview.PluginTerritory.NoAddAdminPages.add_menu_pages_add_submenu_page -- Taken the menu on top level164: add_submenu_page( // phpcs:ignore WPThemeReview.PluginTerritory.NoAddAdminPages.add_menu_pages_add_submenu_page -- Taken the menu on top levelFile class-astra-menu.php : 137: add_submenu_page( // phpcs:ignore WPThemeReview.PluginTerritory.NoAddAdminP151: add_submenu_page( // phpcs:ignore WPThemeReview.PluginTerritory.NoAddAdminP164: add_submenu_page( // phpcs:ignore WPThemeReview.PluginTerritory.NoAddAdminPFile class-astra-menu.php : 126: add_menu_page( // phpcs:ignore WPThemeReview.PluginTerritory.NoAddAdminPage137: add_submenu_page( // phpcs:ignore WPThemeReview.PluginTerritory.NoAddAdminPages.add_menu_pages_add_submenu_page -- Taken the menu on top level151: add_submenu_page( // phpcs:ignore WPThemeReview.PluginTerritory.NoAddAdminPages.add_menu_pages_add_submenu_page -- Taken the menu on top level164: add_submenu_page( // phpcs:ignore WPThemeReview.PluginTerritory.NoAddAdminPages.add_menu_pages_add_submenu_page -- Taken the menu on top levelFile class-astra-menu.php : 137: add_submenu_page( // phpcs:ignore WPThemeReview.PluginTerritory.NoAddAdminP151: add_submenu_page( // phpcs:ignore WPThemeReview.PluginTerritory.NoAddAdminP164: add_submenu_page( // phpcs:ignore WPThemeReview.PluginTerritory.NoAddAdminPFile class-astra-menu.php : 126: add_menu_page( // phpcs:ignore WPThemeReview.PluginTerritory.NoAddAdminPage137: add_submenu_page( // phpcs:ignore WPThemeReview.PluginTerritory.NoAddAdminPages.add_menu_pages_add_submenu_page -- Taken the menu on top level151: add_submenu_page( // phpcs:ignore WPThemeReview.PluginTerritory.NoAddAdminPages.add_menu_pages_add_submenu_page -- Taken the menu on top level164: add_submenu_page( // phpcs:ignore WPThemeReview.PluginTerritory.NoAddAdminPages.add_menu_pages_add_submenu_page -- Taken the menu on top levelFile class-astra-theme-builder-free.php : 131: add_submenu_page( // phpcs:ignore WPThemeReview.PluginTerritory.NoAddAdminPFile class-astra-theme-builder-free.php : 131: add_submenu_page( // phpcs:ignore WPThemeReview.PluginTerritory.NoAddAdminPages.add_menu_pages_add_submenu_page -- Taken the menu on top level
Warning
  1. theme tags : Presence of bad theme tagsFound wrong tag custom-logo in style.css header.
  2. 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 astra, astra-addon.
  3. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  4. Custom elements : Presence of custom backgroundNo reference to custom background was found in the theme.
  5. I18N implementation : Proper use of ___all(Possible variable $special_type found in translation function in class-astra-posts-special-archive-structures-configs.php. Translation function calls should not contain PHP variables. Possible variable $special_type found in translation function in class-astra-posts-special-archive-structures-configs.php. Translation function calls should not contain PHP variables.
  6. Date and time implementation : Use of date_i18n()At least one hard coded date was found in the file markup-extras.php. Function get_option( 'date_format' ) should be used instead.
Tip-off
  1. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file class-astra-posts-single-structures-configs.php.632: 'help' => sprintf( /* translators: 1: link open markup, 2: link close markup */ __( 'Calculate a personalized image ratio using this %1$s online tool %2$s for your image dimensions.', 'astra' ), '<a href='https://www.digitalrebellion.com/webapps/aspectcalc' target='_blank'>', '</Possible hard-coded links were found in the file class-astra-related-posts-configs.php.364: 'help' => sprintf( /* translators: 1: link open markup, 2: link close markup */ __( 'Calculate a personalized image ratio using this %1$s online tool %2$s for your image dimensions.', 'astra' ), '<a href='https://www.digitalrebellion.com/webapps/aspectcalc' target='_blank'>', '</Possible hard-coded links were found in the file class-astra-blog-layout-configs.php.439: 'help' => sprintf( /* translators: 1: link open markup, 2: link close markup */ __( 'Calculate a personalized image ratio using this %1$s online tool %2$s for your image dimensions.', 'astra' ), '<a href='https://www.digitalrebellion.com/webapps/aspectcalc' target='_blank'>', '</
  2. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.php.
  3. Optional files : Presence of front page template file front-page.phpThis theme does not contain optional file front-page.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.
Other checked themes