turns out™ if you add the global $post object and add $title == $post->post_title then it will not target the other titles on the page that use the filter

Had to see it for myself but you can not filter the_title without titles in page navigation also picking up that filter. I only want to add a class to the actual title of the content.

Got Something To Say?

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