<?php wp_link_pages(); ?> bug in all themes
-
here is the problem: while using <!-nextpage-> tag within a post a€“ it divides into several pages (Page: 1 2 3 4 etc), this effect is acquired by using <?php wp_link_pages(); ?> function. (E.g. – https://playwith.wpthemes.info/posts/2005/02/24/something-to-test/2/ )
But if you manually enter a page number that does not exist, say https://playwith.wpthemes.info/posts/2005/02/24/something-to-test/548548584758486/ it still shows the posta€?s title but not the <?php else : ?> 404 message. And that is the problem with all wp theme I know of.
Any advice on how to fix it? I know it should be an addition to the <?php else : ?> sql function but Im not a PHP guru to handle it by myself.
Thx
- The topic ‘<?php wp_link_pages(); ?> bug in all themes’ is closed to new replies.