Fetching specific values for meta data…
-
Site: we-rate-stuff.com
I’m trying to use WordPress’s custom fields to inject a score onto post reviews. This is how I want it to work:
1. Select key/name “Score” in the custom fields section
2. Input numerical score ranging from 1 to 7
3. On individual post page, a custom image (1 of 7) will be display depending on the meta data value (1 through 7)Right now I’ve deduced how to retrieve the post’s meta data insofar as displaying the same static image so long as there is a “Score” attached to the post, but I can’t figure out how to retrieve the meta data value and have a custom image injected as a result.
Any help/advice/fingers in the right direction would be hugely appreciated.
- The topic ‘Fetching specific values for meta data…’ is closed to new replies.