[wordpress插件] Bunny’s Print CSS兔子的平面CSS

wordpress 插件 文章 2020-03-14 03:10 409 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

The plugin contains two files.

该插件包含两个文件。

print-css.php, which is the plugin file itself, and print.css, a sample print stylesheet.

print-css.php (它是插件文件本身)和 print.css (一个示例打印样式表)。

A link to the print stylesheet will be placed in your theme’s header, providing it uses the wp_head() function/hook.

如果使用 wp_head()函数/挂钩,则打印样式表的链接将放置在主题的标题中。

An admin panel is added to the Presentations menu and it will allow you to edit the stylesheet if you make print.css writeable.

“演示”菜单中添加了一个管理面板,如果您使print.css可写,它将允许您编辑样式表。

You probably want to edit the stylesheet provided to your liking, though it will hopefully do most of the job if your theme is sandbox-based.

您可能希望编辑自己喜欢的样式表,尽管如果您的主题是基于沙箱的,希望它将完成大部分工作。

I’m happy to include any improvements to the print stylesheet.

我很高兴对打印样式表进行任何改进。

The print stylesheet will be used to print your blog pages, instead of the normal screen stylesheet.

打印样式表将用于打印博客页面,而不是正常的屏幕样式表。

Future Development

未来发展

I’d love to be able to include a complete and rich print stylesheet.

我希望能够包含完整而丰富的打印样式表。

One that deals well with most major themes, and which actually does take some care to get the typography right.

它可以很好地处理大多数主要主题,并且实际上确实需要注意一些正确的排版。

Get in touch if you feel you can help.

如果您认为可以提供帮助,请保持联系。

安装步骤

    1. Upload print-css to the /wp-content/plugins/ directory
    2. print-css 上载到 / wp-content / plugins / 目录

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

    5. If you want, make the print.css file which is in the plugin directory writeable (chmod 777 for example) so that you can edit it through the Print CSS admin panel.
    6. 如果需要,请使插件目录中的 print.css 文件可写(例如,chmod 777),以便您可以通过Print CSS管理面板对其进行编辑。

下载地址
https://downloads.wordpress.org/plugin/bunnys-print-css.zip
-EOF-

AI助手支持GPT4.0