Hi everyone just want to ask is there any way to edit title of the photos or album pages.
for example ;
in this page:
https://www.fdream.co.uk/index.php?album=Cream&image=fluffy-103.jpg
title: Handmade Cream Blanket | Cream blankets | Fluffy Dreams
in this page title can i edit like how i want be couse i want to take of ( cream blankets ) from middle be couse its to long and not make sanse.
Thanks very much
I see you're using the zp-base theme. Try this: in the theme folder find inc/header.php. Now look for printHeadTitle(); (line 101)
and change this to printHeadTitle(' | ', false, false);.
Further reading:
https://www.zenphoto.org/news/theming-tutorial/
and
https://docs.zenphoto.org/1.5.x/function-printHeadTitle.html
Thanks for answer
Do we have a chance to add separate titles to the album and photo pages one by one?
Dear @acrylian and @fretzl thanks very much for response me again.
I have been reading many times try understand to many times but I do not understand how to modifiying the theme. Im not a programmer but i do my website i can open and change the codes in php thats not a problem but still not understand how is it going to be.
i have change printHeadTitle(); (line 101)
and change this to printHeadTitle(' | ', false, false)
on header.php
but noting happened. what i have to do more can you please explain to me with little bid more details thanks very much sory for take your times.
That actually would work. Are you sure you edited the right file and actually the one on your site?
Also looking at the source code quickly you should check your modifications as I see invalid code (which is not form the zbase theme itself):
img { max-width: 100%; height: auto; }
[Image: https://www.fdream.co.uk/logo.jpg]
(…)
Beside is a html element that is deprecated it is invalid within the header as is the `' and element.
Dear @acrylian and @fretzl thanks very much for your help again.
Dear @fretzl i edit the printheadtitle code like how u say;
if ((class_exists('RSS')) && ($rss_option != null)) printRSSHeaderLink($rss_option,$rss_title); ?>
Thanks Very much for all information last code work perfect.