Table of Contents
回复内容:
Home Backend Development PHP Tutorial 最近在玩WordPress,想把主题底部“自豪的采用WordPress去掉”?

最近在玩WordPress,想把主题底部“自豪的采用WordPress去掉”?

Jun 17, 2016 am 08:31 AM

回复内容:

首先,版权信息留着比删掉好。
下面回答问题
最近在玩WordPress,想把主题底部“自豪的采用WordPress去掉”?题主你保存了吗?
我找到了这个主题,注释掉这一句就没有这句信息了。

猜测没有保存成功,是不是文件权限有问题?
如果是用的云引擎,是需要重新上传文件部署应用才行,不然文件会被回滚。
//===
原作者在这里,你可以去问他
iMuFeng/maupassant · GitHub
github.com/iMuFeng 这么伟大的一个程序,别去掉啦 出于美观的目的去掉也无妨啊,其实只要代码里面保留了就好了。
出于安全的目的一般都是会去掉的。 这种事儿,没有对与错,是一个态度的问题。
在数年前,也就是我刚开始学编程的时候,常常用一些开源程序。每次拿到源代码的第一件事就是去掉他们的版权信息,然后换个模版,功能上做个修改,增删。那个时候应付别人要求做个网站就是这样。我需要让别人看到我是有这个能力的。而对于技术本身是很不自信的。
后来随着学习的深入,我发现我需要越来越多的用到别人的劳动成果,同时我也不断分享自己的代码。这是一个良性的循环,带给了我巨大的成长。这个时候更加注意的是我所做的工作对自己的成长到底有什么用?而对于版权声明信息也越发的觉得这是开发者无需说明也应该被尊重的。
开源,是精神。需要人与人之间的相互尊重。
题主所问的和抄袭文章并且不署名原作者一样不要脸。别说什么开源就不需要声明,只是在法律上不会追究而已。这是一种态度而已。 你去掉了,我还是一眼能看出来你用的是wordpress何必呢。。 我个人认为这个如果你确实需要界面干净,去掉无所谓,虽然wordpress是免费的,但你使用了你就是客户,你有权去掉它。
##后来发现大家都太能装X了,为什么这么说呢?题主只是想去掉自己网站的下边一个很小很小的一行字,不知为何引起大家的轩然大波,被各种指责下三滥,无耻,自黑,这就好比别人请人在院子里放了一座雕塑,雕塑底座上写着“XXX记”,人家自己看着不喜欢,就去掉了,管你毛事儿啊,你冲进去指手画脚,大肆宣讲你那套自己都不清楚的理论?省省吧。
再说,wordpress开源都没说什么,你一个看客反而义愤填膺,这不吃饱了撑的?! 留版权实在装十三。
如果不是商业用途,仅仅是自己好恶,就喜欢简洁的页面,去掉版权标记又何妨。
只要你真的爱 WP ,愿意学到技术,愿意创造有价值的内容。
对了,主要是自己能够开心。
试问,哪些保留版权的,是你内心如此,还是看到别人也这样?
试问,友情链接算不算保留,在解释页面提到算不算保留?
既然一眼能够看出,那干嘛还要使用默认的保留方式?
根本不需要保留,查看源码不是很清楚么?
WP 的开源精神都被你们理解成啥样了? 默认的主题版权信息是在PHP的foot.php或者index.html里面文件里很容易修改,像我懂一点php就行(如果我没有记错的话)
不同主题会有不成程度的保护措施,我用过一个主题,找到了那个版权信息,删了,结果其他的php文件有个验证措施,如果找不到这个版权信息就会出错,累及其他页面,而找到这个验证代码就是在纯php文件里面慢慢找了,firebug对这个没啥用,一个主题十几个php文件,不值当花那么多时间,而且很麻烦,那版权信息就索性留着吧。 vimgrep /❴footer-id❵/ ** 最近在玩typecho,看见footer里没有"由typecho强力驱动",自己改了加上去这句了
( •ิ_• ิ)
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Explain JSON Web Tokens (JWT) and their use case in PHP APIs. Explain JSON Web Tokens (JWT) and their use case in PHP APIs. Apr 05, 2025 am 12:04 AM

JWT is an open standard based on JSON, used to securely transmit information between parties, mainly for identity authentication and information exchange. 1. JWT consists of three parts: Header, Payload and Signature. 2. The working principle of JWT includes three steps: generating JWT, verifying JWT and parsing Payload. 3. When using JWT for authentication in PHP, JWT can be generated and verified, and user role and permission information can be included in advanced usage. 4. Common errors include signature verification failure, token expiration, and payload oversized. Debugging skills include using debugging tools and logging. 5. Performance optimization and best practices include using appropriate signature algorithms, setting validity periods reasonably,

How does session hijacking work and how can you mitigate it in PHP? How does session hijacking work and how can you mitigate it in PHP? Apr 06, 2025 am 12:02 AM

Session hijacking can be achieved through the following steps: 1. Obtain the session ID, 2. Use the session ID, 3. Keep the session active. The methods to prevent session hijacking in PHP include: 1. Use the session_regenerate_id() function to regenerate the session ID, 2. Store session data through the database, 3. Ensure that all session data is transmitted through HTTPS.

What are Enumerations (Enums) in PHP 8.1? What are Enumerations (Enums) in PHP 8.1? Apr 03, 2025 am 12:05 AM

The enumeration function in PHP8.1 enhances the clarity and type safety of the code by defining named constants. 1) Enumerations can be integers, strings or objects, improving code readability and type safety. 2) Enumeration is based on class and supports object-oriented features such as traversal and reflection. 3) Enumeration can be used for comparison and assignment to ensure type safety. 4) Enumeration supports adding methods to implement complex logic. 5) Strict type checking and error handling can avoid common errors. 6) Enumeration reduces magic value and improves maintainability, but pay attention to performance optimization.

Describe the SOLID principles and how they apply to PHP development. Describe the SOLID principles and how they apply to PHP development. Apr 03, 2025 am 12:04 AM

The application of SOLID principle in PHP development includes: 1. Single responsibility principle (SRP): Each class is responsible for only one function. 2. Open and close principle (OCP): Changes are achieved through extension rather than modification. 3. Lisch's Substitution Principle (LSP): Subclasses can replace base classes without affecting program accuracy. 4. Interface isolation principle (ISP): Use fine-grained interfaces to avoid dependencies and unused methods. 5. Dependency inversion principle (DIP): High and low-level modules rely on abstraction and are implemented through dependency injection.

How to debug CLI mode in PHPStorm? How to debug CLI mode in PHPStorm? Apr 01, 2025 pm 02:57 PM

How to debug CLI mode in PHPStorm? When developing with PHPStorm, sometimes we need to debug PHP in command line interface (CLI) mode...

How to send a POST request containing JSON data using PHP's cURL library? How to send a POST request containing JSON data using PHP's cURL library? Apr 01, 2025 pm 03:12 PM

Sending JSON data using PHP's cURL library In PHP development, it is often necessary to interact with external APIs. One of the common ways is to use cURL library to send POST�...

Explain late static binding in PHP (static::). Explain late static binding in PHP (static::). Apr 03, 2025 am 12:04 AM

Static binding (static::) implements late static binding (LSB) in PHP, allowing calling classes to be referenced in static contexts rather than defining classes. 1) The parsing process is performed at runtime, 2) Look up the call class in the inheritance relationship, 3) It may bring performance overhead.

See all articles