Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
functions that return a single boolean value depending on what is currently being viewed
-1
votes
Accepted
Additional conditions tags to work
if(strpos($_SERVER['REQUEST_URI'], '/account/') === FALSE AND strpos($_SERVER['REQUEST_URI'], '/wp-admin/') === FALSE AND ! is_user_logged_in() === FALSE) {
0
votes
2
answers
37
views
Additional conditions tags to work
Im trying to get this simple condition tag to work . Im having no luck
// If we are logged in, and NOT an admin and NOT on specific page...
if ( is_user_logged_in() & !is_admin() ) & !is_page('accoun …