Home Support General HivePress file after plugin update

file after plugin update

  • Author
  • How to save changes to /wp-content/plugins/hivepress/includes/blocks/class-toggle.php file after plugin update. I placed in wp-content / themes / listinghive / hivepress / includes / blocks / but it didn’t help. Thanks in advance.

    ihor developer

    Sorry, unfortunately there’s no way to keep these changes, it’s a core file and it can’t be overridden via a child theme (only template parts can be overridden, you can also override any configs via the API hooks).

    problem with changing #user_login_modal if set

    jQuery (document) .ready (function ($) {
         jQuery ('a [href = "# user_login_modal"]'). on ('click', function (e) {
        e.preventDefault ();
        jQuery.fancybox.close ();
        window.location.href = 'https: //xn--80aahfcd6adcg7dxj.xn--p1ai/login/';
        return false;

    then very slowly the old modal window is visible

    ihor developer

    Yes, because the Facybox event is still linked to it. If you’re familiar with JS please try to remove all the events linked to this “a” element and the “#user_login_modal” DIV instead, then the modal window will not be triggered at all.



Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘file after plugin update’ is closed to new replies.