I’m trying to edit the loop so if its on category ID 60 it displays “Photos” instead of “Blog”.. how do I do this?
blog
<?php if(is_archive()&&!is_category()&&!is_tag()&&!is_search()){ ?>
<!-- BEGIN .archive-title -->
<h1 class="page-title">
<?php if ( is_day() ) : ?>
<?php printf( __( 'Daily Archives: %s'), get_the_date()); ?>
<?php elseif ( is_month() ) : ?>
<?php printf( __( 'Monthly Archives: %s'), get_the_date( 'F Y' )); ?>
<?php elseif ( is_year() ) : ?>
<?php printf( __( 'Yearly Archives: %s'), get_the_date( 'Y' )); ?>
<?php else : ?>
<?php _e( 'Blog Archives'); ?>
<?php endif; ?>
<!-- END .archive-title -->
</h1>
<?php } ?>
Try something like this.