Home › Forums › Support › Pagination Anchor This topic has 3 replies, 2 voices, and was last updated 3 years, 5 months ago by Leo. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts April 4, 2020 at 8:19 am #1226388 Fabien Hi, For my archives, I’ve created a custom template with static content above the loop. Is there a way to add an anchor to the pagination link (like https://domain.com/category/page/2#latest-articles) ? Thanks a lot ! April 4, 2020 at 5:14 pm #1226823 TomLead Developer Lead Developer Hi there, Dove into the core code a bit and found this filter: paginate_links Not sure if it will work, but it’s worth a shot: add_filter( 'paginate_links', function( $links ) { return $links . '#latest-article'; } ); November 5, 2022 at 5:46 am #2402539 Heinrich Hi Tom, the code works perfect for the numbers but not for “previous page” and “next page”. I hope you can help me out. best wishes November 5, 2022 at 11:06 am #2402931 LeoStaff Customer Support Hey! This topic is a bit old. Can you open a new one and describe what you are trying to achieve? Feel free to reference back to one as well. Thanks! Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In