‘php if (is_404()) { ‘ question: don’t work
-
Hi there,
Hi,Just had a lenghty chat on the WP IRC about this an d we didn’t come to any conclusions.
I am using this ‘<?php if (is_404()) { ?>’ to pull in a sidebar specific to my 404.php page but it does not pull the correct sidebar. Instead it pulls my ‘<?php if (is_single()) { ?>’ sidebar instead.
Is there a problem with WP that currently not allow 404.php to use that coding?
This is my complete sidebar.php: https://phpfi.com/62879
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘‘php if (is_404()) { ‘ question: don’t work’ is closed to new replies.