Hi!
I have some questions regarding modifying the Zenpage theme:
I want to remove the printPageListWithNav and printNewsPageListWithNav (the functions that returns « prev 1234567... next ») from the top of the page and only have it below the gallery, album, image and so on. How should I go about that? Below are the code excerpt from gallery.php:
<?php printPageListWithNav("« ".gettext("prev"), gettext("next")." »"); ?>
<?php } else { // news article loop
printNewsPageListWithNav(gettext('next »'), gettext('« prev'));
echo "";
while (next_news()): ;?>
The next printNewsPageListWithNav comes right before sidebar and footer inclusion:
<?php
endwhile;
printNewsPageListWithNav(gettext('next »'), gettext('« prev'));
} ?>
I see there are a while loop between those two commands. I recond the problem occures there?
I also have another question. I want to put everything over the <div id="content-left"> in a header.php and just use include();. Is that possible? I ask because I see there are small modifications over the <div id="content-left"> in every document. Of course I can just try and see, but maybe someone have experience with the hack.
Best regards:-)
Comments
Regarding the header, generelly that is of course possible. Except for a few pages themes can be quite flexible. The header part is dependend on the the current theme file so it is not included as a separate file (copy and paster is as easy...;-) you will maybe need to write some script to change it depending on that