How to add tags to custom post type in WordPress?

Posted by Prem Tiwari | Updated on

If you want to add tags to custom post type in WordPress? Add the following code to the functions.php file of your WordPress theme. In the following example, we are adding “portfolio” is where you register the taxonomy to a post type:


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers