SHOW:
|
|
- or go back to the newest paste.
| 1 | add_action('get_footer', 'please_help');
| |
| 2 | ||
| 3 | function please_help () {
| |
| 4 | global $wp_query; | |
| 5 | ||
| 6 | $post_count = count($wp_query->posts); | |
| 7 | $is_404 = (is_404() == TRUE ? 'true' : 'false'); | |
| 8 | ||
| 9 | - | echo "<pre> |
| 9 | + | echo "<!-- |
| 10 | Post count: $post_count | |
| 11 | is_404(): $is_404 | |
| 12 | - | </pre>"; |
| 12 | + | -->"; |
| 13 | } |