Custom Fields
Re-Envisioned
Support MB Term Meta How to Include MB Term Meta Plugin In Themes

This topic contains 5 replies, has 2 voices, and was last updated by  iplaywind 2 years, 10 months ago.

  • Creator
    Topic
  • #3197
    Resolved
    iplaywind
    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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Author
    Replies
  • #3199

    iplaywind
    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 Tran
    Keymaster

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

    #3245

    iplaywind
    Participant

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

    #3246

    Anh 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

    iplaywind
    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 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.