Skip to content
This repository has been archived by the owner on Mar 17, 2018. It is now read-only.

Overhaul to SMOF for WordPress 3.8 #392

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

atomicpages
Copy link

Hi all, some major changes have been done to SMOF to support WordPress 3.8. The admin panel is fully responsive (because it utilizes the same DOM structure and CSS selectors as other elements). CodeMirror was also added for syntax highlighting for things like custom css and other code.

Additionally, these other changes have been done:

  • Updated maskedInput
  • Updated iris js/css
  • Added CodeMirror 3.20
  • Added version numbers to URI string
  • Moved all scripts to the footer
  • Cleaned up trailing spaces in all files
  • Cleaned up code across SMOF so all code is consistent with each other
  • Converted admin-style.css to .scss format with compass
  • functions.options-sample.php file added
    • The behavior of this file identically matches wp-configsample.php. This allows users of SMOF to have a reference while creating their own function.options.php file

atomicpages and others added 7 commits August 22, 2013 12:32
Intermediate commit, still need to clean a few items up and test against
other browser and OS's
Added functions.options-sample.php to allow users to create their own
options file while still having a reference. Same behavior as
wp-config.php in WP root
Footer is now center aligned and the heading and version number are
side-by-side
Resolved minor styling issues for WP 3.8 such as input fields, select
wrapper styling, etc
CodeMirror 3.20 added for custom css, footer text, and google analytics.
See codemirror.md file for additional details
}
}
.group {
// display: none;
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This causes an issue with the animation but actually allows codemirror to function properly. Omitting this style directive will render codemirror unnoticeable until the user focuses on the codemirror object and begins to type.

User can create functions.php which allows them to actually update SMOF
without overriding their changes. If the file exists, then it is
required in functions.load.php
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant