Apraksts
Recent Pages and Posts by MediaArt adds a sidebar widget to your site, which displays a list of the most recently created or modified posts and pages. You can configure the number of items and the length of the excerpt for each item.
Useful for blogs, business sites, documentation, or anywhere where users should see what’s new or recently changed.
Features
- Displays both pages and posts
- Sorts by most recently updated
- Configurable number of items
- Optional excerpt length
- Fully localized and translation-ready
Localization
This plugin is ready for translation and includes .pot
and .mo
files. Languages supported:
* English (default)
* Czech (cs_CZ
)
Uzstādīšana
- Upload the plugin folder to the
/wp-content/plugins/
directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Go to Appearance Widgets and add the “Recent Pages and Posts” widget to your sidebar.
- Configure the widget settings as needed.
BUJ
-
Can I change the post types shown?
-
Yes, you can use the
recent_pp_post_types
filter to modify the query. Example:
add_filter(‘recent_pp_post_types’, function($types) { return array(‘post’, ‘page’, ‘custom_post_type’); }); -
Can I change the default post count or excerpt length?
-
Yes, using these filters:
–recent_pp_post_count
–excerpt_length
Atsauksmes
Par šo spraudni nav atsauksmju.
Autori un izstrādātāji
“Recent Pages and Posts by MediaArt” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.
Līdzdalībnieki“Recent Pages and Posts by MediaArt” ir tulkots lokalizācijās 3. Paldies tulkotājiem par ieguldījumu.
Tulkot “Recent Pages and Posts by MediaArt” savā valodā.
Vai jūs interesē attīstība?
Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.
Izmaiņu žurnāls
1.0.1
- Improved widget styling – switched to dotted list and reduced padding.
- Updated translation loading mechanism.
1.0.0
- Initial release