从$ _GET [‘id’]中检索发布的ID,并将其添加到路径中。
$template_part_path = 'page/tab' . $_GET['id'];<?php get_template_part($template_part_path); ?>

从$ _GET [‘id’]中检索发布的ID,并将其添加到路径中。
$template_part_path = 'page/tab' . $_GET['id'];<?php get_template_part($template_part_path); ?>