当前位置:网站首页>wordpress去掉网站发布时间
wordpress去掉网站发布时间
2022-07-25 23:06:00 【勤于奋】
欢迎关注勤于奋、每天12点准时更新国外LEAD相关技术
今天这篇文章来说一下,网站文章发布时间怎么去掉。
第一个办法
直接修改代码,wordpress是一个开源协议的网站搭建系统,所以大家可以随便在上面去按照他们的结构进行开发。
算是半个开放协议网站搭建系统,所以我们可以直接去修改页面发布代码,把发布时间直接干掉就可以了。

一般在主题里面有个single.php文件,这个文件就是页面文件,可以直接在这个里面去修改代码。
然后直接搜索:time 这个关键字,找到后你会发现是一个span,你可以直接把这个span删除,或者直接删除这个函数也可以。
第二个办法
通过插件来修改,这个方法最简单,也适合大部分人。
通过Hide/Remove Metadata 这个插件,可以隐藏掉发布作者和时间。

选择php 或者CSS,然后点击保存,最后去主页查看就没有显示作者和时间了。
其他的功能大家自己去试一下吧。今天就分享到这里。
附:诚信为人,认真做事,人在做,天在看,每日更新一篇关于技术或者国外lead文章,长期坚持原创不易,如文章引起大家共鸣,请大家关注,点赞,转发,以支持勤于奋继续分析创作,谢谢。
边栏推荐
猜你喜欢

Week 2: convolutional neural network

7-1 understand everything

Tips for using (1)

AI首席架构师12-AICA-工业生产过程优化场景下产业落地解析

invalid syntax

Kibana~ the process number cannot be found after kibana is started in the background

Secure code warrior learning record (II)

Understanding of forward proxy and reverse proxy

Network security and level protection

The fourth experiment nat
随机推荐
VisualBox启动虚拟机报错:The VM session was closed before any attempt to power it on.
Learning notes of technical art hundred people plan (2) -- vector
四旋翼飞行器的飞控实现「建议收藏」
[paper notes] robot dynamic tracking and grasping method based on online prediction and planning
Network Security Learning (XV) ARP
Hj9 extract non duplicate integers
MySQL data type
CTS测试方法「建议收藏」
理解的英文(言语理解)
CTS test method "suggestions collection"
Summary of traversal methods of six sets list, set, map, queue, deque and stack
Secure code warrior learning record (III)
Node.js operation database
Websocket summary
AI首席架构师12-AICA-工业生产过程优化场景下产业落地解析
anaconda安装教程环境变量(如何配置环境变量)
CMU AI PhD first year summary
Learning notes of technical art hundred people plan (1) -- basic rendering pipeline
DHCP first static experiment
Hj7 take approximate value