I’ve a customized put up sort registered with register_post_type( 'programs', $args );
(like documentation), and I exploit template archive-courses.php
for web page www.instance.com/programs
. I am utilizing this archive to point out default view, with some question string filters, with pagination, and default structure.
Now I want one other web page with identical funcionalities of file archive-courses.php
has, like paginations, question string and extra.
I want use two URLs simultaneosly like www.instance.com/programs
and www.instance.com/calendar
. This second web page want use identical registered programs of put up sort /programs
, however with totally different archive web page. The thought is use differents filters for this web page with totally different structure, however with all functionalities which might be avaliable for archives
templates.
The query:
- Is feasible register two archive template for identical customized put up sort, however with totally different URLs?
- If not (1), is feasible publish one default web page and trough some
add_filter
/add_action
load functionalities o archive template (like pagination, question strings)? - If not for all, has some suggestion to do that?
Thanks.