Support » Plugin: Smart Archives Reloaded » Custom templates?

Viewing 1 replies (of 1 total)
  • TJ Kelly


    After enough digging, I found this line in generator.php:

    $template_path = locate_template( 'sar-templates/' . $file );

    I had to google wordpress’ “locate_template()” function, but I discovered that the above line tells the generator to look for a folder called “sar-templates” in my theme directory. If it doesn’t find that folder, it uses its own templates.

    But, if it DOES find an sar-templates folder in my theme directory, it uses those templates instead of its own!

    Exactly what I needed. Thanks…for reading, I guess?

Viewing 1 replies (of 1 total)
  • The topic ‘Custom templates?’ is closed to new replies.