Help with code
-
I have used WordPress for many years but have yet to code anything myself, so this is very new to me:
I have created a custom post type ‘Stories’.
I have also created two new custom taxonomies, ‘Genre’ [slug ‘genre’] and ‘Period’ [slug ‘period’]
Under the custom post type ‘Stories’ I have enabled Connections to the two new taxonomies.I have written my first article using the custom post type ‘Stories’, and I have clicked and selected this articles specific Genre (which is Horror) and specific Period (which is 1800-1810).
Now what I don’t understand is how to show those two selections on the front-page of my new article.
How do I, just below the article’s title, show a box containing something like this:GENRE: Horror
PERIOD: 1800-1810I have of course read through the Documentation about Templates, Magic Tags, etc., but I find it hard to understand. Is it possible to get help with the code to use to show an article’s genre and period under the title?
Carsten.
- The topic ‘Help with code’ is closed to new replies.