Newspaper WordPress主题如何去掉激活提示

0
98

Newspaper 是一款非常受欢迎的WordPress主题,我本身也非常喜欢,官网买正版的要59美金。

很多站长资金没那么充裕,就用的是没授权的主题,过了几天就发现,头部会这样提示:

Activate Newspaper to enjoy the full benefits of the theme. We’re sorry about this extra step but we built the activation system to prevent mass piracy of our themes, this allows us to better serve our paying customers. An active theme comes with free updates, top notch support, guaranteed latest WordPress support.
Please activate the theme! – Click here to enter your code – if this is an error please contact us at contact@tagdiv.com – How to activate the theme

那么,如何去掉Newspaper主题后台的激活提示呢?下面我就教大家怎么去掉这个:

其实也蛮简单,只需要找到includes/wp_booster/td-cake.php这个文件,然后在<?php 后面加上:

td_util::update_option(‘td_cake_status’, ‘2’);

保存,上传替换就ok啦。

 

WPFOOT
WPFOOT里的主题与插件皆免费下载,若需要汉化主题或者模板调试服务,敬请联系QQ: 465045674

留下一个评论