رفتن به مطلب

ارسال پوسته به مخزن وردپرس


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

الان من تو بخش themes/upload که قالب رو بارگذاری میکنم، این خطا رو میده!


The stylesheet has no tags. Add a Tags: line to your style.css file and upload the zip file again.

این چه تگیه!!! هر کار میکنم درست نمیشه!

لینک به ارسال

فایل استایل پوسته پیش فرض رو باز کنید

ببینید چطور در فایل tag میده که همون برچسب خودمون هست

لینک به ارسال

منظورتون همون نام قالب، توضیحات و... است دیگه؟

به این شکله:


/*
Theme Name: Amiran98
Description: Free beautiful wordpress theme - Designed By Ali Mirzaei.
Author: Ali Mirzaei
Author URI: http://alimir.ir
Version: 1.0
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

لینک به ارسال

/*
Theme Name: Twenty Twelve
Theme URI: http://wordpress.org/extend/themes/twentytwelve
Author: the WordPress team
Author URI: http://wordpress.org/
Description: The 2012 theme for WordPress is a fully responsive theme that looks great on any device. Features include a front page template with its own widgets, an optional display font, styling for post formats on both index and single views, and an optional no-sidebar page template. Make it yours with a custom menu, header image, and background.
Version: 1.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: light, gray, white, one-column, two-columns, right-sidebar, flexible-width, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
Text Domain: twentytwelve

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

لینک به ارسال

در هنگام جستجو پوسته ، وردپرس از برچسب استفاده میکنه

به همین دلیل باید خط Tags را داشته باشد

و همچنین بهتره از تگهایی استفاده کنید که بیشتر استفاده میشه در پوسته ها

لینک به ارسال

ممنون :)

الان مشکل جدیدی که من دارم اینه که یه سری

RECOMMENDED و

REQUIRED

رو میخواد که به بعضی هاشون در قالب اصلا نیازی نیست!!!

چه کار باید کرد؟!؟

لینک به ارسال

  • کلیتش اینها هستن:
  • مثلا بعضی ساپورت ها مثل رنگ زمینه، تغییر لوگو و... رو در قالب پیشبینی نکرده بودم، الان وردپرس اونها رو هم میخواد!!!
  • EQUIRED: The theme doesn't have post pagination code in it. Use posts_nav_link() or paginate_links() or next_posts_link() and previous_posts_link() to add post pagination.
  • REQUIRED: Could not find the comment-reply script enqueued. See: Migrating Plugins and Themes to 2.7/Enhanced Comment Display
    <?php if ( is_singular() ) wp_enqueue_script( "comment-reply" ); ?>
  • REQUIRED: Could not find wp_link_pages. See: wp_link_pages
    <?php wp_link_pages( $args ); ?>
  • REQUIRED: Could not find body_class call in body tag. See: body_class
    <?php body_class( $class ); ?>
  • REQUIRED: Could not find add_theme_support( 'automatic-feed-links' ). See: add_theme_support
    <?php add_theme_support( $feature ); ?>
  • RECOMMENDED: get_bloginfo( stylesheet_directory ) was found in the file slider.php. Use get_stylesheet_directory_uri() instead.
  • RECOMMENDED: get_bloginfo( stylesheet_directory ) was found in the file functions.php. Use get_stylesheet_directory_uri() instead.
  • RECOMMENDED: bloginfo(url) was found in the file header.php. Use echo home_url() instead.
  • RECOMMENDED: bloginfo(url) was found in the file footer.php. Use echo home_url() instead.
  • RECOMMENDED: bloginfo(template_directory) was found in the file searchform.php. Use get_template_directory_uri() instead.
  • RECOMMENDED: bloginfo(template_directory) was found in the file search.php. Use get_template_directory_uri() instead.
  • RECOMMENDED: bloginfo(template_directory) was found in the file index.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 footer.php. Use get_template_directory_uri() instead.
  • RECOMMENDED: bloginfo(template_directory) was found in the file 404.php. Use get_template_directory_uri() instead.
  • RECOMMENDED: Theme URI: is missing from your style.css header.
  • INFO: Non-printable characters were found in the single.php file. You may want to check this file for errors.
    Line 1: ��<?php get_header(); ?>
  • INFO: At least one hard coded date was found in the file breadcrumbs.php. Consider get_option( 'date_format' )
  • INFO: index.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 4: <?php include (TEMPLATEPATH . '/includes/slider.php'); ?>

لینک به ارسال

نیازمندیهاش به جز wp_link_pages باقیش مشکلی نیست در اضافه کردن

wp_link_pages رو هم اگر دیده باشید در تمام پوسته های عمومی وردپرس هست

لینک به ارسال

یعنی بقیه

REQUIRED

یا

RECOMMENDED

نیازی نیست درست بشن؟ البته الان تا حدودی بیشترش رو رفع کردم.

لینک به ارسال

تمام بخشهای REQUIRED که باید باشد

منظورم از باقی. مشکلی ایجاد نمیکند در پوسته شما

لینک به ارسال

مرسی، در مورد ایراد زیر میتونید توضیح بدید؟

لینک به ارسال

راستی اگه custom-header هم بخوام بدم، چطوری میتونم طوری تنظیم کنم که لوگو رو بشه تغییر داد؟!؟

لینک به ارسال

ابنو قبل از wp_header اضافه کنید در فایل header

<?php if ( is_singular() ) wp_enqueue_script( "comment-reply" ); ?>

http://codex.wordpress.org/Custom_Headers

لینک به ارسال

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

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

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

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

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

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

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

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

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