Wordpress Archive and Singlepage Template

nero9111
3 Posts
nero9111 posted this 23 April 2016

hi there,

i want to create 2 custom templates for my custom post type named "training".
1. archive
2. single

Ive name the archive template "archive-training.php" and everything is fine. The list shows me all custom post types "training".
But if i create "single-training.php" each change to the single template also effects the archive template.

do you know what i mean? what am i doing wrong?
thx ia

daniel

hi there, i want to create 2 custom templates for my custom post type named "training". 1. archive 2. single Ive name the archive template "archive-training.php" and everything is fine. The list shows me all custom post types "training". But if i create "single-training.php" each change to the single template also effects the archive template. do you know what i mean? what am i doing wrong? thx ia daniel

Last edited 23 April 2016 by nero9111

Vote to pay developers attention to this features or issue.
3 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 23 April 2016

Hi,

I assume that you are changing something in the Posts control? In this case please open the Posts control options in the top ribbon and use the Customize Template styles option to edit the current template only. If that does not help, please attach your theme ad let us know what changes you are trying to apply.

Sincerely,
Hella

Hi, I assume that you are changing something in the Posts control? In this case please open the Posts control options in the top ribbon and use the Customize Template styles option to edit the current template only. If that does not help, please attach your theme ad let us know what changes you are trying to apply. Sincerely, Hella
nero9111
3 Posts
nero9111 posted this 24 April 2016

Thx. That fixes my issue.

Sincerely,
Daniel

Thx. That fixes my issue. Sincerely, Daniel
Support Team
Support Team posted this 25 April 2016

You are welcome. Feel free to contact us in any other occasion.

Sincerely,
Hella

You are welcome. Feel free to contact us in any other occasion. Sincerely, Hella
You must log in or register to leave comments