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 built-in taxonomy 'post_tag'.
1
vote
1
answer
36
views
Setting a value on existing tag metadata field when that tag was just created by a user
I have extra metadata (true/false) for taxonomy terms. What I'm trying to accomplish is give this field a value for new terms created by users (it doesn't matter if that value is true or false, just m …
0
votes
1
answer
390
views
"If an object equals a term id then return the term name"
I hope this is alright to ask about on here, and I'm going to phrase it from a pure WordPress perspective, my dear forum moderators. I've previously asked the author. Plus I think it's a good, unique …
0
votes
Accepted
"If an object equals a term id then return the term name"
Great googly moogly, I figured this one out.
$values = get_post_meta( get_the_ID(), 'your_meta_whatever', true );
foreach ($values as $value)
{$term = get_term_by('term_id', $value, 'your taxono …