Loading custom post types in two different places
-
Hi everyone,
I am building a template in which custom post types must be loaded in two different templates.
You have two different menu items : NEWS / VIDEOS / PRINT.
Each month, the administrator will upload new projects in ‘NEWS’. Theses projects will also be found in the two categories ‘VIDEOS’ and ‘PRINT’.
Until now, I have built everything. The only problem remaining is : when you are in ‘NEWS’, you click for example on ‘OCTOBER 2014’, you have the list of projects (videos and/or prints). Then, if you click on the project, the present template system send the user onsingle.php
, which means, you go out of the ‘NEWS’ menu to go to ‘VIDEOS’, which is normal, because I am usingthe_permalink();
, but not good, as I am looking for staying in the same menu.
Anyone has an idea?
Thanks in advance.
- The topic ‘Loading custom post types in two different places’ is closed to new replies.