Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #439419
    Mellow
    Participant

    Due to some loading issues, i want to deactivate the ajax pagination permanently for the Blog widget.

    I have commented out this code from premium_blog.php, but how can i permanently deactivate it?

    $page_id = ”;
    if ( null !== Plugin::$instance->documents->get_current() ) {
    $page_id = Plugin::$instance->documents->get_current()->get_main_id();
    }
    $this->add_render_attribute( ‘blog’, ‘data-page’, $page_id );

    if ( ‘yes’ === $settings[‘premium_blog_paging’] && $total_pages > 1 ) {

    $this->add_render_attribute( ‘blog’, ‘data-pagination’, ‘true’ );

    }

    #439731
    Abanob
    Keymaster

    Hi there,

    I’m so sorry, but the option to disable the AJAX pagination is not available at the moment in Premium Blog widget.

    Regards,

    Abanob

    #446368
    Mellow
    Participant

    Thank you very much for your answer,

    is there any way to disable it in functions.php, or do I have to comment it every time I update the plugin manually?

    Or are there any other solutions?

    I just want to disable ajax in the pagination, i’m not interested in finding a solution to get it work properly with ajax.

    greetings

    #446492
    Rana
    Participant

    Hi @mellow ,

    I’m so sorry, but this option is not available at the moment in Premium Blog widget.

    Regards,
    Rana

    #446727
    Mellow
    Participant

    Thank you for your reply,

    I changed the classname of the Pagination block. It’s working for me now without ajax.

    Best regards,
    mellow

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.