I’m trying to blend AnsPress in my new theme as much as possible and in order to do that I’m trying to move the question metas (views, date, category, subscribe button) inside my header. I tried to call the function:
<?php echo ap_question_metas(); ?>
It’s displaying the metas where I want but they have some issues (views and subscribe button counters not reflecting the right amount, no category,…). I have the feeling that I’m calling the function outside of AnsPress “main part” and so it doesn’t relate to anything.
Any idea why and how I can fix this?
Thanks in advance! 😀