mgx

bear blog dashboard post counter plugin

![](https://static.m64.in/status/1761021103825_bear-blog-dashboard-post-counter.webp) Here's a simple JavaScript snippet that automatically counts your published posts and drafts on your Bear Blog dashboard. ## Installation 1. Go to your Bear Blog dashboard 2. Navigate to `/dashboard/customise/` 3. Find the "Dashboard footer content:" section 4. Paste the JavaScript snippet below 5. Save ## What it does - Counts published posts and drafts - Displays the count next to "Posts" heading: "Posts (X published, Y drafts)" ## Code ``` ``` ## Contribute to bear plugins You can contribute your own scripts at [github.com/HermanMartinus/bear-plugins](https://github.com/HermanMartinus/bear-plugins). This plugin is pending review via PR. I'd also like to extend a special thank you to [Robert](https://robertbirming.com) for bringing the Bear plugins GitHub repo to my attention and for checking if I might be interested in contributing.

Tagged in bear blog, tech