Class names are constructed using the following method:
class.OpusPrimus<MajorFocus>.php with the following as an example of the theme’s posts class:
A class instance variable would use the following naming convention:
$opus_<major_focus>; and the following instance variable name would be used for the posts class:
An example of calling an instance and one of its methods would look something like this:
global $opus_posts; $opus_posts->post_title();
All Opus Primus classes may be found in the includes folder of the theme; also, for consistency, the naming convention are meant to be case sensitive.
All classes associated with a Stanza (theme specific extension) will be found within the Stanza’s folder structure; and, will follow the same naming conventions as Opus Primus itself.