Hi, maybe someone here knows, is there a way to display both pagination arrows? One can be inactive if it’s the first or last page.
Hi, thank’s for the sippet it will be useful later, but I was talking about the arrows below the post list (pagination element) any ideas on how to show both arrows on the first/last page?
To show both arrows you’d have to build you own pagination (link is a good guide on how)… then arrows with conditional display based on get_adjacent_post(); - that show if no post (your disabled arrows) - and hides if there’s a next/prev post (so default arrows take over).
WP itself has no good method for this, so it has to be custom.