Hi, I’ve spent A LOT of time trying to customize the Site Title for my Read WP theme. In my old theme, I (somehow) managed to add a typing animation years ago — I think using shortcode — as you can see on http://bynickschultz.com. I’d like to carry this effect over with my redesign to the Read WP theme, see http://staging.bynickschultz.com.
Bottom line: what’s the best way to go about this on the Read WP theme?
What I’ve tried: I was kind of able to get it to work using shortcodes, but there were some odd issues where Appearance > Site Identity > Site Title are effectively disabled and the blinking cursor get misaligned on non-homepage pages.
Then with a lot of help from ChatGPT, I tried creating custom-script.js and functions.php files in my child directory to get the animation working with the typing animation running only on my homepage, and on all other pages, just the blinking cursor. This all works fine when viewed in the Appearance Customizer. However, when I load the live site, there is no animation at all; the Site Title appears static on all pages and no blinking cursor.
This is getting pretty far out of my depth. Can anyone help me out here?
I played around with it some more and was able to get it working pretty well adding shortcode to the header.php file in my child theme directory.
The one odd thing about it is editing the Site Title in Appearance > Site Identity only affects non-homepage pages. The Site Title on my homepage is only editable if I go into the header.php file. I don’t have any intention on ever changing my site name, so I guess this is fine. And I guess since I’ve modified my header.php in the child theme directory, I should be OK to update the Read theme and not lose my customization.
I guess you can mark this as solved, but if anyone has any thoughts about a better way to go about this, I’ll take it. Thanks.