98
Validation results

OceanWP

Free WordPress 6.7 theme

OceanWP

Free WordPress 6.7 theme
98
This theme is open source.
Warning
  1. Custom elements : Presence of custom backgroundNo reference to custom background was found in the theme.
  2. I18N implementation : Proper use of ___all(Possible variable $val found in translation function in helpers.php. Translation function calls should not contain PHP variables.
Tip-off
  1. Static links : Presence of hard-coded linksPossible hard-coded links were found in the file topbar.php.
    Ligne341: 'description'	   		=> sprintf( esc_html__( 'Shortcodes allowed, %1$ssee the list%2$s.', 'oceanwp' ), '<a href='http://docs.oceanwp.org/category/369-shortcodes' target='_blank'>', '</a>' 
    Possible hard-coded links were found in the file footer-bottom.php.
    Ligne95: 'description'	   		=> sprintf( esc_html__( 'Shortcodes allowed, %1$ssee the list%2$s.', 'oceanwp' ), '<a href='http://docs.oceanwp.org/category/369-shortcodes' target='_blank'>', '</a>' 
    Possible hard-coded links were found in the file header.php.
    Ligne323: 'description'	   		=> sprintf( esc_html__( 'Shortcodes allowed, %1$ssee the list%2$s.', 'oceanwp' ), '<a href='http://docs.oceanwp.org/category/369-shortcodes' target='_blank'>', '</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 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 attachment template file attachment.phpThis theme does not contain optional file attachment.php.
  9. Use of includes : Use of include or requireThe theme appears to use include or require : woocommerce-config.php
    Ligne21: require_once( OCEANWP_INC_DIR .'woocommerce/woocommerce-helpers.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 : menu-walker.php
    Ligne203: include( OCEANWP_INC_DIR . 'walker/template.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 : customizer.php
    Ligne46: require_once( $dir . 'buttonset/class-control-buttonset.php' 					);
    Ligne47: require_once( $dir . 'color/class-control-color.php' 							);		
    Ligne48: require_once( $dir . 'dimensions/class-control-dimensions.php' 					);
    Ligne49: require_once( $dir . 'dropdown-pages/class-control-dropdown-pages.php' 			)
    Ligne50: require_once( $dir . 'heading/class-control-heading.php' 						);
    Ligne51: require_once( $dir . 'icon-select/class-control-icon-select.php' 				);
    Ligne52: require_once( $dir . 'multicheck/class-control-multicheck.php' 					);
    Ligne53: require_once( $dir . 'multiple-select/class-control-multiple-select.php' 		
    Ligne54: require_once( $dir . 'radio-image/class-control-radio-image.php' 				);
    Ligne55: require_once( $dir . 'range/class-control-range.php' 							);
    Ligne56: require_once( $dir . 'slider/class-control-slider.php' 							);
    Ligne57: require_once( $dir . 'sortable/class-control-sortable.php' 						);
    Ligne58: require_once( $dir . 'text/class-control-text.php' 								);
    Ligne59: require_once( $dir . 'textarea/class-control-textarea.php' 						);
    Ligne60: require_once( $dir . 'typo/class-control-typo.php' 								);
    Ligne61: require_once( $dir . 'typography/class-control-typography.php' 					);
    Ligne82: require_once( $dir . 'upsell/class-control-upsell.php' 								);
    Ligne94: require_once( OCEANWP_INC_DIR .'customizer/customizer-helpers.php' );
    Ligne95: require_once( OCEANWP_INC_DIR .'customizer/sanitization-callbacks.php' );
    Ligne175: require_once( $dir . $key .'.php' );
    Ligne180: require_once( $dir . $key .'.php' );
    Ligne188: require_once( $dir .'woocommerce.php' );
    Ligne193: require_once( $dir .'edd.php' );
    Ligne198: require_once( $dir .'lifterlms.php' );
    Ligne203: require_once( $dir .'learndash.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 : helpers.php
    Ligne1699: //include_once( ABSPATH . 'wp-admin/includes/plugin.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 : edd-config.php
    Ligne21: require_once( OCEANWP_INC_DIR .'edd/edd-helpers.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