WordPress.org

Support

Support » Plugins and Hacks » Smart Archives Reloaded » [Resolved] Custom templates?

[Resolved] Custom templates?

Viewing 1 replies (of 1 total)
  • 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 ‘[Resolved] Custom templates?’ is closed to new replies.
Skip to toolbar