• In my template using the theme options framework NHP option, but if I use the Theme Check, there are several errors:

    REQUIRED: nhpoption/options/options.php. Themes should use add_theme_page() for adding admin pages.
    Line 206: $this->page = add_submenu_page(
    WARNING: file_get_contents was found in the file nhpoption/nhp-options.php possible file operations.
    Line 531: ‘content’ => nl2br(file_get_contents(trailingslashit(get_stylesheet_directory()).’README.html’
    INFO: nhpoption/options/options.php The theme appears to use include or require. If these are being used to include separate sections of a template from independent files, then get_template_part() should be used instead.
    Line 347: require_once($this->dir.’fields/’.$field[‘type’].’/field_’.$field[‘type’].’

    I do not want to interfere in NHP option, but I’m sure it will not be a reason for rejection when inserted into the template repository

    Thank′s for any help

  • The topic ‘NHP option and Theme Check problem’ is closed to new replies.