[wordpress插件] blogintroductionblogintroduction

wordpress 插件 文章 2020-03-07 12:50 453 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

This is a widget that brings up a little preview of a site into the sidebar.

这是一个小部件,可在边栏中显示一个网站的预览。

If you want to use this in a widget-less / static sidebar, give

如果要在无窗口小部件/静态边栏中使用此功能,请提供

blogintroduction-wordpress-plugin a chance.

blogintroduction-wordpress-plugin 的机会。

The link is chosen by random out of the links in the WordPress link-manager.

该链接是从WordPress链接管理器中的链接中随机选择的。

You can specify a single link-category or use all categories for the random-link-base.

您可以指定单个链接类别,也可以将所有类别都用于random-link-base。

You can also decide to show invisible/private links.

您还可以决定显示不可见/专用链接。

This is for the case you want to show links as a preview you don’t want to show in the linkroll.

这是针对您想要将链接显示为不想显示在链接卷中的预览的情况。

If you want and if there is a description for the link done in the link-description-field it would be shown.

如果需要,并且在链接描述字段中有对链接所做的描述,则会显示。

A refreshing via AJAX could be enabled with a specific time (in seconds) when the next thumbnail would be loaded.

在下一个缩略图加载后的特定时间(以秒为单位)中,可以启用通过AJAX进行的刷新。

This widget uses the websnapr-Service for generating the thumbnail-

此小部件使用websnapr -用于生成缩略图的服务-

images.

图片。

Keep their term of use in mind.

请记住其使用条款

You should get an API-Key for free from there to use this widget and get more then 80 snapshots per hour, with key it would be about 340 per hour (250.000 a month).

您应该从那里免费获取API密钥以使用此小部件,并且每小时可以获取80张以上的快照,而密钥则约为每小时340张(每月250.000张)。

Since Version 0.3.0 you could also use the image-link stored in the link-manager for containing the link to the preview-image.

从0.3.0版开始,您还可以使用存储在链接管理器中的图像链接来包含指向预览图像的链接。

If no link is given the widget would use websnapr as fall back.

如果未提供链接,则该小部件将使用websnapr作为后备。

If you want to translate the plugin, feel free to do it!

如果您要翻译插件,请随时进行!

Since Version 0.2.0 the Output is fully internationalized.

从版本0.2.0开始,输出已完全国际化。

To see the widget working in a production-environment, visit the author's blog

要查看小部件在生产环境中的运行情况,请访问作者的博客

.

If you want to leave a feedback, feel free to do this on the plugin's homepage of the author's blog.

-widget-Kim Huebel的博客” rel =“ nofollow”>插件博客主页(作者博客)。

Though the pages are in german, comments in english are wellcome, too.

尽管页面是德语的,但也有英语的评论。

安装步骤

    1. Upload blogintroduction.php and blogintroduction_ajax.php to the /wp-content/plugins/blogintroduction-wordpress-widget directory

    2. blogintroduction.php blogintroduction_ajax.php 上载到 / wp-content / plugins / blogintroduction-wordpress-widget 目录

      >

      >

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

    5. Go to Presentation -> Widgets and add the Blogintroduction widget
    6. 转到演示文稿->小部件,然后添加Blogintroduction小部件

    7. Configure your widget
    8. 配置小部件

    The configuration is a simple thing:

    配置很简单:

      • Title: This is simple the title of the sidebar-box shown in the box-header.
      • 标题:这是标题栏中显示的侧边栏标题的简单名称。

      • Websnapr-API-Key: Here you could put in your API-Key.

      • Websnapr-API-Key:在这里您可以输入API-Key。

        It's not necessary to fill this field for running the widget but its better to keep in mind with the

        不必填写此字段来运行窗口小部件,但最好记住

        "nofollow">term of use I think.

      • “我认为是nofollow“>使用条款。

      • Image-width: The value is a the number of pixels of the image-width in the sidebar.

      • 图像宽度:该值是侧边栏中图像宽度的像素数。

        This parameter correspondents to the width-value in the html-img-tag.

      • 此参数对应于html-img-tag中的width-value。

      • Image-height: The value is a the number of pixels of the image-height in the sidebar.

      • 图像高度:该值是侧边栏中图像高度的像素数。

        This parameter correspondents to the height-value in the html-img-tag.

      • 此参数对应于html-img-tag中的height-值。

      • use4:1-ratio: If checked, height would be well-sized to a 4:3-ratio corresponding to the width-value.

      • use4:1-ratio:如果选中,则将高度调整为与宽度值相对应的4:3-ratio。

        Given height above would be ignored then.

      • 给定的上方高度将被忽略。

      • Image-source: Here you could chose from where the preview-image would be loaded: From websnapr or from a location given by the Image-URL in the link-manager.
      • 图片来源:您可以在此处选择加载预览图片的位置:从websnapr或链接管理器中图片URL指定的位置。

      • Link-category: Here you could chose the category of the links that would be the source for the random-links.
      • 链接类别:您可以在此处选择作为随机链接来源的链接类别。

      • Link-target: Simply means link-target.

      • 链接目标:仅表示链接目标。

        So where the link should be opened.

        所以应该在哪里打开链接。

        “Im neuen Fenster” means in a new window, “Im aktuellen Fenster” means in the actual window of the browser.

      • “ Im neuen Fenster”表示在新窗口中,“ Im aktuellen Fenster”表示在浏览器的实际窗口中。

      • Show description: If the checkbox is checked, the link-description in the link-manager would be shown with a Label “Description” (depending on the translation).
      • 显示描述:如果选中此复选框,则链接管理器中的链接描述将显示标签“描述”(取决于翻译)。

      • Show private links: Check this box to show private-links.
      • 显示私人链接:选中此框以显示私人链接。

      • Show new thumbnail in … seconds: Here you enable the auto-renew-function, that means, every x seconds depending on the value you enter in the box on the right side, a new thumbnail would be shown.

      • 在…秒内显示新缩略图:在此处启用自动更新功能,这意味着,每x秒,根据您在右侧框中输入的值,将显示一个新缩略图。

        The minimum time is 10 seconds to avoid heavy traffic and other problems.

      • 最小时间为10秒,以避免交通繁忙和其他问题。

下载地址
https://downloads.wordpress.org/plugin/blogintroduction-wordpress-widget.0.3.0.zip
-EOF-

AI助手支持GPT4.0