How do I use the function paginate_links in front-page.php or, if I cannot use it as it should be used in front-page.php where it should be better to put it? I have found this post https://wordpress.stackexchange.com/a/254200/182585 and it helped me a lot, but the only issue I see is that, e.g., the link to the […]
- Tags __, '...')), '%#%', 'add_args' => false, 'add_fragment' => '', 'current' => max(1, 'end_size' => 2, 'format' => '?paged=%#%', 'mid_size' => 1, 'next_text' => sprintf('%1$s ', 'prev_next' => true, 'prev_text' => sprintf( ' %1$s', 'show_all' => false, 'total' => $the_query->max_num_pages, 'type' => 'plain', )); The posts I show in the front-page.php are cases of ill or poor people, and for these types of post I have made a custom post type. I wish to show them in more pages and display the first page on the home page of, but the only issue I see is that, e.g., esc_url(get_pagenum_link(999999999))), get_query_var('paged') ), How do I use the function paginate_links in front-page.php or, if I cannot use it as it should be used in front-page.php where it should be better to put it? I have found this post https://wordpress.stack, the link to the second page goes to http://localhost/page/2 and that page gives the user HTTP error 404. The code inside front-page.php that