gpt4 book ai didi

css - 编辑 CSS header 信息可将 Wordpress 网站恢复为默认设置

转载 作者:行者123 更新时间:2023-11-28 02:04:46 25 4
gpt4 key购买 nike

我购买了一个 Wordpress 主题,我正在尝试更改“描述”行中的一些措辞。但是,如果我更改任何内容,我的所有样式更改都会丢失,我的网站将恢复为默认主题设置( Logo 、配色方案等)

这是什么原因造成的?这是某种嵌入式主题作者保护吗?

/*<br>
Theme Name:<br>
Author:<br>
Author URI:<br>
<b>Description:</b><br>
License:<br>
License URI:<br>
Tags:<br>
Text Domain:<br>
*/

最佳答案

Theme Name (*): Name of the theme.
Theme URI: The URL of a public web page where users can find more information about the theme.
Author (*): The name of the individual or organization who developed the theme. Using the Theme Author’s wordpress.org username is recommended.
Author URI: The URL of the authoring individual or organization.
Description (*): A short description of the theme.
Version (*): The version, written in X.X or X.X.X format.
License (*): The license of the theme.
License URI (*): The URL of the theme license.
Text Domain (*): The string used for textdomain for translation.
Tags: Words or phrases that allow users to find the theme using the tag filter. A full list of tags is in the Theme Review Handbook.
Domain Path: Used so that WordPress knows where to find the translation when the theme is disabled. Defaults to /languages.

child 主题的 Style.css #Style.css child 主题如果您的主题是子主题,则 style.css header 中需要模板行。

/*
Theme Name: My Child Theme
Template: Twenty Seventeen
*/

更多关于WordPress的解释documentation .

关于css - 编辑 CSS header 信息可将 Wordpress 网站恢复为默认设置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49086713/

25 4 0
文章推荐: c++ - 如何在 C++ 中向 std::priority_queue 添加键/优先级?
文章推荐: html - HTML5 可以与 Java Serversocketchannel 通信吗?
文章推荐: css - 始终将
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com