How i can create link href between two template have the same custom post type

Question

I have custom post type "episodes" i create template for this custom post type "single-episodes" when get template from "inc/episodios.php" like this …

get_header();
// Get template part
get_template_part('inc/episodios');
get_footer();

After that duplicate "episidios.php" and rename "episodios-see.php" with some modifications ..both templates have the same custom post type "episodes" i want create link from episidios.php to episodios-see.php for exemple like this

<a href="link to episodios-see.php" class="myButton"> watch episodes </a>

How can I do this

0
Fabregas Cesc 8 months 2020-11-29T12:10:20-05:00 0 Answers 17 views 0

Leave an answer

Browse
Browse