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.

    Thanks!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.