[Plugin: Category Meta plugin] 3.0 Problem resolved
-
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 varMISSING 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! ??
https://www.ads-software.com/extend/plugins/wp-category-meta/
- The topic ‘[Plugin: Category Meta plugin] 3.0 Problem resolved’ is closed to new replies.