• Resolved vigortheme

    (@vigortheme)


    Hello, how can I create metaboxes for posts and pages. Do you have any documentation on how to create it. Thank you

Viewing 15 replies - 1 through 15 (of 18 total)
  • Hi, here’s a link for the Metaboxes documentation.
    https://devs.redux.io/core-extensions/metaboxes.html

    Plugin Author Kev Provance

    (@kprovance)

    Additionally, there is sample code for metaboxes in the “sample” folder.

    Thread Starter vigortheme

    (@vigortheme)

    Hello, I got the below error when updating to the latest plugin version, how should I handle it. Here is the full error display: _field_input is deprecated since version 4.0.0! Use render_class->field_input( $field, $value ) instead.
    Thank you

    Plugin Author Kev Provance

    (@kprovance)

    It’s more a warning than an error. There are no calls in the Redux plugin (as of 4.3.10) that use that deprecated function. Please look in your errors logs to determine the name of the file and the line number and paste those back.

    Plugin Author Kev Provance

    (@kprovance)

    Also, please download and install this beta version, version 4.3.11.3 (https://github.com/reduxframework/redux-framework).

    Thread Starter vigortheme

    (@vigortheme)

    Yes, thank you

    Thread Starter vigortheme

    (@vigortheme)

    i need to create a new extension, i put my_extension template folder from below source https://github.com/reduxframework/redux-framework/tree/master/sample/extension/my_extension into my theme. And then I put the following code in the theme function file: Redux::load_extensions( ‘OPT_NAME’, ‘RELATIVE_PATH_TO_DIRECTORY’ );
    It’s not working, can you tell me where is my doing wrong? where and how do i put these metabox snippets to make them work https://github.com/reduxframework/redux-framework/blob/master/sample/metaboxes.php
    Thank you

    Plugin Author Kev Provance

    (@kprovance)

    I’m not understanding how a custom extension you want to write involved the metabox samples. They cannot be combined. I’m not sure how they are related.

    > And then I put the following code in the theme function file: Redux::load_extensions( ‘OPT_NAME’, ‘RELATIVE_PATH_TO_DIRECTORY’ );

    You have to replace the parameters with YOUR actual $opt_name variables and the relative path. Writing a theme, much less a custom extension for Redux requires more than a basic understanding of PHP, JavaScript, and CSS

    Plugin Author Kev Provance

    (@kprovance)

    Also, are you embedding Redux into your theme?

    Thread Starter vigortheme

    (@vigortheme)

    my main purpose for this topic is to create a metaboxes for settings for page, post,… Do you give us the documentation, in which there is only a sample code, I followed the instructions but it doesn’t work motion. Can you explain the problem more clearly?
    Thank you

    Plugin Author Kev Provance

    (@kprovance)

    I’m not sure how to make it clearer than the docs page short of writing for you, which the scope of support we offer does not cover. If you load up the Redux demo panel, you’ll see how Metaboxes works on pages and posts.

    In the admin panel, click Settings > Redux and click “Enable Demo Panel”

    Also, Redux is not a metabox only plugin. You also need to have a global options panel.

    Lastly, metaboxes is now included with Redux. It is no longer an extension. Therefore, you do not need to use the Redux::load_extensions API. That is only required if you are writing your own extensions.

    Thread Starter vigortheme

    (@vigortheme)

    You are showing me how to create a generic theme options. Yes I had it. As I mentioned above I need to create setting options for post or page only

    Plugin Author Kev Provance

    (@kprovance)

    As I said, Redux is not a tool to create ONLY metaboxes. If you have no global options panel, you won’t be able to use Redux for just meta boxes.

    Thread Starter vigortheme

    (@vigortheme)

    yes i already have the global options panel , next i can make the meta box

    Plugin Author Kev Provance

    (@kprovance)

    Use the sample file provided and change them as you need.

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Meta boxes’ is closed to new replies.