Meta boxes
-
Hello, how can I create metaboxes for posts and pages. Do you have any documentation on how to create it. Thank you
-
Hi, here’s a link for the Metaboxes documentation.
https://devs.redux.io/core-extensions/metaboxes.htmlAdditionally, there is sample code for metaboxes in the “sample” folder.
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 youIt’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.
Also, please download and install this beta version, version 4.3.11.3 (https://github.com/reduxframework/redux-framework).
Yes, thank you
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 youI’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
Also, are you embedding Redux into your theme?
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 youI’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_extensionsAPI. That is only required if you are writing your own extensions.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
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.
yes i already have the global options panel , next i can make the meta box
Use the sample file provided and change them as you need.
The topic ‘Meta boxes’ is closed to new replies.