I want to append "(Page 2)" to my html on each album when I am on page 2 or higher. This way Google isn't indexing duplicate page titles for my paginated albums. I'm using v1.26 currently.
I believe this involves an if statement using the function getAlbumPage() but I'm not really a coder so if someone could point me in the right direction I'd be grateful. Thanks!
Thanks for your help. After trying what you said, I finally realized that getAlbumPage only applies to the current image, not the current album (it kept returning 0).
I searched further and discovered there is a getCurrentPage() function(!).
So this is the code that worked (again, thanks to you for getting me here):
`
`
I also would like to add page numbers to the titles on page 2 or higher. Currently using zpfocus_v1.4. Where do I place this code?
Thank-you.
It's indeed theme-specific. But as a general principle:
– Go in the /themes/Your_theme folder
– Look for files such as album.php, gallery.php, image.php
– Find "breadcrumb" style; this is very likely to be where you have the title of the page displayed