Welcome to Geeklog, Anonymous Friday, November 22 2024 @ 11:35 pm EST
Geeklog Forums
How to add (page_title) to footer?
Dirk
Why do you think it would help with SEO? A page title belongs into the page's title (hence the name) and there it's most effective for SEO.
bye, Dirk
Laugh
For Geeklog 2.0.0 it wouldn't be a real problem if you was using a 2.0.0 theme since the page is generated by one function now (COM_createHTMLDocument).
For Geeklog 1.8.X you could create a really ugly hack. In COM_SiteHeader when the page title is created you can pass it to a global variable.
Then in COM_SiteFooter you can then write your global variable that contains the page title to the template variable.
One of the Geeklog Core Developers.
ArchyAA
Why do you think it would help with SEO? A page title belongs into the page's title (hence the name) and there it's most effective for SEO.
bye, Dirk
Trust me.
Why so hard? Just need a hack for lib-custom, I think, but I don't know WHERE...
ArchyAA
Actually I had a case where I needed the page title in another template which is a similar problem.
For Geeklog 2.0.0 it wouldn't be a real problem if you was using a 2.0.0 theme since the page is generated by one function now (COM_createHTMLDocument).
For Geeklog 1.8.X you could create a really ugly hack. In COM_SiteHeader when the page title is created you can pass it to a global variable.
Then in COM_SiteFooter you can then write your global variable that contains the page title to the template variable.
Thank U, I'll try.
But it's no problem if I'll upgrade to 2.0, yea?
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content