template-functions.php as are most of these functions.
But why are you asking? Do you intend to change the function? If so, I would strongly advise against it. You will be forever finding your changes reverted when a new version of zenphoto is released. And, of course, it should be entirely unnecessary to change this function. (Specially since it has nothing to do with showing fields on the admin pages.)
I am new to php and wanted to study the ways these functions query the mysql database and pass on the values, that is why I wanted to know where they were defined.
Also, as I asked earlier, how can I change the format of the admin album edit page? I'm not sure where this template is defined.
Is there a way for me to modify the admin pages while also keeping zenphoto compatible with future updates ? i.e. will this page have to be modified each time I update zenphoto ?
However, maybe there is a way to do what you wish.
your theme can define its own set of options. These are displayed in the custom options portion of the option/themes tab. Why not just make these things options of your theme? Probably they are not applicable elsewhere anyway.
Comments
But why are you asking? Do you intend to change the function? If so, I would strongly advise against it. You will be forever finding your changes reverted when a new version of zenphoto is released. And, of course, it should be entirely unnecessary to change this function. (Specially since it has nothing to do with showing fields on the admin pages.)
I am new to php and wanted to study the ways these functions query the mysql database and pass on the values, that is why I wanted to know where they were defined.
Also, as I asked earlier, how can I change the format of the admin album edit page? I'm not sure where this template is defined.
Thanks !
Is there a way for me to modify the admin pages while also keeping zenphoto compatible with future updates ? i.e. will this page have to be modified each time I update zenphoto ?
- Fuge B
your theme can define its own set of options. These are displayed in the custom options portion of the option/themes tab. Why not just make these things options of your theme? Probably they are not applicable elsewhere anyway.