Support » Plugin: WordPress Gallery Plugin - NextGEN Gallery » Support for terms

  • Resolved tomaskavalek


    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

    function is_new_or_edit_post_screen()
       return preg_match("/\/wp-admin\/(post|post-new)\.php$/", $_SERVER['SCRIPT_NAME']);


    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)
  • gabyimagely


    Hello @tomaskavalek

    We would love to have a look at that code.
    Of course, we need to create a ticket first, in that way we can create a direct communication in the future if the developers need to.

    Please use this form:
    That form is not meant to gather new editions to the code, but it’s the one we have available to our Free users at this moment.
    Be as specific as possible and let them know Gaby referred you.

    Do not forget to include the link to this forum.

Viewing 1 replies (of 1 total)
  • The topic ‘Support for terms’ is closed to new replies.