0
Validation results

The Place

The Place

WordPress 4.9 theme
0
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. Presence of iframes : iframes are sometimes used to load unwanted adverts and malicious code on another site Found <iframe width="'.$width.'" height="'.$height.'" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="'.$src.'&amp;output=embed"> in file shortcodes.php.
    Line 475: return '<iframe width=''.$width.'' height=''.$height.'' frameborder='0' scrolling='
  3. Admin menu : Themes should use add_theme_page() for adding admin pages. File aurel-hotel-init.php :
    Line 19: $page = add_menu_page('Booking System', 'Booking System', 'read', 'aurel_hotel_admi
    File aurel-hotel-init.php :
    Line 20: $page_availability_and_requests = add_submenu_page( 'aurel_hotel_admin', 'Availabilty and requests', 'Availab
    Line 21: $page_room_types = add_submenu_page( 'aurel_hotel_admin', 'Room types', 'Room types', 'read', 
    Line 26: $page_settings = add_submenu_page( 'aurel_hotel_admin', 'Booking System Settings', 'Settings
    File aurel-hotel-init.php :
    Line 20: $page_availability_and_requests = add_submenu_page( 'aurel_hotel_admin', 'Availabilty and requests', 'Availab
    Line 21: $page_room_types = add_submenu_page( 'aurel_hotel_admin', 'Room types', 'Room types', 'read', 
    Line 26: $page_settings = add_submenu_page( 'aurel_hotel_admin', 'Booking System Settings', 'Settings
    File aurel-hotel-init.php :
    Line 20: $page_availability_and_requests = add_submenu_page( 'aurel_hotel_admin', 'Availabilty and requests', 'Availab
    Line 21: $page_room_types = add_submenu_page( 'aurel_hotel_admin', 'Room types', 'Room types', 'read', 
    Line 26: $page_settings = add_submenu_page( 'aurel_hotel_admin', 'Booking System Settings', 'Settings
    File aurel-panel-init.php :
    Line 7: $page = add_menu_page('Theme Options', 'Theme Options', 'edit_theme_options', 'them
  4. Deprecated functions : get_currentuserinfo get_currentuserinfo found in file aurel-hotel-init.php. Deprecated since version 4.5. Use wp_get_current_user instead.
    Line 11: get_currentuserinfo();
  5. 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.
  6. Included plugins : Zip file found Plugins are not allowed in themes. The zip file found was theplace_child.zip revslider.zip theplace.zip thepalace-v1.1.4.zip theplace-v1.7.4.zip theplace-v1.8.2.zip thepalace-v1.4.1.zip theplace-v1.8.4.zip theplace-v1.8.8.zip thepalace-v1.2.1.zip theplace-v1.9.3.zip theplace-v1.7.2.zip thepalace-v1.0.zip thepalace-v1.5.2.zip thepalace-v1.3.3.zip.
Warning
  1. special URIs : Presence of bad theme tagsTheme URI and Author URI should not be the same.
  2. theme tags : Presence of bad theme tagsFound wrong tag in style.css header.
  3. 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 the-place.
  4. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function __, with the arguments 'caption' in file header.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'caption' in file header.php.Found a translation function that is missing a text-domain. Function __, with the arguments in file header.php.Found a translation function that is missing a text-domain. Function __, with the arguments in file header.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'caption' in file header.php.Found a translation function that is missing a text-domain. Function _e, with the arguments in file content-multiple.php.Found a translation function that is missing a text-domain. Function __, with the arguments in file content-multiple.php.Found a translation function that is missing a text-domain. Function _e, with the arguments in file content-multiple.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Save Changes' in file aurel-hotel-settings-display.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Save Changes' in file aurel-hotel-settings-display.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Save Changes' in file aurel-hotel-room-types-display.php.Found a translation function that is missing a text-domain. Function _e, with the arguments in file content-singular.php.Found a translation function that is missing a text-domain. Function __, with the arguments in file content-singular.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'You do not have sufficient permissions to access this page.' in file aurel-panel-display.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'caption' in file shortcodes.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 thepalace, val.
  5. Plugin territory : Plugin territory functionalitiesThe theme uses the add_shortcode() function. Custom post-content shortcodes are plugin-territory functionality.
  6. Unwanted files : Windows thumbnail storethumbs.db was found.
  7. Custom elements : Presence of custom headerNo reference to custom header was found in the theme.
  8. Custom elements : Presence of custom backgroundNo reference to custom background was found in the theme.
  9. 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.
  10. I18N implementation : Proper use of _e(Possible variable $slide found in translation function in header.php. Translation function calls should not contain PHP variables.
    Line 449: <p><?php _e( $slide['caption'] ); ?></p>
    Line 649: <img <?php echo( $p ); ?> src='<?php echo( aq_resize($slide['image_url'], 1000, (int)$slider_data['options'][3], true) ); ?>' data-caption='<?php _e( $slide['caption'] ); ?>' alt='' />
    Possible variable $slide found in translation function in header.php. Translation function calls should not contain PHP variables.
    Line 449: <p><?php _e( $slide['caption'] ); ?></p>
    Line 649: <img <?php echo( $p ); ?> src='<?php echo( aq_resize($slide['image_url'], 1000, (int)$slider_data['options'][3], true) ); ?>' data-caption='<?php _e( $slide['caption'] ); ?>' alt='' />
    Possible variable $page_title found in translation function in content-multiple.php. Translation function calls should not contain PHP variables.
    Line 9: <h1><?php _e( $page_title ); ?></h1><hr>
    Possible variable $ap_options found in translation function in footer.php. Translation function calls should not contain PHP variables.
    Line 70: <?php _e( $ap_options['ap_footer_copyright']['val'] ); ?>
    Line 110: <?php _e( $ap_options['ap_footer_copyright']['val'] ); ?>
    Possible variable $ap_options found in translation function in footer.php. Translation function calls should not contain PHP variables.
    Line 70: <?php _e( $ap_options['ap_footer_copyright']['val'] ); ?>
    Line 110: <?php _e( $ap_options['ap_footer_copyright']['val'] ); ?>
    Possible variable $page_title found in translation function in content-singular.php. Translation function calls should not contain PHP variables.
    Line 12: _e( $page_title );
  11. I18N implementation : Proper use of ___all(Possible variable $slide found in translation function in header.php. Translation function calls should not contain PHP variables.
    Line 388: $slider_captions[] = __( $slide['caption'] );
    Possible variable $page_title found in translation function in header.php. Translation function calls should not contain PHP variables.
    Line 474: $page_title = '<p>' . __( $page_title ) . '</p>';
    Line 476: $page_title = '<h1>' . __( $page_title ) . '</h1>';
    Possible variable $page_title found in translation function in header.php. Translation function calls should not contain PHP variables.
    Line 474: $page_title = '<p>' . __( $page_title ) . '</p>';
    Line 476: $page_title = '<h1>' . __( $page_title ) . '</h1>';
    Possible variable $page_subtitle found in translation function in content-multiple.php. Translation function calls should not contain PHP variables.
    Line 16: echo( '<h2>' . __( $page_subtitle ) . '</h2>' );
    Possible variable $first_line found in translation function in content-singular.php. Translation function calls should not contain PHP variables.
    Line 18: echo( '<p class='post-first-line'>' . __($first_line) . '</p>' );
    Possible variable $slide found in translation function in shortcodes.php. Translation function calls should not contain PHP variables.
    Line 379: $return_string .= '<img ' . $p . ' src='' . aq_resize( $slide['image_url'], 1000, (int)$slider_data['options'][3], true ) . '' data-caption='' . __( $slide['caption'] ) . '' alt='' />';
  12. Featured image : Use of the_post_thumbnail() instead of custom fields for thumbnailsNo reference to the_post_thumbnail was found in the theme.
  13. CSS files : Presence of license typeLicense: is missing from style.css header.
  14. CSS files : Presence of license urlLicense URI: is missing from style.css header.
  15. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  16. 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.
  17. 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. favicon presence : Favicon managementPossible Favicon found in header.php. Favicons are handled by the Site Icon setting in the customizer since version 4.3.
  2. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file functions.php.
    Line 36: $msg = '<div class='updated'><p>Thanks for using <i><b>The Place</b></i> theme! Do not forget to have a look at the documentation by clicking <a href='http://aureliend.com/the-place-wordpress-documentation/' target='_blank'>he
    Possible hard-coded links were found in the file aurel-panel-options.php.
    Line 491: 'val' => '&copy; Copyright 2013 The Place  -  Designed by <a href='http://themeforest.net/user/AurelienD/?ref=AurelienD'>AurelienD</a>'
    Line 898: 'custom_code' => '<p>You can check the online documentation <a href='http://aureliend.com/the-place-wordpress-documentation/' target='_blank'>he
  3. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.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 page template file page.phpThis theme does not contain optional file page.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 term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  10. Optional files : Presence of author template file author.phpThis theme does not contain optional file author.php.
  11. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  12. Optional files : Presence of archive template file archive.phpThis theme does not contain optional file archive.php.
  13. Optional files : Presence of search results template file search.phpThis theme does not contain optional file search.php.
  14. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  15. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  16. Optional files : Presence of 404 Not Found template file 404.phpThis theme does not contain optional file 404.php.
  17. Use of includes : Use of include or requireThe theme appears to use include or require : aurel-hotel-room-types-display.php
    Line 2: require_once( get_template_directory() . '/aurel-hotel/aurel-hotel-function
    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 : aurel-hotel-availabilty-requests-display.php
    Line 2: require_once( get_template_directory() . '/aurel-hotel/aurel-hotel-function
    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 : aurel-hotel-init.php
    Line 59: require_once( get_template_directory() . '/aurel-hotel/aurel-hotel-availabi
    Line 65: require_once( get_template_directory() . '/aurel-hotel/aurel-hotel-room-typ
    Line 71: require_once( get_template_directory() . '/aurel-hotel/aurel-hotel-settings
    Line 181: require_once( get_template_directory() . '/aurel-hotel/aurel-hotel-function
    Line 238: require_once( get_template_directory() . '/aurel-hotel/aurel-hotel-function
    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 : aurel-panel-display.php
    Line 2: require_once( get_template_directory() . '/aurel-panel/aurel-panel-display-
    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 : aurel-panel-init.php
    Line 12: require_once( get_template_directory() . '/aurel-panel/aurel-panel-display.
    Line 65: include_once( ABSPATH . WPINC. '/class-http.php' );
    Line 90: require_once(ABSPATH . 'wp-admin' . '/includes/image.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 : shortcodes.php
    Line 542: require_once( get_template_directory() . '/aurel-hotel/aurel-hotel-function
    Line 567: require_once( get_template_directory() . '/aurel-hotel/aurel-hotel-function
    Line 619: require_once( get_template_directory() . '/aurel-hotel/aurel-hotel-function
    Line 669: require_once( get_template_directory() . '/aurel-hotel/aurel-hotel-function
    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 : custom-fields.php
    Line 17: require_once( get_template_directory() . '/aurel-panel/aurel-panel-display-
    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.

This is a ThemeForest theme. Since Themeforest items are all checked by a human before they appear on their website, ThemeForest verification rules are more permissive than themecheck's and can give a better verification score ( Themeforest requirements ).

8
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. Deprecated functions : get_currentuserinfo get_currentuserinfo found in file aurel-hotel-init.php. Deprecated since version 4.5. Use wp_get_current_user instead.
    Line 11: get_currentuserinfo();
  3. 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.
  4. Included plugins : Zip file found Plugins are not allowed in themes. The zip file found was theplace_child.zip revslider.zip theplace.zip thepalace-v1.1.4.zip theplace-v1.7.4.zip theplace-v1.8.2.zip thepalace-v1.4.1.zip theplace-v1.8.4.zip theplace-v1.8.8.zip thepalace-v1.2.1.zip theplace-v1.9.3.zip theplace-v1.7.2.zip thepalace-v1.0.zip thepalace-v1.5.2.zip thepalace-v1.3.3.zip.
Warning
  1. special URIs : Presence of bad theme tagsTheme URI and Author URI should not be the same.
  2. theme tags : Presence of bad theme tagsFound wrong tag in style.css header.
  3. 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 the-place.
  4. Text domain : Incorrect use of translation functions.Found a translation function that is missing a text-domain. Function __, with the arguments 'caption' in file header.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'caption' in file header.php.Found a translation function that is missing a text-domain. Function __, with the arguments in file header.php.Found a translation function that is missing a text-domain. Function __, with the arguments in file header.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'caption' in file header.php.Found a translation function that is missing a text-domain. Function _e, with the arguments in file content-multiple.php.Found a translation function that is missing a text-domain. Function __, with the arguments in file content-multiple.php.Found a translation function that is missing a text-domain. Function _e, with the arguments in file content-multiple.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Save Changes' in file aurel-hotel-settings-display.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Save Changes' in file aurel-hotel-settings-display.php.Found a translation function that is missing a text-domain. Function _e, with the arguments 'Save Changes' in file aurel-hotel-room-types-display.php.Found a translation function that is missing a text-domain. Function _e, with the arguments in file content-singular.php.Found a translation function that is missing a text-domain. Function __, with the arguments in file content-singular.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'You do not have sufficient permissions to access this page.' in file aurel-panel-display.php.Found a translation function that is missing a text-domain. Function __, with the arguments 'caption' in file shortcodes.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 thepalace, val.
  5. Plugin territory : Plugin territory functionalitiesThe theme uses the add_shortcode() function. Custom post-content shortcodes are plugin-territory functionality.
  6. Unwanted files : Windows thumbnail storethumbs.db was found.
  7. Featured image : Use of the_post_thumbnail() instead of custom fields for thumbnailsNo reference to the_post_thumbnail was found in the theme.
  8. CSS files : Presence of license typeLicense: is missing from style.css header.
  9. CSS files : Presence of license urlLicense URI: is missing from style.css header.
  10. CSS files : Presence of text domainText Domain: is missing from your style.css header.
  11. 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.
  12. 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. favicon presence : Favicon managementPossible Favicon found in header.php. Favicons are handled by the Site Icon setting in the customizer since version 4.3.
  2. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file functions.php.
    Line 36: $msg = '<div class='updated'><p>Thanks for using <i><b>The Place</b></i> theme! Do not forget to have a look at the documentation by clicking <a href='http://aureliend.com/the-place-wordpress-documentation/' target='_blank'>he
    Possible hard-coded links were found in the file aurel-panel-options.php.
    Line 491: 'val' => '&copy; Copyright 2013 The Place  -  Designed by <a href='http://themeforest.net/user/AurelienD/?ref=AurelienD'>AurelienD</a>'
    Line 898: 'custom_code' => '<p>You can check the online documentation <a href='http://aureliend.com/the-place-wordpress-documentation/' target='_blank'>he
  3. Optional files : Presence of rtl stylesheet rtl.cssThis theme does not contain optional file rtl.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 page template file page.phpThis theme does not contain optional file page.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 term template file taxonomy.phpThis theme does not contain optional file taxonomy.php.
  10. Optional files : Presence of author template file author.phpThis theme does not contain optional file author.php.
  11. Optional files : Presence of date/time template file date.phpThis theme does not contain optional file date.php.
  12. Optional files : Presence of archive template file archive.phpThis theme does not contain optional file archive.php.
  13. Optional files : Presence of search results template file search.phpThis theme does not contain optional file search.php.
  14. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  15. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  16. Optional files : Presence of 404 Not Found template file 404.phpThis theme does not contain optional file 404.php.
  17. Use of includes : Use of include or requireThe theme appears to use include or require : aurel-hotel-room-types-display.php
    Line 2: require_once( get_template_directory() . '/aurel-hotel/aurel-hotel-function
    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 : aurel-hotel-availabilty-requests-display.php
    Line 2: require_once( get_template_directory() . '/aurel-hotel/aurel-hotel-function
    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 : aurel-hotel-init.php
    Line 59: require_once( get_template_directory() . '/aurel-hotel/aurel-hotel-availabi
    Line 65: require_once( get_template_directory() . '/aurel-hotel/aurel-hotel-room-typ
    Line 71: require_once( get_template_directory() . '/aurel-hotel/aurel-hotel-settings
    Line 181: require_once( get_template_directory() . '/aurel-hotel/aurel-hotel-function
    Line 238: require_once( get_template_directory() . '/aurel-hotel/aurel-hotel-function
    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 : aurel-panel-display.php
    Line 2: require_once( get_template_directory() . '/aurel-panel/aurel-panel-display-
    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 : aurel-panel-init.php
    Line 12: require_once( get_template_directory() . '/aurel-panel/aurel-panel-display.
    Line 65: include_once( ABSPATH . WPINC. '/class-http.php' );
    Line 90: require_once(ABSPATH . 'wp-admin' . '/includes/image.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 : shortcodes.php
    Line 542: require_once( get_template_directory() . '/aurel-hotel/aurel-hotel-function
    Line 567: require_once( get_template_directory() . '/aurel-hotel/aurel-hotel-function
    Line 619: require_once( get_template_directory() . '/aurel-hotel/aurel-hotel-function
    Line 669: require_once( get_template_directory() . '/aurel-hotel/aurel-hotel-function
    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 : custom-fields.php
    Line 17: require_once( get_template_directory() . '/aurel-panel/aurel-panel-display-
    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