Meta Title Tag for subalbums

Hello,
I am currently using Zenphoto version 1.4.0.3 [6841] (Official Build)
Current gallery theme: zpFocus_v1.4.
I use the following code to print the Meta Title Tag for my albums:
<?php
echo getBareGalleryTitle();
if ($_zp_gallery_page == 'album.php') {echo " | ".getBareAlbumTitle();}
}
?>
I am experimenting with subalbums. How would I change or add to this code to print a Meta Title Tag for subalbums such as:
Gallery Title | Album Title | Sub Album Title.
I have read through the forum, but I can't seem to find a solution for my version of Zenphoto.
Thank-you!

Comments

  • gjr Member
    Look at the printParentBreadcrumb function. That may help you write your own code, but you wouldn't want to use it directly in the title tag as it includes anchors I believe. May add this in next release.
  • @gjr
    I know you are really busy updating your themes. That's great because I am using zpFocus exclusively. I would really appreciate it if in your testing you could come up with the proper code for my previous question.
    Thank-you! Renee
  • gjr Member
    Consider it done (when released). Why? You followed the forum rules (version, theme, etc), stated your inquiry clearly, its a good suggestion... :)

    zpFocus is at the bottom of the list since it is the oldest, and uses the most custom functions that I always need to modify every new version, haven't even looked at it yet, because of the drop menus.

    Am working on them now...zpmas in the works
Sign In or Register to comment.