Display Site Numbers

Mô tả

Widget

The widget will show (and automatically update) the following site-content counters:

  • Categories count
  • Posts count
  • Pages count
  • Images count
  • Tags count
  • Comments count
  • Authors count

In the admin backend, user can select what counter(s) to display.

Shortcode

Add this shortcode in your page/post:

[DSN-list]

to show all the 6 counters. If you want to specify what counter(s) to show, use this syntax;

[DSN-list show="Categories, Comments, Posts]

Valid terms in the list are: Categories, Comments, Posts, Pages, Authors, Images, Tags.

If you like the plugin, feel free to rate it (on the right side of this page) or donate via PayPal. Thanks a lot! 🙂

Ảnh màn hình

  • The admin backend
  • The widget frontend
  • Another view of the frontend, with a different style
  • A view of the shortcode output in a post/page.

Cài đặt

  1. Upload display-site-numbers folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place the widget

Hỏi đáp

Can I customize the style in the widget?

Yes, all elements are included in DSN-wrapper div. Left items are in the item class, while counters are in count class. You can override them in your child theme style.css

Đánh giá

30 Tháng Mười Hai, 2018 1 reply
This was perfect. Well coded and easy to adapt for custom post types.
3 Tháng Chín, 2016 1 reply
Funziona che è una meraviglia... e tanto basta!
Đọc tất cả 2 đánh giá

Người đóng góp & Lập trình viên

“Display Site Numbers” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

“Display Site Numbers” đã được dịch qua 2 ngôn ngữ. Cảm ơn những người tham gia dịch vì đóng góp của họ.

Dịch “Display Site Numbers” sang ngôn ngữ của bạn.

Muốn tham gia phát triển?

Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.

Nhật ký thay đổi

1.0

  • Adding support for custom post types

1.0

  • Implementing Selective Refresh Support

0.9

  • Ensuring compatibility with WP 4.3
  • Removed deprecated php4 code
  • Ready for php7

0.8

  • Added Norwegian localization

0.7

  • Added pages count

0.6

  • Added shortcode

0.5

  • First working version