Getting Started Questions..
- This topic has 3 replies, 2 voices, and was last updated 8 years, 11 months ago by
Anh Tran.
-
AuthorPosts
-
May 2, 2016 at 7:25 AM #2977
melfisher
ParticipantHi,
Just purchased the Bundle Yesterday. I am NOT a developer but work some with a plguin called toolset which allows for creating custom post types etc..
Ques 1: Below is how I setup the plugin... is this the best way?
step 1:Copy the plugin folder meta-box to your theme. It doesn’t matter if you put it in the theme root folder or in a subfolder.
step 2: Include the plugin’s main file by putting the following line into the functions.php of your theme or your plugin’s file:
require get_template_directory() . '/meta-box/meta-box.php'; // Path to the plugin's main file
I did both steps things are fine, BUT I noticed that step 1 does NOT WORK if I copy the meta-box folder to the child theme? This is not good practice it will go away when I update the theme!
step 3: install core plugin and activated as usual
Ques 2: I created a simple form with the builder and it shows up when I create a page.. when I view the page only the the title and content show up??? Not the metabox??
What I thought Metabox will do for me is create custom post types, taxonogy, etc. and display it!
using a shortcode.If I missed something in the docs please show me.
Thank You
MelMay 2, 2016 at 11:40 PM #2985Anh Tran
KeymasterHi @melfisher,
Question 1:
Can you please give me more info about:
- Do you put the Meta Box plugin into a child theme? Or in a parent theme?
- Where do you put the code to register meta boxes?Basically, if you put the Meta Box plugin into a theme (no matter a parent theme or child theme), you will lose it when the theme is updated.
So, my advice is installing the plugin as a normal WordPress plugin to get updates for both themes and plugins correctly.
Question 2:
The builder extension doesn't show the meta value in the frontend automatically. Neither do other extensions or the Meta Box plugin. You have to do that manually.
There are 2 ways to do that:
- Using
rwmb_meta()
helper function as instructed here, but this is more technical and might not suitable to you.
- Using[rwmb_meta]
shortcode. You can put the shortcode into the post content at the place you want to show the meta value. Please follow this documentation to know how to do it.May 7, 2016 at 5:14 AM #3015melfisher
ParticipantHi again,
Thank you for the fast reply... I sent this response to the wrong place a few days so so that's why its a late reply from me.
After working with your plugin I think it is to technical to implement the way I need. It is also very similar to a product called Toolset which deals with custom post types but only required a limited html to implement and is very well documented.
I would like to request a refund please....
My only suggestion is to make the documentation more clear for getting started.
Thank You
MelMay 8, 2016 at 4:57 PM #3023Anh Tran
KeymasterHi Mel,
As you already worked with Toolset, bought the Core Extensions Bundle and asked questions for using the Meta Box plugin (the free plugin, not the premium extensions), please let me help you using them effectively. Don't hesitate to ask me anything about them, even the simple questions, we'll try our best to help you.
-
AuthorPosts
- The topic ‘Getting Started Questions..’ is closed to new replies.