Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Use post tag as event tag

$
0
0

Replies: 0

Hi I am looking for a quick way to assign existing post tags to an event so they can be served together on the same archive page.

I ran across this script so that you can add post categories to events:

// ADD POST CAT TO EVENTS
	function em_customcode_use_blog_categories(){
		$supported_array = (EM_MS_GLOBAL && !is_main_site()) ? array():array(EM_POST_TYPE_EVENT,'event-recurring');
		register_taxonomy_for_object_type('category',EM_POST_TYPE_EVENT);
	}
	add_action('init','em_customcode_use_blog_categories',100);

Is there a way to modify this to allow access to the post tags from the events backend?


Viewing all articles
Browse latest Browse all 59525

Trending Articles