该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Simple News

描述

Display a list of the attachments that were added to a post or page by the Attachments plugin.

The Attachments plugin allows you to easily append items from the media library to posts, pages, etc, but does not directly interact with the theme.

This plugin will display an list of those items, each as a link to the file.

Compatibility with the Attachments plugin

This plugin was developed and tested with version 1.5.2 of the Attachments plugin. Feedback on success/failure with other versions of the plugin welcome.

Kudos to Jonathan Christopher for the Attachments plugin.

屏幕截图

安装

  1. Upload the plugin to your blog.
  2. Activate it.
  3. Use the “Attachments” plugin to add media files to posts and pages.
  4. Show the attachments for a post or page using one of the following methods:

    • Add the “Attachments List” widget to the sidebar,
    • Add the shortcode [attachments-list] to a post or page, or
    • Place <?php show_attachments_list(); ?> in your templates
  5. You’re done!

常见问题

How do I attach media files to my posts?

You’ll need to install the Attachments plugin. It’s awesome.

This plugin is just to display the attachments.

How do I show a different icon size using the shortcode?

Use the “size” parameter. For example, [attachment-list size=”medium”]

Sizes available:
* default: 46 x 60
* medium: 34 x 45
* small: 23 x 30
* casual: 50 x 55
* none: text only

How about specifying a size using the function?

Here’s an example:

    <?php show_attachments_list('small'); ?>
Where did the “casual” icons come from ?

It’s a set of images I found at MimeTypes_DroplineEtiquette_mimetypes. They’re cute, right?

评价

此插件暂无评价。

贡献者及开发者

「Simple News」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Simple News」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.1

  • Added “casual” icon set
  • Added Widget support
  • Converted images to sprites