Adding wordpress tags to content

Viewed 19

I am trying to add Wordpress tags to any content created on an Elementor page.

I was able to add this code below to my functions.php to allow tags on pages but now I need to be able to add tags to the content on the page (links,text blocks,sections, images,etc...).

// adding tags to pages
add_action( 'init', 'adding_tags_to_pages' );

function adding_tags_to_pages() 
{
    register_taxonomy_for_object_type( 'post_tag', 'page' );
}

Any help on this would be appreciated.

0 Answers
Related