paulgibbs / achievements

Achievements gamifies your WordPress site with challenges, badges, and points.
http://achievementsapp.com
63 stars 9 forks source link

Page template override #63

Closed modemlooper closed 11 years ago

modemlooper commented 11 years ago

Maybe I'm not doing it right, when including archive-achievements.php in active theme folder it should use this as the page template but I can't seem to get it to use this file.

paulgibbs commented 11 years ago

This works for me. Creating content-archive-achievement.php in the root theme directory, or in e.g. /twentyten/achievements/content-archive-achievement.php overrides the theme compat template for the directory template, as it should.

If you mean you want to override which template Achievements injects its theme compat templates into, take a look at dpa_get_theme_compat_templates().