توضیحات
MD Taxonomy Totals provides a simple and efficient way to display the total number of published posts on your site. Use the [mdtt_total_posts] shortcode anywhere on your site to show post counts.
Features:
* Display total published posts count
* Filter by category (name, slug, or ID)
* Filter by tag (name, slug, or ID)
* Combine category and tag filters
* Automatic number formatting based on locale
* Admin instructions page accessible via Tools menu
Perfect for:
* Showing total blog posts on your homepage
* Displaying category-specific post counts
* Tag-based post statistics
* Portfolio or gallery post counts
* Any content that needs post count displays
عکسهای صفحه


نصب
- Upload the plugin files to the
/wp-content/plugins/md-taxonomy-totalsdirectory, or install the plugin through the plugins screen directly. - Activate the plugin through the ‘Plugins’ screen
- Use the
[mdtt_total_posts]shortcode in your posts, pages, or widgets
سوالات متداول
-
Where can I use the shortcode?
-
The
[mdtt_total_posts]shortcode works in:
* Post and page content (Gutenberg and Classic Editor)
* Text widgets and Custom HTML widgets
* Page builders (Elementor, Avada, WPBakery, etc.)
* Theme templates (usingdo_shortcode()) -
Can I combine category and tag filters?
-
Yes! Use
[mdtt_total_posts category="news" tag="featured"]to count posts that match both criteria. -
What happens if I specify an invalid category or tag?
-
The shortcode will return “0” for invalid terms, ensuring your site doesn’t break.
-
Does this work with custom post types?
-
Currently, the plugin counts only standard posts. Future versions may include custom post type support.
نقد و بررسیها
نقد و بررسیای برای این افزونه یافت نشد.
توسعه دهندگان و همکاران
“MD Taxonomy Totals” نرم افزار متن باز است. افراد زیر در این افزونه مشارکت کردهاند.
مشارکت کنندگانترجمه “MD Taxonomy Totals” به زبان شما.
علاقه مند به توسعه هستید؟
کد را مرور کنید، مخزن SVN را بررسی کنید، یا از طریق RSS در گزارش توسعه مشترک شوید.
گزارش تغییرات
1.0
- Initial release
- [mdtt_total_posts] shortcode with category and tag filtering
- Admin instructions page
- Support for slug, name, and ID-based filtering
- Automatic locale-based number formatting
