Forums

Category Meta plugin
[resolved] 3.0 Problem resolved (2 posts)

  1. rsm08
    Member
    Posted 1 year ago #

    The reason it wasn't working was a typo and the use of a $category global in the edit post UI which has no value.

    TYPO:
    wp-category-meta.php, line 461:
    Missing $ before metaList var

    MISSING GLOBAL:
    wp-category-meta.php, line ca. 442
    function wptm_add_meta_textinput():
    Replace "global $category" with "$category_id = (int) $_GET['tag_ID'];" and comment out all the following lines that puts $category into $category_id.

    It then works. However the meta input field is displayed 2 times on the edit post page. Only changes in the lower field will work.

    For me it's no beauty contest, so I don't have time to fix this duplicate field problem right now. It seems to work if only the lower field is used.

    Hope that plugin creator or others can use these tips! :)

    http://wordpress.org/extend/plugins/wp-category-meta/

  2. elebail
    Member
    Posted 1 year ago #

    Hello,

    Thank you for your inputs.
    I fixed the problem and made a new version.

    Regards,
    Eric Le Bail

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic