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.

Author: Michael Bishop

I used to wash dishes, now I'm a digital plumber. Proud Tampa native. Public Interest technologist. Sports fan, music lover. he/him

One thought on “

Leave a Reply

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