Home get a post based on another post in wordpress

# get a post based on another post in wordpress

Neeraj Verma
1#
Neeraj Verma Published in 2018-01-13 02:59:00Z
 I am trying to create game in which one Question post should Map to one answer post in same category . I have created a html5 table and tried to bind question post and answer post in data-question and data-answer attribute 
8, 'category_name' => $category-name);$myposts = get_posts( \$args ); ?> name ?>
 how can I bind data-answer to a related answer post ? Any alternate logic I can apply ?
 I am stuck at here 
 You need to login account before you can post.
Processed in 0.336254 second(s) , Gzip On .