I want to link to an archive page in WordPress, so like:
<a href="<?php page( 2 ); ?>">link</a>
so if a for example a category page is shown, this link needs to go to the second page for that category.
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.Sign up to join this community