Jonnyauk/Wonderflux

Extend wfx_get_template_part() for archive check

Closed this issue · 2 comments

It would be useful to allow an additional file check in the cascade of files that are looked for 'archive' (it would be the last one before generic file use). For example loop-content-archive.php which could be used across:

  • Category archive
  • Taxonomy archive
  • Tag archive
  • Date archive
  • Post type archive
  • Search archive

Complete - see bbe3970 and e6ea9ce

I didn't include search archive in the end as it's nice to have something a bit smarter for search loop content.