Support for terms
-
Is there any posibility to change or add support with filter, to change method is_new_or_edit_post_screen in products/photocrati_nextgen/modules/attach_to_post/module.attach_to_post.php to add support for terms and taxonomies?
For example
From:function is_new_or_edit_post_screen() { return preg_match("/\/wp-admin\/(post|post-new)\.php$/", $_SERVER['SCRIPT_NAME']); }
To:
function is_new_or_edit_post_screen() { return preg_match("/\/wp-admin\/(post|post-new|edit-tags|term)\.php$/", $_SERVER['SCRIPT_NAME']); }
When I use YOAST, it makes term description with TinyMCE, so I see buttons to add Gallery, but if I click on button, there is only a lot of errors in Console.
With solution above I can use shortcodes or button action and then only use filters term_description and get_the_archive_description in function.php in child-theme.
Thanks a lot. Can you do it or should I make a pull request? Or is there any other solution to do this?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Support for terms’ is closed to new replies.