- This topic has 4 replies, 3 voices, and was last updated 3 months, 3 weeks ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
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’ );
}
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
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
Hi @mellow ,
I’m so sorry, but this option is not available at the moment in Premium Blog widget.
Regards,
Rana
Thank you for your reply,
I changed the classname of the Pagination block. It’s working for me now without ajax.
Best regards,
mellow
Leap13 is a 5 Stars rated WordPress focused web development firm specialized in building Premium WordPress Themes and Plugins.
Enter your email and be the first to receive our latest news!
© 2022 Leap13 - Proudly Made by Wiz - The Smart Theme