No problem. Sorry we haven’t pushed the code yet. We’ve made vast improvements and I really want it perfect before it ships so it doesn’t break legacy code.
Ahh. That’s because you’re using the wordpress.org plugin and we haven’t updated to 3.2. That helper function was a new addition, but we keep making improvements to the code before the release. Hence, the error.
I’d suggest for Dev work on the code from the repo. We should have a release by next week alleviating all these concerns.
Ahh, you’re loading within a plugin. Be sure to run your plugin code AFTER the plugins_loaded hook. You’re plugin basically is sooner in the alphabet than Redux, and thus it is not loaded by the time you try to run your code. Just wrap your init() functions inside a plugins_loaded hook and it will all work.
P.S. Lead dev of Redux here.
This should work provided you set the opt_name to be $redux_frame.
I would, however, suggest that you use isset() to verify instead of just a blank question or your get warnings from PHP in dev mode.
Many of these questions can be answered on the Redux Issue Tracker https://github.com/ReduxFramework/redux-framework/issues or the Redux Documentation: http://docs.reduxframework.com.
Let me know if you need further help.
Or just use the generator, it’s free: http://generate.reduxframework.com/
It will spit out a customized underscores theme with Redux and TGM according to your settings.
Lead dev of Redux here again.
Yes, you can embed Redux without any concern.
To make your life much easier, why not use the new Redux Generator? http://generate.reduxframework.com
It will make a theme for you based on underscores and you can set your TGM settings accordingly. This is just something that will help you springboard into using Redux.
@parallelus indeed. Try to get past @kprovance’s sharpness to his feelings. He’s a solid dev who has put endless hours into Redux. He doesn’t want someone taking that work and saying it’s from them. I fear the overall intent of @splendous was misunderstood.
@splendous, I will answer each of your questions in turn. I think you’ll be shocked, heh.
1) That’s because dev_mode is on. Turn that argument off and there go the update suggestions. You never ship with dev_mode on. Also there’s an argument to turn off those alerts even with dev_mode on.
2) There’s a hook in the sample-config that shuts the demo alerts off. You may want to look over the sample a bit more, or read our documentation at http://docs.reduxframework.com/
3) Tracking is indeed built in, and we don’t hide that at all. It’s 100% anonymous and opt-in. What do we do with that data? Look here: http://reduxframework.com/statistics
This allows us to see the top themes/plugins that we have to make sure we’re compatible with. For example, someone reported a woocommerce bug. We knew that that was highly used so we put in a fix within an hour. It also lets us know WordPress versions, Languages, and soon PHP Versions. All of these items simply help us to debug.
The premium extensions is more of a service. Look here: http://reduxframework.com/statistics/?d=3a91ce2622596f6b4c67e27a4a2dc313. This is the view of the Redux statistics for Shoestrap (http://shoestrap.org), an open source theme. By buying premium support or the tracking service, we let you know what YOUR users are using.
4) Again, look above at my initial comment.
By “bringing 4 frameworks into one” I basically rewrite the majority of all the code. I kept the structure and added greatly to everything. I did this over the course of 8 months on my own. Donations don’t happen with open source, not really. Premium gives you a feature that saves you HOURS of time, and supports the project to keep it growing. I would argue that Redux can’t survive without it, because I can’t work for nearly a year without any compensation. It’s just a fact and ensures I can justify Redux expenses without taking away from my children.
I think that clears up most everything. Ask anything else, but perhaps our issue tracker or a Skype session would be more appropriate. You (or anyone) can Skype me directly: DovyDigital.
Thanks and I wish you the best with your themes.
Spoiler alert, Dovy Paukstys here, lead dev of Redux Framework 3.0.
One of the primary reasons for the beginning, and continuation of the Redux Framework was to bring the Wordpress Developer community together. Many frameworks have come and gone over the years, and even more have been abandoned. That’s why NHP, SMOF, SimpleOptions, and Redux 2.0 merged into one.
Now, why do we have premium extensions for Redux? To keep the project alive. No project that has the amount of effort we put into it can subsist without some form of steady income. So, what do we do with that money? Pay for code, sponsor WordCamps, pay community devs who put in a lot of time, and fund new and exciting projects. We haven’t made much, to be honest. I spent 8 months of work on it and grossed 300 dollars. These days, we’ve made a little more, but no where close to the profit of a low end theme. You won’t make money off a framework, not nearly enough to replace your day job.
If you believe I am wrong, then let’s look at some great frameworks sold on CodeCanyon. Acera made 88 sales, or $1200+. iPanel made 45 sales, or $690. I will say Redux isn’t far off from those. Most devs make a framework to advertise their product. They think it will improve brand. I would argue that it doesn’t do that often. We usually end up copying one another and I call that wasted effort.
When I say I don’t make money off of this, I’ll prove it. Someone came to me asking for a starter theme. They paid me a small sum. I liked the idea, and just created this: http://generator.reduxframework.com. It takes the _s boilerplate, renames all the functions and such to fit your needs, bakes in Redux and TGM in a fully featured boilerplate theme that you can start developing with right now. I’ve worked some 15+ hours on this project, and was only paid for 2 hours of work. Not exactly making a large sum here.
Another shout out. ThemeFusion, creators of Avada, decided to make Avada 4.0 Redux based. As a result they needed some extra features. Thus, Metaboxes and Font Control were born. They contributed to the development. Had they not, I couldn’t have justified the time. Yet they didn’t pay for all my time, not even close. But now the community has those features they can use too.
If you want to build your own extensions for Redux, look at Code Editor. It’s our first third-party developer extension. You CAN sell extensions in our marketplace (after an approval process). Now, we do keep a percentage in an effort to keep Redux alive. You can also overload any Redux field or extension, to alter the functionality of Redux without ever touching the core.
My goal is to have Redux cover every control aspect of WordPress. We’re working on a customizer integration that will truly differentiate. We’re here to stay, and the community gathering around us is amazing. If you want to see some stats, check our opt-in statistics updated weekly: http://reduxframework.com/statistics/
You can fork Redux, it’s within your right to do so. My question to you is, couldn’t we work together instead? Why redo the basics when they’re already there? Come up with a new idea, a new tool, and build it off of Redux. If you want an extension improved, do it! Let us know and we’ll see what we can do to help with the time you put in.
Redux is about community. You have a choice: do what you want, or work together with Team Redux to make something great, even greater.
Lead dev of Redux here. Our issue tracker is the best place to get this info. To get your data, use the global variable instead. Say your opt_name was opt_name, then you can just use $opt_name.
Easiest way is to use $GLOBALS[‘opt_name’].
Hop over to our issue tracker: https://github.com/ReduxFramework/ReduxFramework/issues
@phpbits Awesome. If you wouldn’t mind updating your first post with details so newcomers maybe are not confused I’d appreciate it. Again, sorry for our mistake.