Archived topic
My Post And Page Titles are not showing
7 replies · Started by Shami on March 24, 2021
I've added header elements with the code <h1>{{post_title}}</h1>
My goal earlier was to move the titles out of the post container.
But now when I disable those elements, the post and page titles disappear.
Also, I'm not using any additional css to hide the page titles.
This is weird.
I'm not able to find out what's causing this issue. I've already tried to disable header elements. But it doesn't work.
Right now, I've enabled those header elements so that user experience doesn't get affected.
But I wish to restore as it was earlier.
Hi there,
do you have any Layout Elements ?
Or have you disabled the Content Title in the post editor ?
No.
Neither am I using any layout element. Nor have I disabled title in the post editor.
Can you provide me a temporary admin login to the site so i can take a look>
Okay. I've created temporary credentials.
Don't restore.
Just let me know how to fix the issue.
I want to be able to switch between both states.
Right now, I'm okay with current layout. But I also want flexibility to shift to the old layout.
Keep that in mind.
You're using a Child theme that has content-single.php templates that has the entry header functions removed.
Thanks.
I fixed it.
Simply copied the code from the parent theme into child theme.
Now I remember, I removed that while adding those extra elements after the header. It's just isn't important anymore.
Glad to hear that!