Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter dphi

    (@dphi)

    Hello @vladytimy ,

    thanks for your detailed answer. I already know that the issue is coming from out theme (in the most cases). The problem is, that this theme was created by an agency that isn’t reachable anymore. The theme is discontinued. So i’m trying to keep it up-to-date on my own.

    I just found out that the widgets are registered inside my theme at this function

    function register_cozy_widget() {
        register_widget( 'WT_Cozy_Widget_Info' );
        ...
        unregister_widget('WP_Widget_Text');
        register_widget( 'WT_Widget_Cozy_Text' );
        register_widget( 'WT_Cozy_Widget_Side_Info' );
        register_widget( 'WT_Widget_Cozy_Image' );
        ...
    }
    add_action( 'widgets_init', 'register_cozy_widget' );

    I also found the specific class where one of these widgets are clarified. But i do not know where to have an eye on – what has changed/what i need to modify…

    Thread Starter dphi

    (@dphi)

    Hi @vladytimy

    i just found another solution to get the old widget section back – I haven’t tested the plugin yet because we are using such a bunch of plugins and i don’t won’t to overload my wordpress instance ??

    I have added this inside my function.php (inside my Theme):

    // deactivate new block editor
    function phi_theme_support() {
        remove_theme_support( 'widgets-block-editor' );
    }
    add_action( 'after_setup_theme', 'phi_theme_support' );

    But is their any solution to solve the issues to use the new block editor? Or is this currently the only way to get the widgets working by deactivating this new function?

    Thread Starter dphi

    (@dphi)

    Hello @r3098

    I had quite a few other things to do last week. The CSS I have not yet tested, but will do so in the next few days.

    I just find it very strange that it does not work on pages with increased traffic (that css not loaded). We also use a plugin to block scripts and CSS files for certain pages. The heatmap (Aurora) has not been excluded here (e.g. Mainpage phi24.de/ ).

    Thread Starter dphi

    (@dphi)

    Hhm it’s crazy. The thing is that only pages with a specific number of PV might have these problems. My Aurora list tells me that it found more than 1000 different entries/pages. All with a lower PV count >1000 loads well – mobile and desktop view. Only pages with more than (in my current case), 1700 PV has this issue (currently 2 pages (but important once)).

    For caching: We use WPRocket as main caching plugin.

Viewing 4 replies - 1 through 4 (of 4 total)