96
Validation results

CosmosWP

Free WordPress 5.4.2 theme

CosmosWP

Free WordPress 5.4.2 theme
96
This theme is open source.
Warning
  1. theme tags : Presence of bad theme tagsFound wrong tag custom-logo in style.css header.Found wrong tag wide-blocks in style.css header.
  2. Hidden admin bar : Hidden admin Bar in CSSThemes should not hide admin bar. Detected in file style.min-rtl.css.
  3. Comment pagination : Declaration of comment paginationThe theme doesn't have comment pagination code in it. Use paginate_comments_links() to add comment pagination, or older previous_comments_link() and next_comments_link() functions.
  4. Date and time implementation : Use of date_i18n()At least one hard coded date was found in the file footer_copyright.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 footer_copyright.php.
    Ligne24: '{theme_author}' => sprintf('<a href='https://www.cosmoswp.com/'>%1$s</a>', 'CosmosWP'),
    Possible hard-coded links were found in the file intro.php.
    Ligne246: <a href='https://www.demo.cosmoswp.com/' class='cwp-btn cwp-btn-white-outline' targe
    Ligne248: $upgrade= '<a href='https://www.cosmoswp.com/pricing/' target='_blank' rel='noopener' class='cw
    Ligne513: echo '<a href='https://www.cosmoswp.com/pricing/' class='cwp-btn cwp-btn-primary' target='
    Ligne248: $upgrade= '<a href='https://www.cosmoswp.com/pricing/' target='_blank' rel='noopener' class='cw
    Ligne273: <a href='https://www.cosmoswp.com/' target='_blank' class='cwp-btn cwp-btn-sucess'><
    Ligne341: <a href='https://www.cosmoswp.com/documentation/' target='_blank' class='cwp-btn cwp
    Ligne386: <a href='https://www.cosmoswp.com/' class='cwp-btn cwp-btn-primary' target='_blank' 
    Ligne513: echo '<a href='https://www.cosmoswp.com/pricing/' class='cwp-btn cwp-btn-primary' target='
    Ligne211: 'a' => sprintf(esc_html__('Yes, the theme fully supports Gutenberg Blocks. The demo of CosmosWP theme is created primarily on the base of %1$sGutentor: WordPress Page Building Blocks%2$s ', 'cosmoswp'), '<a href='https://www.gutentor.com/' target='_blank'>', '</a>'),
    Ligne220: 'a' => sprintf(esc_html__('Gutentor is a WordPress plugin based on Gutenberg Blocks, modern drag & drop WordPress page builder Know more about it on %1$sGutentor official website%2$s', 'cosmoswp'), '<a href='https://www.gutentor.com/' target='_blank'>', '</a>'),
    Ligne274: <a href='https://www.gutentor.com/' target='_blank' class='cwp-btn cwp-btn-danger'><
    Ligne304: <span class='dashicons dashicons-smartphone'></span> <b><?php esc_html_e( 'Support:', 'cosmoswp' )?> </b><a href='https://premium.acmeit.org/support-tickets/' target='_blank'><?php esc_html
    Ligne373: <a href='https://premium.acmeit.org/support-tickets/' target='_blank' class='cwp-btn
    Ligne304: <span class='dashicons dashicons-smartphone'></span> <b><?php esc_html_e( 'Support:', 'cosmoswp' )?> </b><a href='https://premium.acmeit.org/support-tickets/' target='_blank'><?php esc_html
    Ligne373: <a href='https://premium.acmeit.org/support-tickets/' target='_blank' class='cwp-btn
    Ligne248: $upgrade= '<a href='https://www.cosmoswp.com/pricing/' target='_blank' rel='noopener' class='cw
    Ligne273: <a href='https://www.cosmoswp.com/' target='_blank' class='cwp-btn cwp-btn-sucess'><
    Ligne341: <a href='https://www.cosmoswp.com/documentation/' target='_blank' class='cwp-btn cwp
    Ligne386: <a href='https://www.cosmoswp.com/' class='cwp-btn cwp-btn-primary' target='_blank' 
    Ligne513: echo '<a href='https://www.cosmoswp.com/pricing/' class='cwp-btn cwp-btn-primary' target='
  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 archive template file archive.phpThis theme does not contain optional file archive.php.
  11. Optional files : Presence of search results template file search.phpThis theme does not contain optional file search.php.
  12. Optional files : Presence of attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  13. Optional files : Presence of image template file image.phpThis theme does not contain optional file image.php.
  14. Use of includes : Use of include or requireThe theme appears to use include or require : woocommerce.php
    Ligne127: * @return array $classes modified to include 'woocommerce-active' class
    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 : edd.php
    Ligne90: * @return array $classes modified to include 'edd-active' class
    Ligne119: * @return array $classes modified to include 'edd-active' class
    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 : typography-fonts.php
    Ligne45: require_once( ABSPATH . 'wp-admin/includes/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 : dynamic-css.php
    Ligne213: require_once(ABSPATH . 'wp-admin' . DIRECTORY_SEPARATOR . 'includes' . DIRE
    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 : notice.php
    Ligne241: require_once( ABSPATH . 'wp-admin/includes/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.
Other checked themes