Giter Site home page Giter Site logo

Comments (11)

kprovance avatar kprovance commented on August 16, 2024

They were removed from the lite version. Sorry.

from redux-framework-4.

STV11C avatar STV11C commented on August 16, 2024

from redux-framework-4.

kprovance avatar kprovance commented on August 16, 2024

That's how it's supposed to work. Metabox is per page/post/cpt. Option panel is global.

from redux-framework-4.

STV11C avatar STV11C commented on August 16, 2024

from redux-framework-4.

kprovance avatar kprovance commented on August 16, 2024

No screen shot came through. I don't know how you are coding the front end. Read this: https://docs.reduxframework.com/extensions/metaboxes. I know it's for the extension, but the same method for usage applies.

from redux-framework-4.

STV11C avatar STV11C commented on August 16, 2024

from redux-framework-4.

kprovance avatar kprovance commented on August 16, 2024

See the docs page I sent you. I have no idea how you are coding the front end. You have to use the redux_post_meta function.

from redux-framework-4.

STV11C avatar STV11C commented on August 16, 2024

I'm simply echoing the same value in two places in my template: E.g.
echo 'Show Hero Value in Header: ' . $gutenize_theme_options['opt-hero-page'];
and
echo 'Show Hero Value in Page: ' . $gutenize_theme_options['opt-hero-page'];

I've read the docs page and will explore the redux_post_meta function. Cheers.

from redux-framework-4.

kprovance avatar kprovance commented on August 16, 2024

Correct, this is because that array holds your global options. The only way to access the option from the metaboxes is via the redux_post_meta function. It looks first for the saved data from the page/post. If it does not find it, it loads the default argument (don't set one to draw from the global option panel) and then from the global option panel (provided the IDs are the same). It was written that way so the dev would not have to if/then iwth get_post_meta and then the option panel array. Our function takes care of all of that. Just pass in the opt_name, post_id and the id.

from redux-framework-4.

kprovance avatar kprovance commented on August 16, 2024

The full docs for v4 aren't finished yet...otherwise this information would have been more easily accessible. Dovy's working on them this week, but again, the docs for the extension apply for data retrieval.

from redux-framework-4.

STV11C avatar STV11C commented on August 16, 2024

Thanks for the extra info Kevin :)
Just one more thing in case I didn't articulate it well - the values in my screenshot are not the global ones but from my actual page override. So the metabox lite values are working.

from redux-framework-4.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.