Support » Plugins » is_archive & is_page_template not working (nextgen)

  • Resolved rumlab

    (@rumlab)


    Hi.
    I’m trying to use these functions to determine whether my nextgen gallery navigation should be on top or below the pictures (editing imagebrowser.php). This seems to work fine with is_single or is_category ie:

    <?php if ((is_single()) || (is_category())): ?>
    
    	<div class="ngg-imagebrowser-nav">
    		<div class="back">
    			<a class="ngg-br(...)

    but if I change to or add is_archive or is_page_template(‘template-file.php’), it doesn’t work anymore. Any ideas???

    Best
    Morten

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘is_archive & is_page_template not working (nextgen)’ is closed to new replies.