• Good day.
    For a CPT using the Custom Post Type Permalinks plugin
    form a link of the form:
    /cpt-name/%year%/%monthnum%/%post_id%/
    To write single.php works fine.
    And here archive.php for links:
    /cpt-name/%year%/%monthnum%/
    /cpt-name/%year%/
    not working.
    Tell me how to connect this file to the above links.
    Thank you in advance.

Viewing 1 replies (of 1 total)
  • date archive URL is

    > /cpt-name/date/%year%/%monthnum%/
    > /cpt-name/date/%year%/

    if /date/ does not exist,

    > /cpt-name/2019/09/10/

    it cannot be determined whether the last 10 is post_id or day.

Viewing 1 replies (of 1 total)
  • The topic ‘Does not process the archive file.php’ is closed to new replies.