I wanna pass $MyVal parameter to Details Page. When I clicked on title link it goes to Details page But I can't get the MyVal parameter value. Please help me. Im really Stuck here
<a href="<?php echo esc_url(get_permalink(get_page_by_title('Details'))) ?>/?MyVal=<?php echo $ID; ?>"><?php echo $print->title;?></a>