Hi everyone,
I figured this one out. My post pages were pulling up the content.php part, which I removed the following code from:
/*Get first word of content*/
$first_word = substr($raw_content, 0, 1);
/*only allow alphabets*/
if (preg_match("/[A-Za-z]+/", $first_word) != TRUE) {
$first_word = '';
}
echo '<div class="entry-content" data-initials="' . esc_attr($first_word) . '">';
This has done the trick!