رفتن به مطلب

محدود کردن نمایش تعداد فید در feedwordpress


پست های پیشنهاد شده

سلام

من از افزونه feedwordpress برای دریافت آخرین فیدها استفاده می کنم.

ولی مشکلی که داره اینه که مثلا حدود 50 یه وقتایی 20 تا مطلب از یک فید میگیره.

می خواستم محدودش کنم. یعنی برای هر فید یک تعداد مشخصی معین بشنه.

لینک به ارسال
  • 2 هفته بعد...

خودم افزونه رو پیداکردم.

با این میشه تعداد فیدها رو تعیین کرد .

https://github.com/radgeek/fwp-limit-posts-by-date

ولی این قسمت ها رو نمی فهم چیه و بدرد چی می خوره؟

Filter by date: Don’t syndicate items posted before: Number of posts:

When a feed contains new items, syndicate...

  • as many as appear on the feed
  • only the most recent
  • only the earliest new items
  • no more than new items, chosen at random

Expiration date: Syndicated posts expire after they’re first syndicated here originally published at the source

When posts expire, they should be...

  • hidden but not deleted
  • redirected, to this custom URL:
  • moved to the trash can, to be deleted later
  • deleted permanently

Expired Featured Images:

If an expired post is deleted from the system, and that post has a Featured Image set, what should be done with its Featured Image?

  • Nothing. The image file will be kept unchanged in the upload directory.
  • Clean up old image, if possible. If the deleted post was the only one that had this image set as its Featured Image, then the orphaned image will be deleted from the upload directory.

Expiration queue:

Process no more than expired posts per update cycle.

To avoid seizing up system resources when there are many expired posts to process, this plugin will shuffle out a few posts at a time during FeedWordPress's normal update schedule. What's the maximum number of expired posts FeedWordPress should shuffle off during any given update cycle? (Recommended values: 10-25 for low-volume installations; 25-60 for higher-volume installations, or if you have a large backlog of older posts that you are trying to work through.) Apply to existing syndicated posts

You can apply this expiration-date setting retroactively to syndicated posts which have already been syndicated, using this button:

لینک به ارسال

به گفتگو بپیوندید

هم اکنون می توانید مطلب خود را ارسال نمایید و بعداً ثبت نام کنید. اگر حساب کاربری دارید، برای ارسال با حساب کاربری خود اکنون وارد شوید .

مهمان
ارسال پاسخ به این موضوع ...

×   شما در حال چسباندن محتوایی با قالب بندی هستید.   حذف قالب بندی

  تنها استفاده از 75 اموجی مجاز می باشد.

×   لینک شما به صورت اتوماتیک جای گذاری شد.   نمایش به صورت لینک

×   محتوای قبلی شما بازگردانی شد.   پاک کردن محتوای ویرایشگر

×   شما مستقیما نمی توانید تصویر خود را قرار دهید. یا آن را اینجا بارگذاری کنید یا از یک URL قرار دهید.

×
×
  • اضافه کردن...