How to Include MB Term Meta Plugin In Themes

Support MB Term Meta How to Include MB Term Meta Plugin In ThemesResolved

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #3197
    iplaywindiplaywind
    Participant

    Hi, I want to Include MB Term Meta in themes as following steps
    1,Copy the plugin folder "mb-term-meta" to theme /
    2,Include the plugin's main file by putting the following line into the functions.php file.

    require_once get_template_directory() . '/mb-term-meta/inc/term-meta-box.php';
    require_once get_template_directory() . '/mb-term-meta/inc/inc.php';
    require_once get_template_directory() . '/mb-term-meta/options.php';//filed 

    but the field do not display in categoty page.
    Could you help me, or provide some example?
    Thanks.

    #3199
    iplaywindiplaywind
    Participant

    Does the MB Team Meta compatible with lastest WordPress 4.5.2? I use it as a plugin, and there is a error as follow:
    Warning: Invalid argument supplied for foreach() in E:\xampp\htdocs\000OPTION\wp-content\plugins\mb-term-meta\inc\init.php on line 20

    #3243
    Anh TranAnh Tran
    Keymaster

    Hi @iplaywind, I've just updated the extension to make it safe to be included inside themes. Please update it.

    #3245
    iplaywindiplaywind
    Participant

    Hi, could you provide a instruction about how to include MB Term Meta In Themes?

    #3246
    Anh TranAnh Tran
    Keymaster

    Please follow these steps:

    1. Download the .zip file (please redownload again as I've just updated it)
    2. Unzip it, you will get a folder mb-term-meta
    3. Copy mb-term-meta folder to your theme
    4. Open functions.php file of your theme and include the plugin's main file:

    include 'mb-term-meta/mb-term-meta.php';

    #3247
    iplaywindiplaywind
    Participant

    thanks, I have include MB Term Meta In Themes success. Another Bug, when I add both clone text and post field, normally, the delete button is at the right top corner of text field. But if the length of post title is very long, the delete button moved to right, at the same column of the end of post field. this only effect the looks.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.