How to display category description only on the first page
-
How to display category description only on the first page?
I just need it to appear on the first page because otherwise it is duplicate content for the user
This added to my theme
<?php if ( $paged < 2 ) : ?>
<div><?php echo category_description( $category_id ); ?></div>
<?php endif; ?>I would like to know how to do for amp
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How to display category description only on the first page’ is closed to new replies.