How to display the custom content that I saved in ask form?
Hello, I created a new field in the existing Ask form to input some contents, but I don’t know how can I display those contents on the question page. Can you please help me with this?
Question is closed for new answers.
Rahul Aryan Selected answer as best
Hello,
If you have saved it to post meta then you can do something like:
add_action('ap_after_question_content', function() { echo get_post_meta( get_the_ID(), 'NAME_OF_YOUR_CUSTOM_META', true ); });
Please make sure to replace NAME_OF_YOUR_CUSTOM_META with your custom meta key.
Rahul Aryan Selected answer as best