Ten-321 Framework

Just another Ten-321 Enterprises site

Starting Documentation

Posted on by

After neglecting the documentation since the beginning of this project, I’ve started very slowly documenting the various files, filters and actions included in this theme. Eventually, I’ll also get around to documenting the custom functions, too; but I’m starting with the actions and filters. Hopefully I’ll eventually get everything documented so that people might actually be able to use this theme.

Posted in: News


Posted on by

The ten321-footer-text filter is applied to the footer text before it is output to the screen.

This filter receives one parameter: the text that should be output in the footer. Currently, the default footer text is set to:

<summary>&copy; ' . ( ( 2011 != date("Y") ? '2011-' : '' ) ) . date("Y") . '</summary>
<p>This theme is based on the Ten-321 Framework, which was developed by <a href="http://ten-321.com/">Ten-321 Enterprises</a>.</p>

However, that is configurable through the Theme Options. Then, either the default text or the text you configured in the Theme Options is run through the ten321-footer-text filter.

Posted in: Filters


Posted on by

The ten-321-before-footer action is called from the footer.php file, and runs after the footer navigation menu (nav-footer.php) and the above-footer sidebar (sidebar-above-footer.php) have been included. The action occurs before the opening <footer> tag.

This action does not send any parameters.

Posted in: Actions

The Ten-321 Framework Initial Beta

Posted on by

After developing quite a few custom themes for WordPress, either by hacking bits and pieces of the current WordPress default theme or by building one from scratch, I began to recognize functions and features that I was constantly rewriting for each client. Finally, I decided that it was time to begin working from a single parent theme (sometimes referred to as a framework; although traditional frameworks are generally slightly more involved and are actually included as libraries in themes, a parent theme in WordPress does offer a framework of sorts from which to work). Read more…

Posted in: News