[wordpress插件] amtyThumb postsamtyThumb帖子

wordpress 插件 文章 2020-02-18 01:30 487 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

You can customize the view in your way.

您可以用自己的方式自定义视图。

It uses amtyThumb plugin to extract first image for a post.

它使用 amtyThumb 插件提取帖子的第一张图片。

Fully customizable.

完全可定制。

You may control thumbnail size, Title length, appearance, etc.

您可以控制缩略图的大小,标题长度,外观等。

If you don’t have any image in a post, you can set default image too.

如果您的帖子中没有任何图片,也可以设置默认图片。

You can display posts for following with single plugin.

您可以使用单个插件显示要关注的帖子。

1. What other users are reading now.

1.其他用户正在阅读什么。

2. Highly discussed posts

2.高度讨论的帖子

3. Highly visited posts

3.热门访问的帖子

4. Random pick or pick of the day.

4.随机选择或当天选择。

5. Untouched articles

5.不变的文章

6. Recently submitted posts

6.最近提交的帖子

Note : I am pausing it’s development for some time due to other priorities.

注意:由于其他优先事项,我暂停了一段时间的开发。

However I’ll keep supporting for any bug, small features, and any request.

但是,我将继续支持所有错误,小功能和任何请求。

You can know more about furhter releases, support, plans, and my other developments on git.

您可以在 git 上了解更多有关发行,支持,计划和其他开发的信息。

>

>

Features over other plugins

其他插件的功能

    1. amtyThumb plugin is best to extract any type of image from any post.
    2. amtyThumb插件最好从任何帖子中提取任何类型的图像。

    3. No need to set separate field for image in your post.
    4. 无需在帖子中为图片设置单独的字段。

    5. If there is no image in the post it can show default image.
    6. 如果帖子中没有图片,则可以显示默认图片。

    7. Appearance is fully customizable through widget panel or from short code.
    8. 可以通过小部件面板或短代码完全自定义外观。

    9. You can test plugin through admin page.
    10. 您可以通过管理页面测试插件。

    11. List posts : You can list posts sorted by number of comments, views, last visted time etc. It’ll help you
    12. 列出帖子:您可以列出按照评论数,观看次数,上次访问时间等排序的帖子。它将为您提供帮助

    Coming soon : One call function to build theme pages.

    即将推出:一种调用功能来构建主题页面。

    = Dependency & Usage=

    =依赖性和用法=

      1. amtyThumb plugin must be installed for image extraction.
      2. 必须安装

      3. amtyThumb插件才能提取图像。

安装步骤

Installation of plugin is similar to other wordpress plugin.

插件的安装与其他wordpress插件类似。

e.g.

例如

    1. Extract amtyThumb_post.zip to the /wp-content/plugins/ directory
    2. amtyThumb_post.zip 提取到 / wp-content / plugins / 目录

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

    5. Add widget to your sidebar using widget panel of your dashboard.
    6. 使用信息中心的小部件面板将小部件添加到边栏中。

    You may also add amtyThumb_post anywehre in your post or page using short code.

    您还可以使用短代码在您的帖子或页面中添加amtyThumb_post anywehre。

    For his;

    为了他;

    [amtyThumb show_thumb='no']

      [amtyThumb show_thumb ='no']

    [amtyThumb max_post ='3']

    [amtyThumb max_post ='3']

    Possible parameters with default values

    具有默认值的可能参数

    'title' => 'Amty Thumb Posts', //'' to hide it

     'title'=>'Amty Thumb Posts',//''隐藏

    'before_title' => '

    ',

    'before_title'=>'

    ',

    'after_title' => '

    ',

    'after_title'=>'',

    'thumb_width' => '70',

    'thumb_width'=>'70',

    'thumb_height' => '70',

    'thumb_height'=>'70',

    'constrain' => '1',

    'constrain'=>'1',

    'default_img_path' => '', //should be set

    'default_img_path'=>'',//应该设置

    'pretag' => '',

    'pretag'=>'',

    'template' => '', //

  1. %POST_TITLE%

    'template'=>'',//

  2. %POST_TITLE%

    li>

    li>

    'posttag' => '',

    'posttag'=>'',

    'title_len' => 30,

    'title_len'=> 30,

    'max_post' => 10,

    'max_post'=> 10,

    'category' => 'All',

    '类别'=>'全部',

    'widgettype' => 'Recently Written' //'Recently Written','Random','Most Commented'

    'widgettype'=>'最近书面'//'最近书面','随机','评论最多'

  3. Template Parameter

    模板参数

      1. %VIEW_COUNT% – Display number of times post is visited.
      2. %VIEW_COUNT%–显示帖子的访问次数。

      3. %POST_THUMB% – Display thumbnail
      4. %POST_THUMB%–显示缩略图

      5. %POST_URL% – Display post param link
      6. %POST_URL%–显示发布参数链接

      7. %POST_TITLE% – Display post title
      8. %POST_TITLE%–显示帖子标题

      9. %POST_CONTENT% – Display stripped post content
      10. %POST_CONTENT%–显示已删除的帖子内容

      11. %POST_EXCERPT% – Display post excerpt
      12. %POST_EXCERPT%–显示帖子摘录

      13. %POST_AUTHOR% – Display post author
      14. %POST_AUTHOR%–显示帖子作者

      15. %POST_DATE% – Not supported when displaying recently viewed posts
      16. %POST_DATE%–显示最近查看的帖子时不支持

      17. %SHORT_TITLE% – Display short title.
      18. %SHORT_TITLE%–显示简短标题。

      19. %COMMENTS_COUNT% – Number of comments
      20. %COMMENTS_COUNT%–评论数

      Functions

      功能

        1. getAmtyViewCount(post_id) to get number of views.
        2. getAmtyViewCount(post_id)获取观看次数。

        3. getLastVisitedTime(post_id) to get last visit time.
        4. getLastVisitedTime(post_id)以获取上次访问时间。

        For any doubt or query visit wp-thumb-post

        如有任何疑问或疑问,请访问 wp-thumb-post

下载地址
https://downloads.wordpress.org/plugin/amty-thumb-recent-post.zip
-EOF-

AI助手支持GPT4.0