Αυτό το πρόσθετο δεν έχει δοκιμασθεί με τις 3 τελευταίες κύριες εκδόσεις του WordPress. Μπορεί να μην αναπτύσσεται ή να υποστηρίζεται άλλο και να έχει προβλήματα συμβατότητας με τις πιο πρόσφατες εκδόσεις του WordPress.

Display Posts – Date View

Περιγραφή

This plugin extends Display Posts by letting you break your content down by month or year. You can use all of the Display Posts parameters to customize the query.

Month Listing

[display-posts display_by_month="true" posts_per_page="999" title="Posts by Month"]

Use the display_by_month parameter to break it down by month. To list all your content, use a high posts_per_page, like 999. You can also add an optional title to appear above the listing.

Year Listing

[display-posts display_by_year="true" posts_per_page="999" title"Posts by Year"]

Use the display_by_month parameter to break it down by year. To list all your content, use a high posts_per_page, like 999. You can also add an optional title to appear above the listing.

Filters

If you’re a developer, you can use the following filters to customize the markup:

  • display_posts_date_view_heading_tag – The heading tag used for date headings. Default is h4.
  • display_posts_date_view_heading_class – The class added to the heading tag. Default is .display-posts-date.
  • display_posts_date_view_month_format – The date format used for month headings. Default is ‘F Y’.
  • display_posts_date_view_year_format – The date format used for year headings. Default is ‘Y’.

Εγκατάσταση

  1. Install and activate Display Posts
  2. Install and activate Display Posts, Date View
  3. Add the [display-posts display_by_month="true"] shortcode to a post or page.

Κριτικές

2 Αυγούστου 2019
This works... but it's odd that it is a a separate plugin. The parent "Display Posts" plugin has more than 100,000 active installations while this plugin has fewer than 100. Couldn't "dateView" (and the few other views this plugin provides) just be optional parameters for [display-posts] and this plugin can be removed?
Ανάγνωση όλων των 3 κριτικών

Συνεισφέροντες & Προγραμματιστές

“Display Posts – Date View” είναι λογισμικό ανοιχτού κώδικα. Οι παρακάτω έχουν συνεισφέρει στη δημιουργία του.

Συντελεστές

Σύνοψη αλλαγών

Version 1.0

  • This is the initial version. Everything’s new!