Displaying taxonomy description when nothing is entered in intro text box

Category, tags and CPT’s taxonomy archive pages are only showing the intro text. Following code is showing the default WordPress taxonomy description when you are not using the intro text. If you have both (Description and intro text) then intro text will display.

Checkout this gists.

https://gist.github.com/cpaul007/b1c0c007e068fc549091

Share This Article

Subscribe Membership Plan ($9.99/mo)

  • Get full access to all premium tutorials
  • Get Support for the posted content
  • Request for specific how-to tutorials
  • Cancel the subscription at anytime

Reader Interactions

Leave A Reply

Your email address will not be published. Required fields are marked *