Can Someone Help with this Issue Please..?
-
I’m sorry to post multiple x’s but I’ve got no response for the last 5 post I’ve made.
I have a page ‘page-photos.php’. On this page for my content div, I call
get_template_part('loop', 'photos');
For some very strange reason, loop.php acts differently with pages because it didn’t show ANYTHING between the <div id=”content”></div> until I took out the line:
<?php if ( in_category( _x('gallery', 'gallery category slug', 'twentyten') ) ) : ?>
…even though my galleries are categorized as ‘gallery’..
this is indeed weird….I’m thinking there’s a difference between loop.php for pages and loop.php for posts…can someone help explain this difference…
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Can Someone Help with this Issue Please..?’ is closed to new replies.