I am customising search page results for staff and customers.
I have created a private page, password protected, hidden to the public, and I want more information to display when staff use the search in this page.
If the public are using the search, on the non private page, I want to show less information.
My thoughts where if the page or page template is 'stock-managers', then display this, else then display that.
I have tried various approaches, and cant seem to get anything to work. Any help would be really appreciated.
<?php if (is_page('stock-managers')) { ?>
<article class="entry post clearfix">
<-- Title / Thumbnail / Price / Description coding -->
</article>
<?php } else { ?>
<article class="entry post clearfix">
<-- Title / Thumbnail / Description coding -->
</article>
<?php } endif; ?>