Home › Forums › Support › Remove Page Numbers from Home Page This topic has 11 replies, 4 voices, and was last updated 1 year, 10 months ago by Leo. Viewing 12 posts - 1 through 12 (of 12 total) Author Posts July 2, 2018 at 5:26 am #613274 Mahendra Hello , I want to remove the Page Numbers in Home Page of my blog See the Nubers are like the below in my Home Page .. I think this comes under page Number navigation . I want this to be removed completely . 1 2 β¦ 143 Next β July 2, 2018 at 5:58 am #613295 DavidStaff Customer Support Hi there, simplest way is to go to Customiser > Layout > Blog and select Use Infinite Scroll, this will then give the option if you want a load more button. July 2, 2018 at 9:29 pm #613940 Mahendra I dont want infinte Scroll as it will start displaying all posts. Can Some one please help how to remove page Numbers from the Home Page July 3, 2018 at 4:45 am #614188 DavidStaff Customer Support With infinite scroll you have the option for a load more button which has to be pressed for more posts to load. Alternatively you can add this CSS: .paging-navigation { display: none; } https://docs.generatepress.com/article/adding-css/ July 3, 2018 at 5:07 am #614213 Mahendra Thanks a lot !!! July 3, 2018 at 5:26 am #614233 DavidStaff Customer Support Glad to be of help December 31, 2020 at 4:32 am #1600526 Claudio Instead of hiding with display: none; how to remove the function from code? December 31, 2020 at 12:40 pm #1601049 TomLead Developer Lead Developer You can try this: add_filter( 'generate_show_post_navigation', functon( $show ) { if ( ! is_singular() ) { return false; } return $show; } ); January 1, 2021 at 6:32 am #1601493 Claudio thanks, work well January 1, 2021 at 11:59 am #1601923 TomLead Developer Lead Developer You’re welcome π June 18, 2022 at 3:20 pm #2257559 Mahendra Hello Tom You mentioned : add_filter( ‘generate_show_post_navigation’, functon( $show ) { if ( ! is_singular() ) { return false; } return $show; } ); Do i need to remove this code ??? Can you please let me know where this code is present ??? i also want to remove the PageNumbers from Homepage instead of Hide. June 18, 2022 at 3:25 pm #2257561 LeoStaff Customer Support Hi there, Tom’s code can be added using one of these methods: Adding PHP: https://docs.generatepress.com/article/adding-php/ Let me know if this helps π Author Posts Viewing 12 posts - 1 through 12 (of 12 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In