[wordpress插件] Delicious Bookmark Button美味书签按钮

wordpress 插件 文章 2020-04-15 00:50 1104 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

A cool and easy to implement delicious bookmarker badge with total bookmark count.

一个很酷且易于实现的美味书签徽章,具有书签总数。

It adds a delicious badge / button to your post / page which allows you to bookmark the post / page.

它在您的帖子/页面上添加了一个漂亮的徽章/按钮,使您可以为帖子/页面添加书签。

It also reflect a real-time count of how many times your page has been bookmarked in delicious, just like tweetmeme button does for twitter.

它也反映了您的页面在美味中添加了书签的次数的实时计数,就像tweetmeme按钮用于Twitter一样。

Both standard and compact badge options to choose from.

标准和紧凑型徽章选项可供选择。

安装步骤

Normal Badge

普通徽章

  <?php delit_normal(); 

?>

?>

Compact Badge

紧凑型徽章

  <?php delit_compact(); 

?>

?>

    1. To install the plugin, please upload the folder to your plugins folder and activate the plugin.
    2. 要安装插件,请将该文件夹上传到您的plugins文件夹并激活该插件。

    3. Edit single.php of your WordPress theme.
    4. 编辑您的WordPress主题的single.php。

    5. Find the following line (or similar line, depending on your theme file) in single.php or theloop.php
            

    6. 在single.php或theloop.php中找到以下行(或类似的行,具体取决于您的主题文件)
            

      < ?php the_content("

      <?php the_content(“

      `Read the rest of this entry”);

      `阅读本条目的其余部分”);

      ?>`

    7. ?>`

    8. Immediately after the line, add the code above:
    9. 在该行之后立即添加上面的代码:

    10. Save and upload single.php back to your WordPress theme folder.

    11. 保存single.php并将其上传回WordPress主题文件夹。

      Done!

    12. 完成!

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

AI助手支持GPT4.0