簡體   English   中英

WordPress主題安裝錯誤

[英]WordPress Theme Installation Error

當我安裝wordpress主題時,它正在顯示

安裝失敗:無法安裝軟件包-主題缺少style.css樣式表

我已經安裝了各種方法,但是存在相同的問題。 (例如:Cpanel,WP-Dashboard)。

在此處輸入圖片說明

當您遇到諸如style.css的錯誤時,會有很多事情發生

一:首先進入WordPress根目錄,打開wp-content-themes->您的主題名稱-> header.php。 檢查style.css是否正確調用?

第二:如果第一步沒問題,請打開style.css並將主題名稱添加到注釋部分,如下所示:

/*
Theme Name:     Your Theme Name
Theme URI:      https://themeisle.com/themes/your-them-name/
Author:         ThemeIsle
Author URI:     https://themeisle.com
Description:    Hestia is a modern WordPress theme for professionals. It fits creative business, small businesses (restaurants, wedding planners, sport/medical shops), startups, corporate businesses, online agencies and firms, portfolios, ecommerce (WooCommerce), and freelancers. It has a multipurpose one-page design, widgetized footer, blog/news page and a clean look, is compatible with: Flat Parallax Slider, Photo Gallery, Travel Map and Elementor Page Builder . The theme is responsive, WPML, Retina ready, SEO friendly, and uses Material Kit for design.
*/

三:將您的主題重新壓縮並重新安裝,然后查看其工作正常與否? 在這里查看更多

謝謝

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM