Custom titles for 400 static pages
-
I have 400+ pages of static content that I was able to wrap into our wordpress site using
get_header()
andget_footer()
calls. Unfortunately, there is no page title to display on those pages.
I have been unable to figure out a way to pass a string ‘title’ to be displayed by the header.php code.
I looked at metadata but don’t have a page id.
I looked at a global php variable but was worried about synchronization problems.
Any suggestions on how to pass the title from php code in my page to header.php and be sure that it gets the right value?
Thanks!
- The topic ‘Custom titles for 400 static pages’ is closed to new replies.