Fix Category Count

Client: Me

Description: While working on a site recently, I noticed that the category count was incorrect. After doing some research, and finding no plugins, I decided to write a plugin and release it.


  • Built WordPress plugin
  • Submitted plugin to WordPress plugin repository

Fatal error: Uncaught Error: Call to undefined function the_thumbnail() in /home/lozaga66/public_html/wp-content/themes/53mp/single-portfolio.php:61 Stack trace: #0 /home/lozaga66/public_html/wp-includes/template-loader.php(74): include() #1 /home/lozaga66/public_html/wp-blog-header.php(19): require_once('/home/lozaga66/...') #2 /home/lozaga66/public_html/index.php(17): require('/home/lozaga66/...') #3 {main} thrown in /home/lozaga66/public_html/wp-content/themes/53mp/single-portfolio.php on line 61