jdillagodzilla Posted December 21, 2021 Share Posted December 21, 2021 Site URL: https://www.jaydeedevine.com/library/conversational-design Hi there – I'd like to automatically show the project title at the top of each portfolio page. example site: https://www.jaydeedevine.com/library/conversational-design Link to comment
tuanphan Posted December 25, 2021 Share Posted December 25, 2021 First, add a Code Block in top of each project page >> Paste this code <p id="pro-title"></p> Next, add this code into Settings > Advanced > Code Injection > Footer <script> document.getElementById("pro-title").innerHTML = document.title; </script> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
jdillagodzilla Posted January 3, 2022 Author Share Posted January 3, 2022 @tuanphan thanks so much for sharing the code, unfortunately it doesn't work for my needs. I am looking to have the "portfolio-title" for each individual entry vs. the title for the larger portfolio on each page. Additionally, is it possible to have this be the h1 vs. p? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment