[wordpress插件] del.icio.us – Bookmark this!del.icio.us –为此添加书签!

wordpress 插件 文章 2020-04-15 01:00 441 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

This plugin will allow you to add an “Bookmark this page on del.icio.us/digg/furlewsvine/blinklist” link on you sidebar / posts / wherever.

此插件可让您在侧边栏/帖子/随处添加“在del.icio.us/digg/furlewsvine/blinklist上为此页面添加书签”链接。

安装步骤

    1. Upload the full directory into your wp-content/plugins directory
    2. 将完整目录上传到您的wp-content / plugins目录

    3. Activate it in the Plugin options
    4. 在“插件”选项中激活它

    5. Put the following code in your template where you want to place the bookmark link:
          

    6. 将以下代码放在您想要放置书签链接的模板中:
          

      This will bookmark the current page viewed in browser to del.icio.us.

      这会将在浏览器中查看的当前页面添加到del.icio.us。

      If you want to bookmark the CURRENT POST, use inside “the loop”.

      如果要在CURRENT POST上添加书签,请在“循环”内使用。

      “The loop” can be found in your home template (index.php) and in your post template (single.php).

      可以在您的主模板(index.php)和帖子模板(single.php)中找到“循环”。

      Search

      搜索

      for

      for <?php if(have_posts()):while(have_posts()):the_post();

      ?> and place it after it, but before

      ?> 并放置在它之后,但在 <?php之前;

      else: ?>

      其他:?>

      which should be near the end of your template file.

      应该在模板文件的末尾。

      More information about the loop can be found at https://codex.wordpress.org/The_Loop

    7. 有关循环的更多信息,请访问https://codex.wordpress.org/The_Loop

    8. The first parameter of the function is the text of the link.

    9. 该函数的第一个参数是链接的文本。

      The second parameter is the service which you want to use.

      第二个参数是您要使用的服务。

      Currently supported are: “delicios”,”digg”,”furl”,”newsvine” and “blinklist”

      当前支持的是:“ delicios”,“ digg”,“ furl”,“ newsvine”和“ blinklist”

      The third and last paramter is a string which may contain additional attributes for the link tag, “class=’link'” to define a CSS class for example.

    10. 第三个也是最后一个参数是一个字符串,其中可能包含链接标记的附加属性“ class =’link'”,以定义CSS类。

    11. Samples:
    12. 样品:

      • <?php dbt_getLinkTag(“在del.icio.us上添加书签”);

        ?> Normal del.icio.us link (bookmarks current page)

      • ?> 常规del.icio.us链接(为当前页面添加书签)

      • <?php dbt_getLinkTag(“收藏夹上的书签”,“ furl”);

        ?> Normal furl.net link (bookmarks current page)

        ?> 常规furl.net链接(为当前页面添加书签)

      • <?php dbt_the_LinkTag(“在del.icio.us上添加书签”);

        ?> Normal del.icio.us link (bookmarks current POST, use inside the loop!)

        ?> 正常的del.icio.us链接(将当前POST标记为书签,在循环内使用!)

      • <?php dbt_the_LinkTag(“在digg上添加书签”,“ digg”);

        ?> Normal digg link (bookmarks current POST, use inside the loop!)

        ?> 正常的digg链接(将当前POST标记为书签,在循环内使用!)

      • ","blinklist");

        <?php dbt_getLinkTag(“ ”,“ blinklist”);

        ?> Link with image to blinklist (bookmarks current page)

        ?> 与图像链接到眨眼列表(为当前页面添加书签)

      • ","newsvine");

      • <?php dbt_the_LinkTag(“ ”,“ newsvine”);

        ?> Link with image to newsvine (bookmarks current POST, use inside the loop!)

      • ?> 与图像链接到newsvine(将当前POST标记为书签,在循环内使用!)

下载地址
https://downloads.wordpress.org/plugin/delicious-bookmark-this.zip
-EOF-

AI助手支持GPT4.0