Support » Plugin: Custom Post Type Date Archives » Index.php isn’t being used

  • Hi there,

    First of all great plugin, nice work!

    I just wanted to let you know of a small issue. If a theme doesn’t have the archive.php file (this file is optional) the plugin should be looking for the index.php file but it’s not.

    Any chance you can update the cptda_date_template_include function in install.php to include get_index_template in the templates array?

    Additionally the cptda_date_template_include only gets fired if a template is found. This is an issue if someone wants to define a custom file for their archives. It would be best if the filter was always available.


Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Index.php isn’t being used’ is closed to new replies.