Skip to main content

With this filter you can adjust the title of individual term-pages (entries of a taxonomy). For example, you can adjust the title of a term trough the ID ($term_id), see example, or intercept whole taxonomies ($taxonomy).

add_filter('at_taxonomy_page_title', 'at_set_taxonomy_page_title', 11, 3);
function at_set_taxonomy_page_title($title, $taxonomy, $term_id) {
	if($term_id == 55) {
		$title = 'Devices of Asustor';
	}
	
	return $title;
}

 


Was this article helpful?

1 Star2 Stars3 Stars4 Stars5 Stars
(No Ratings Yet)

Keine Kommentare vorhanden


You have a question or an opinion about this post? Share it with us!

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

*
*