Ajax tabs (wordpress)

后端 未结 1 799
伪装坚强ぢ
伪装坚强ぢ 2021-01-07 15:39

So, I am very new at Ajax and after reading some online tutorial, below is what I have understood. Please correct me if I am wrong.

Current Situation:

1条回答
  •  萌比男神i
    2021-01-07 16:23

    Retrieve the posted ID from $_GET['id'] and add it to the path.

    $template_part_path = 'page/tab' . $_GET['id'];
     
    

    0 讨论(0)
提交回复
热议问题