i have he same problem that smiguel. i am with zp_gallerific theme and if "news on index" is checked on Zenpage theme, news link link takes me to /index page.
i have done a search with "zenpage_zp_index_news" on zenphoto's code and i found this key word in : - zenpage/zenpage-template-functions.php - zp-extention/menu_manager.php
an option of a theme should not influenced another theme using zenpage plugin. maybe it's would be an option of zenpage plugin ?
"news on index" is indeed a Zenpage plugin option (that's why it is found on the plugin options!) and not a theme option (Zenpage plugin != Zenpage theme) and just switches the news index url to the gallery index.
A theme must support that of course. if it does not you get the confusion you just got. Not sure how to do this option theme dependent as it affects internals of Zenpage.
For now: Just disable that and the news index is again on the normal news page (note I don't know what special things this theme else does). Or place a call to disable that option on your theme directly (see setOption() on the doc).
Oh, you are right, it is of course a theme function. Sorry, the setOption() way is the only one currently as the gallery index stuff is Zenpage internal and this url change needs to be globally.
Comments
i have he same problem that smiguel.
i am with zp_gallerific theme and if "news on index" is checked on Zenpage theme, news link link takes me to /index page.
i have done a search with "zenpage_zp_index_news" on zenphoto's code and i found this key word in :
- zenpage/zenpage-template-functions.php
- zp-extention/menu_manager.php
an option of a theme should not influenced another theme using zenpage plugin.
maybe it's would be an option of zenpage plugin ?
A theme must support that of course. if it does not you get the confusion you just got. Not sure how to do this option theme dependent as it affects internals of Zenpage.
For now: Just disable that and the news index is again on the normal news page (note I don't know what special things this theme else does). Or place a call to disable that option on your theme directly (see setOption() on the doc).
that's why I've made this proposal...
for now, i note your suggestion to place a call to disable that option on mytheme directly with setOption()
`setOption('zenpage_zp_index_news', false, false);`
in the header of my theme herited from zpgalleriffic.
with that it's ok
the zpgalleriffic doesn't work with this option, this is unfortunate because it is a feature that would have been useful for me.
i don't know how to do that, if you can give me a help...