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 |
The core of the WordPress query, the loop offers an easy way to access post information and display it on your website.
0
votes
1
answer
489
views
Looping Through Categories of a CPT
What am I doing wrong in my loop? … What I Have Working
Category tabs appear when new categories are created
What is Not Working
The posts aren't appearing in the tabbed content area
How do you get the loop to filter the 'all' category …
1
vote
2
answers
180
views
If Specific Post, Link Elsewhere
I would like to create a conditional statement that checks the loop for a specific post ID, then if true, it outputs a link elsewhere.
This is what I have so far:
<? …
0
votes
If Specific Post, Link Elsewhere
@toscho was correct.
I replaced this:
<?php if ( is_singular( '2295' ) ) : ?>
With this:
<?php if ( 2295 === get_the_ID() ) : ?>