Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Enhance content-none.php template #19

Closed
wants to merge 4 commits into
from

Conversation

Projects
None yet
2 participants

With this patch we can also save some code in index.php and search.php.

Lance, would you say the "! is_search()" makes sense for logged in publishers?

Collaborator

lancewillett commented Apr 4, 2012

I prefer to leave the search logic in search.php — keeps it simpler.

Which means only author and archive templates use the "none" template, but that's OK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment