anurag-singh
7/26/2016 - 6:15 AM

Assign Category and Tags to WordPress Page

/ Assign Category and Tags to WordPress Page
	function add_taxonomies_to_pages() {
	 //register_taxonomy_for_object_type( 'post_tag', 'page' );
	 register_taxonomy_for_object_type( 'category', 'page' );
	 }
	add_action( 'init', 'add_taxonomies_to_pages' );