Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed dependency on options.php #78

Merged
merged 6 commits into from
Jan 1, 2012
Merged

Commits on Nov 1, 2011

  1. Added more flexibility in setting options

    Now there are three ways to set options framework options:
    
      1. The old optionsframework_options() method
      2. Returning an array() in options.php
      3. Adding a filter on 'of_options'
    
    The advantage of devinsays#3 is that this provides more granular control
    over options.  For example, a child theme could add its own options
    in addition to the parent theme's options using this method.  It
    also means that options can be set anywhere in your project--the
    options.php file isn't necessarily required (well, it still needs
    to be there for optionsframework_option_name(), but I plan to
    change that, too, soon).
    inxilpro committed Nov 1, 2011
    Configuration menu
    Copy the full SHA
    edb3623 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2011

  1. Bug fixes

    There were a few bugs with the new _optionsframework_options() method
    that I've now fixed.  Everything should work well, now.
    inxilpro committed Nov 2, 2011
    Configuration menu
    Copy the full SHA
    ed6232e View commit details
    Browse the repository at this point in the history
  2. Removed dependency on options.php

    You can now use the Options Framework without the options.php file.
    This flexibility is particularly useful in object oriented themes
    where global functions are frowned upon.  Both the options and the
    options name can be set via filters or actions.
    inxilpro committed Nov 2, 2011
    Configuration menu
    Copy the full SHA
    bf13987 View commit details
    Browse the repository at this point in the history
  3. Added a default option name

    If no option name is set by the current theme, Options Framework chooses
    the name "optionsframework_{theme_slug}"
    
    Also fixed some minor code formatting inconsistencies (to better match
    the Wordpress coding standards)
    inxilpro committed Nov 2, 2011
    Configuration menu
    Copy the full SHA
    fb3d6c8 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e0e6eb8 View commit details
    Browse the repository at this point in the history

Commits on Dec 13, 2011

  1. Fixed issue where "Theme Options" menu was showing in admin bar even …

    …if there were no options for that theme.
    inxilpro committed Dec 13, 2011
    Configuration menu
    Copy the full SHA
    8e87120 View commit details
    Browse the repository at this point in the history