That text I've written in the 404.php but the search and sidebar is still english (which should get it's text from the language file like the rest of my theme.) It's gettext code is the same as in the other files so I don't see why its not translated: `gettext("Search gallery")` and so on. There shouldn't be a calling for the gettext/translation file in the document should there?
I also see that 404.php is the only page that doesn't take
` <?php if($_zp_gallery_page != 'contact.php') { printCustomPageURL(gettext('Contact us'), 'contact', '', ''); } else { echo gettext("Contact us"); } ?> ` from sidebar.php. Maybe that can give a clue to the problem.
It's a bug .... Look at the first line there is a call to `setThemeDomain("zenpage-default");` This needs to be remove as this forces the page to use a separate theme translation (which has other problems as then the main translation would be ignored). This is a leftover from times when the Zenpage plugin and the theme where released independently.
I see it. Hah! I'm blind... The first sentence in the whole text are the problem. Thank you very much:-) What about the missing Contact form URL on the sidebar? I guess the page should be "approved" for sidebar-contact page URL somewhere but I don't have any suggestions. It's not in the contact_form script.
No idea currently, actually the official zenpage-default 404 page has no sidebar at all, because the 404 page is a little out of context actually (there were some issue with the other functions because of that if I remember correctly).
Thte contact us page is a separate (basically static) theme page named contact.php.
Comments
`
Uff da!
Adressen du ba om, eksisterer ikke eller har restriksjoner.
Album: test404
Theme page:
`
I'm not quite sure why you would be having problems.
I also see that 404.php is the only page that doesn't take
`
<?php
if($_zp_gallery_page != 'contact.php') {
printCustomPageURL(gettext('Contact us'), 'contact', '', '');
} else {
echo gettext("Contact us");
}
?>
`
from sidebar.php. Maybe that can give a clue to the problem.
No idea currently, actually the official zenpage-default 404 page has no sidebar at all, because the 404 page is a little out of context actually (there were some issue with the other functions because of that if I remember correctly).
Thte contact us page is a separate (basically static) theme page named contact.php.