Skip to content

Releases: GaryJones/Gamajo-Template-Loader

1.3.1

24 Sep 10:27
Compare
Choose a tag to compare
  • Fix coding standards.

1.3.0

24 Mar 17:30
Compare
Choose a tag to compare
  • Add prefixed get_template_part filter.
  • Add a template cache to store previously located template paths.
  • Add a custom data variable name cache, so unset_template_data() can remove all custom references.
  • Update set_template_data() and unset_template_data() to become fluent methods.
  • Remove array type hint from set_template_data() argument.
  • Update documentation.

1.2.0

26 Mar 07:44
Compare
Choose a tag to compare
  • Support adding custom template data.
  • Add check around class definition if class exists.
  • Added composer.json.
  • Fix code standards.
  • Improve README.
  • Move example meal planner class into README.

1.1.0

08 Mar 21:21
Compare
Choose a tag to compare

Small bug fixes and improvements.

Thanks to @bradyvercher, @grappler and @wpsmith.

1.0.0

09 Dec 23:24
Compare
Choose a tag to compare

Initial release. Exists to be used verbatim within other plugins as a template loader, allowing template parts to be searched for in child theme, parent theme and finally the plugin itself (though this list is individually filterable per plugin).