Title: What does this code mean?
Last modified: August 31, 2016

---

# What does this code mean?

 *  Resolved [gulliver](https://wordpress.org/support/users/gulliver/)
 * (@gulliver)
 * [10 years ago](https://wordpress.org/support/topic/what-does-this-code-mean-4/)
 * What does if ‘&& ! is_404()’ mean in the context of:
 *     ```
       if ( ( $paged >= 2 || $page >= 2 ) && ! is_404() )
       ```
   

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Moderator [keesiemeijer](https://wordpress.org/support/users/keesiemeijer/)
 * (@keesiemeijer)
 * [10 years ago](https://wordpress.org/support/topic/what-does-this-code-mean-4/#post-7409918)
 * the `!` means IS NOT, and && means AND
    [https://secure.php.net/manual/en/language.operators.logical.php](https://secure.php.net/manual/en/language.operators.logical.php)
 * So the first conditional (between Round round brackets) is
    if `( $paged >= 2`
   OR `$page >= 2 )` And the second is `AND IS NOT is_404()`
 * It checks if the $paged or $page variables are greater or equal to two, and if
   it’s not a 404 page. The whole conditional will always return false on 404 pages
   regardless of the first condition.
 *  Thread Starter [gulliver](https://wordpress.org/support/users/gulliver/)
 * (@gulliver)
 * [10 years ago](https://wordpress.org/support/topic/what-does-this-code-mean-4/#post-7409926)
 * Thanks. Appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘What does this code mean?’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [gulliver](https://wordpress.org/support/users/gulliver/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/what-does-this-code-mean-4/#post-7409926)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
