How to Access Field from Custom Taxonomy
-
I have a custom taxonomy (sermon-series).
I’ve created taxonomy-sermon-series.php to replace the archive.php file for this taxonomy.
The archive returns a list of the sermons within a sermons-series.
The sermon-series has a field for the sermon-series-image.
I want to use the sermon-series at the top of the archive, but am unsure how to access it.
I see:
the_archive_title()
the_archive_description()But neither of these let me access the sermon-series-image, I’m thinking I need something like this:
$sermon-series-image = sermon-series->sermon-series-image;
Any ideas?
Thanks,
Dave
- The topic ‘How to Access Field from Custom Taxonomy’ is closed to new replies.