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

Author Recommended Posts

描述

Simple Author Recommended Posts Plugin

Author Recommended Posts lets you easily search and choose specific posts, pages and custom post types you want to associate to a post or page. You can add, reorder, remove selected posts for display via the simple drag and drop interface.

Features

  • Simple clean styles for basic layout/structure
  • Show/hide output title & featured images
  • Display your recommended posts vertically or side-by-side
  • Filter which content is searchable and which post types to automatically output on

Requirements: WordPress 3.3+, PHP5 and higher

This plugin is free to use and is not actively supported by the author, but will be monitored for serious bugs that may need correcting.

屏幕截图

  • The search meta box.
  • Horizontal output after the post, with thumbnails.
  • Vertical output after the post, with thumbnails.
  • Vertical output after the post, without thumbnails.

安装

The plugin is simple to install:

  1. Upload author-recommended-posts to the /wp-content/plugins/ directory
  2. Activate the plugin through the Plugins menu in WordPress
  3. Visit the options in, Settings > Author Recommended Posts
  4. Go to a post, page or your custom post type and choose your recommended posts

常见问题

Can I output using a template tag?

Of course! Just include <?php echo do_shortcode( '[AuthorRecommendedPosts post_id="XXX"]' ); ?> where XXX is the ID of the post, or you can leave it out if you include it in the loop. i.e. <?php echo do_shortcode( '[AuthorRecommendedPosts]' ); ?>

I want to make it fit the style of my site better

We left the styles pretty generic so it is simple enough to update to fit your theme style. Of course some CSS writing will be required.

Is there a widget?

At this time no, we want to add this in though. So keep your eyes peeled.

Why did you make this?

We did not really find any plugins out there that does just this. And we wanted something quick, simple, and easy to use.

评价

阅读所有9条评价

贡献者及开发者

“Author Recommended Posts” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.0.3

  • Changed plugin URL constant to properly respect https scheme

1.0.2

  • Added 2 new actions author_recommended_posts_before_related and author_recommended_posts_after_related that can be hooked into for outputting custom content before or after each related entry

1.0.1

  • Fixed posts search order to Desc
  • Updateing namespacing in admin.js

1.0

  • Initial release