We're using custom fields to send data onto the required php template pages. Anyways all is working fine. We are using revolution slider for the slider and showing slider aliases as options in the custom field to pick when we're editing posts, events, pages etc..
The slider choice they're picking is then sent to the header, where we are loading the revolution slider shortcode. Its a quire simple mechanism.
However, the slider short code custom field is sending its value from ALL pages, posts except for the the event-categories. its a custom taxonomy.
in the header.php of the theme, I have a variable that gets the custom field's choice value using the following function:
get_post_meta( get_the_ID(), 'mycustomfield', true );
I'm assuming that its getting the meta from posts, pages and everywhere else except for the taxonomy term.I'm guessing i will have to create a new variable and use a different expression to get the custom field's data. So can you help me with this please?
Any help is highly appreciated.
Thanks!