[wordpress插件] 404 error – carrot404错误–胡萝卜

wordpress 插件 文章 2020-01-22 00:40 549 0 全屏看文

AI助手支持GPT4.0

评分

0

0

描述

Custom 404 error carrot page is an Internet art project.

自定义404错误胡萝卜页是一个Internet艺术项目。

It puts an image of bunch carrots on your 404 error page which is only seen when someone reaches nonexistent page anyway.

它将束胡萝卜的图像放在404错误页面上,仅当有人到达不存在的页面时才可见。

The goal of this project is light weight advertisement for vegetables ;),

该项目的目标是为蔬菜提供轻巧的广告;),

more about this project on http://404-carrot.org/wordpress-plugin .

有关此项目的更多信息,请访问http://404-carrot.org/wordpress-plugin。

Even though the plug-in is easily installable you have to touch your template folder as well.

即使该插件易于安装,您也必须触摸模板文件夹。

Put this code into 404.php page in your template folder if (function_exists('funct_404_error_carrot')) funct_404_error_carrot();.

将此代码放入模板文件夹 if(function_exists('funct_404_error_carrot'))funct_404_error_carrot(); 的404.php页面中。

安装步骤

This section describes how to install the plugin and get it working.

本节介绍如何安装插件并使其正常工作。

    1. Download it from http://404-carrot.org or from WordPress plugin directory https://wordpress.org/extend/plugins/404-error-carrot/.
    2. 从http://404-carrot.org或WordPress插件目录https://wordpress.org/extend/plugins/404-error-carrot/下载。

    3. Once you activate the plug-in.

    4. 激活插件后。

    5. Go to your current template folder (wp-content/themes/your-template/) and put the following piece of PHP code into the 404.php file if (function_exists('funct_404_error_carrot')) funct_404_error_carrot()

    6. 转到当前模板文件夹(wp-content / themes / your-template /),然后将以下PHP代码放入404.php文件中 if(function_exists('funct_404_error_carrot'))funct_404_error_carrot()

      ;.

      ;

      (If the 404.php doesn't exists then create it your self. The best put in to the 404.php file also the header, sidebar, and footer as well. Then the page will looks the same as your regular page but the

      (如果404.php不存在,则创建它自己。最好将404.php文件中的标头,侧边栏和页脚也放入其中。然后,该页面将与常规页面相同,但

      information of nonexistent content with a carrot on the top :))

    7. 内容不存在的信息,顶部有胡萝卜:))

下载地址

https://downloads.wordpress.org/plugin/404-error-carrot.zip

https://downloads.wordpress.org/plugin/404-error-carrot.zip

-EOF-

AI助手支持GPT4.0