Closed teamcrisis closed 11 years ago
@teamcrisis You're right. I've been totally restructuring Simple Options.
I'm glad to say that with 80+ options for a theme the database calls have been reduced from 555 to 20! Expect MASSIVE speed improvements and an update readme later today.
@teamcrisis Try the new plugin out. You'll be pleased.
Reduced DB calls from 555 to 20 for a 80-field theme.
Also added back in the readme. Demo site will be working shortly.
@dovy. Just tested the embed option.
A few observations:
#Grab the latest release from here: https://github.com/SimpleRain/SimpleOptions/releases
#Store in a folder of your choosing. Let's say, simple-options
#Include class-simple-options.php and options-init.php in your functions.php file, like so:
require_once ('/simple-options/class-simple-options.php');
require_once ('/simple-options/options-init.php');
31 queries in 2.737 seconds
at the bottom of SOF. Are you seeing similar numbers? I think this load time is about the same as I saw with the prior version. I still think it's related to the load performance of typography.Good call. I'll make the changes tomorrow or you could submit a pull request. ;)
The initial load will be around 31 queries. Subsequent should be around 20.
The wiki page is up to date minus the way in which Simple Options is initialized and I really simplified the hooks.
So this release went beyond SMOF and NHP. Here are some of the things I did:
My main motivation was to make sure the plugin followed standards. I also needed to be able to load sections in different functions and files and have the object add to the sections before loading HTML or anything.
Namely, it's closer to release than its ever been. I'll update all the wikis thus week.
I've almost got a demo site up that functions. Admin panel and all.
Excellent. I'll do some testing today and tomorrow. Looking forward to a stable 1.0 release so I can think about using this in production.
This week it will be 1.0. The last release was the last big change. From here on out it's fields and a few bugs.
README.md that had setup instructions is missing