Recently Updated Pages

توسط

Sometimes when you update one of your pages on the WordPress blog you would want visitors to know about those. This widget will create a sidebar
box with a list of pages you’ve recently updated. It also shows the date of the update beside the page title. You can choose whether to display the update date and in what format.

You’ve an option to display the Posts in the list as well. If checked (through admin panel) the list will include the Posts along with the list of Pages.

You can use WP’s shortcode to display the last update date of the page or blog posts. Date/time format for the shortcode can be controlled through the widget settings.

V 1.0.4 only fixes the bug related to the widget area where any widget (in admin panel) below RUP’s widget will lockup and cannot be moved.

V 2.0.0 widget code updated to make it combatible with WordPress v. 6.6.2

This plugin can be installed in the standard plugin installation process.

i.e.

  1. Upload recently_updated_pages.php to the /wp-content/plugins/ directory (may also create a directory under /wp-content/plugins/ to keep files organized)
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to Widgets section under Appearance menu
  4. Drag the Recently Updated Pages widget into the Available Widgets section
  5. Position the widget in the location of choice in the sidebar you want it to be on

سوالات متداول

What if I keep the title blank?

By default the widget will show “Recently Updated Pages” as the title. If you want to display a different title, type it in and save.

How many pages will it show in the list?

You can define it through the widget editor in the WordPress admin panel. Specify the number and save.

Will I be able to show my blog POST titles in the list?

Yes, now you can. Check the option to include the blog Posts in the list and it will show them along with the Page list.

Is there a way to hide the last update date?

Yes, you can do that. Toggle the checkbox to hide or display the date.

Can I change the date format?

There is now a text box to specify the date format. There’s also a small help below the admin form in the Widget section.

How do I use the shortcode?

There are two ways you can use it. Either by modifying the template files (e.g. single.php or page.php or footer.php) of the currently running theme or you can add the shortcode within the blog post or page through the WP admin post/page editors.

To use the shortcode within the template file add the following PHP code:

<?php echo do_shortcode(‘[rup_display_update_date]’); ?>

To use the shortcode through the post/page editor:

[rup_display_update_date]

Can I control the date/time format for the shortcode?

Yes, you can. Through the widget settings (WP Admin > Appearance > Widgets > Recently Updated Pages) you can now control the date/time format for shortcodes.

I’m trying to display the update date/time like 20th Aug 2010 at 5:30pm, but the word “at” shows up like “pm31”. Why?

Because PHP’s date function will recognize the characters “a” and “t” as format parameters and parse them. In order to show the word “at” you will need to escape both characters like “at”.

تصویری برای این آیتم موجود نیست.
نظری برای این آیتم موجود نیست.
0 0 رای ها
امتیازدهی
اشتراک در
اطلاع از
0 نظرات
قدیمی‌ترین
تازه‌ترین بیشترین رأی
نسخه حجم فایل SHA256 تغییرات دانلود
2.0.0 5 کیلوبایت -
دانلود
×
★★★★★
★★★★★
4.7 /5 (3 نظر)

قیمت:

رایگان

نگارش

2.0.0

آخرین انتشار

20 اردیبهشت 1405

آخرین بروزرسانی

3 ماه پیش

نصب های فعال

300+

نگارش وردپرس

وردپرس 2.8+

تست شده از نسخه

وردپرس 6.6.5

نگارش PHP

-

تگ ها

نسخه ها

1 نسخه