11
Validation results

Photolux

Photolux

WordPress 6.4.3 theme
11
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 update-notifier.php : 68: add_dashboard_page( $this->theme_name . ' Theme Updates', $this->theme_nameFile class-pexeto-order-manager.php : 26: add_action( 'admin_menu', array( $this, 'add_menu_page' ) );35: public function add_menu_page() {File class-pexeto-order-manager.php : 36: add_submenu_page(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 init-admin.php : 160: add_menu_page( PEXETO_THEMENAME, PEXETO_THEMENAME, 'edit_theme_options', PEFile init-admin.php : 161: add_submenu_page(PEXETO_OPTIONS_PAGE, PEXETO_THEMENAME.' Settings', ''.PEXEFile custom-pages.php : 88: add_submenu_page( $page->parent_slug, $page->page_name, $page->page_name, '
  4. Content width : Proper definition of content_width No content width has been defined. Example:
    if ( ! isset( $content_width ) ) $content_width = 900;
Warning
  1. theme tags : Presence of bad theme tagsFound wrong tag in style.css header.
  2. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function __, with the arguments ' Theme Main Menu' in file init-front.php.Found a translation function that is missing a text-domain. Function __, with the arguments ' Theme Footer Menu' in file init-front.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'pexeto' in file general.php.Found a translation function that is missing a text-domain. Function __, with the arguments '<cite class="fn">%s</cite>' in file comments.php.Found a translation function that is missing a text-domain. Function __, with the arguments '%1$s' in file comments.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Portfolio', 'portfolio name' in file portfolio.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Portfolio Item', 'portfolio type singular name' in file portfolio.php.Found a translation function that is missing a text-domain. Function _x, with the arguments 'Add New', 'portfolio' in file portfolio.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Add New Item' in file portfolio.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Edit Item' in file portfolio.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'New Portfolio Item' in file portfolio.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'View Item' in file portfolio.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'Search Portfolio Items' in file portfolio.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'No portfolio items found' in file portfolio.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'No portfolio items found in Trash' in file portfolio.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 envato-market, tgmpa.
  3. Plugin territory : Plugin territory functionalitiesThe theme uses the register_post_type() function, which is plugin-territory functionality.The theme uses the add_shortcode() function. Custom post-content shortcodes are plugin-territory functionality.
  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. I18N implementation : Proper use of ___all(Possible variable $textid found in translation function in general.php. Translation function calls should not contain PHP variables.
  7. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  8. 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.
  9. Screenshot : Screenshot fileScreenshot size is 600x450px. 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. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file update-notifier.php.229: You can use the <a href='https://github.com/envato/wp-envato-market'>Envato Market Plugin</a> to ins249: <p>You can download the documentation from the <a href='https://themeforest.net/downloads'>Downloads</a> section of your ThemeFores255: Please create a backup of your code modifications and consider using a child theme instead of modifying the theme's code. More info <a href='http://pexetothemes.com/support/knowledgebase/updating-the-theme/'>here.</aPossible hard-coded links were found in the file pexeto-options-manager.php.96: <li><a href='http://twitter.com/pexeto' title='Follow Pexeto on Twitter' aria-hidden='tr97: <li><a href='http://www.facebook.com/pages/Pexeto/154921334549933' title='Like Pexeto on98: <li><a href='http://themeforest.net/user/pexeto/follow' title='Follow Our Work on ThemeF99: <li><a href='http://pexetothemes.com' class='icon-pexeto'><img src=''.$this->pexeto_imagPossible hard-coded links were found in the file documentation.php.24: <div class='doc-btn '><a href='http://pexetothemes.com/docs/photolux/?src=pexpanel' target='_blank'> Acces33: <li>Search our <a href='http://pexetothemes.com/support/knowledgebase/'>Knowledgebase</a> which con36: <li><a href='http://google.com'>Google</a> for general questions</li>33: <li>Search our <a href='http://pexetothemes.com/support/knowledgebase/'>Knowledgebase</a> which con41: problems with the theme set up, you can open a ticket with your question on the <a href='http://pexetothemes.com/support/'>Pexeto Support Site</a>.
  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 home template file home.phpThis theme does not contain optional file home.php.
  5. Optional files : Presence of category template file category.phpThis theme does not contain optional file category.php.
  6. Optional files : Presence of tag template file tag.phpThis theme does not contain optional file tag.php.
  7. Optional files : Presence of term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  8. Optional files : Presence of author template file author.phpThis theme does not contain optional file author.php.
  9. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  10. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  11. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  12. Use of includes : Use of include or requireThe theme appears to use include or require : options.php 34: require_once(PEXETO_OPTIONS_PATH.$file.'.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 : html-before-content.php 20: require(TEMPLATEPATH . '/includes/static-header.php');24: require(TEMPLATEPATH . '/includes/'.$slider_data['filename']); 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