Това разширение не е обновявано повече от 2 години. Може вече да не се поддържа и да има проблеми със съвместимостта при използването му на по-нови версии на WordPress.

Related Posts via Categories

Описание

This Plugin will display the related posts list via categories.
It can automatically display the related posts list after the content of any single post of selected post types by options.
There are many options for the display, order, exclusion and post-type selection.
This plugin works when viewing a post of selected post types by options.
This plugin requires jQuery 1.6 or higher.

Official Page

Related Posts via Categories – Options

‘Settings’ » ‘Related Posts via Categories’

Display

  • Auto display
    • This option automatically displays related posts after the content on the single post page.
    • If this option is off, you will need to manually insert display_related_posts_via_categories() into your theme files.
  • Maximum number of related posts
    • If you do not enter anything: 10
  • Related posts title
    • For example: Related Posts
  • Before related posts title and related posts
    • For example: <div id="related-posts-via-categories">
  • After related posts title and related posts
    • For example: </div>
  • Before related posts title
    • For example: <h2 id="related-posts-via-categories-title">
  • After related posts title
    • For example: </h2>
  • Before related posts
    • For example: <ul id="related-posts-via-categories-list">
  • After related posts
    • For example: </ul>
  • Before each related post
    • For example: <li class="related-posts-via-categories-item">
  • After each related post
    • For example: </li>

Order

  • Order By
    • Related Scores : High ( Speedy )
    • Related Scores : High / Date Published : New ( Default setting )
    • Related Scores : High / Date Published : Old
    • Related Scores : Low / Date Published : New
    • Related Scores : Low / Date Published : Old
    • Related Scores : High / Date Modified : New
    • Related Scores : High / Date Modified : Old
    • Related Scores : Low / Date Modified : New
    • Related Scores : Low / Date Modified : Old
    • Date Published : New
    • Date Published : Old
    • Date Modified : New
    • Date Modified : Old

Exclude

  • Exclude (Posts)
    • The IDs of any posts you want to exclude, separated by commas.
  • Exclude (Categories)
    • Select checkboxes of any categories you want to exclude.

Post types

  • Select checkboxes of any post types you want to include in the list of Related Posts and display the list.
  • Displays checkboxes of them when there is any custom post types.

Localization

  • Japanese (ja) – alphasis (plugin author)
  • Persian (fa_IR) – Omid Sheerkavand
  • Armenian (hy_AM) – Artak Kolyan
  • Current release supports English, Persian, Armenian and Japanese.

Снимки на разширението

  • Display ( If the user is not logged in. )
  • Display ( If the user is logged in. )
  • Settings » Related Posts via Categories
  • Related Posts via Categories – Options » Display
  • Related Posts via Categories – Options » Order
  • Related Posts via Categories – Options » Exclude
  • Related Posts via Categories – Options » Post types
  • Related Posts via Categories – Options » Promotion

Инсталиране

  1. Upload related-posts-via-categories to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

Отзиви

03.09.2016
I had a case when the site had more than 30,000 posts. Your plugin started doing a lot of queries to the database and the database on the server simply displays connection error.
03.09.2016
I wanted a widget in the sidebar, so I’m not using this. However, it does work on a normal WP 4.4.2 install.
Прочетете всички 7 отзива

Сътрудници и разработчици

“Related Posts via Categories” е софтуер с отворен код. Към разширението са допринесли следните хора:

Сътрудници

Превеждане на “Related Posts via Categories” на вашия език.

Имате интерес към разработване?

Преглеждане на кода, разглеждане на SVN хранилище, или абонамент към програмната история (log) чрез RSS.

Списък с промени

2.1.2

  • Tested up to: WordPress 3.5.2

2.1.1

  • Added Armenian ( hy_AM ) language files.
  • Tested up to: WordPress 3.4.2

2.1.0

  • Changed the total source code.
  • Came to require jQuery 1.6 or higher.
  • Added post-type selection option.

1.1.1

  • PHP code was changed to more strict.

1.1.0

  • Added a CSS class or ID.
    • For example: <ul id="related-posts-via-categories-list">
  • This plugin came to require jQuery.

1.0.2

  • Added Persian ( fa_IR ) language files.
  • Compatible up to: WordPress 3.2.1

1.0.1

  • PHP code was changed to more strict.
  • Compatible up to: WordPress 3.1

1.0.0

  • Initial release