Infinite Post loading (Ajax)
-
Hi!
I can’t see my Kadence blocks when infinite post loading is enabled on my theme.
I am using the zeen theme from codetipi.To make this work the zeen theme documentation says this:
If you plan on using Zeen’s Infinite Post Load feature and also run special plugins that create content using JavaScript – Then you may need the script files of those plugins reload every time a new post is inserted into the site via ajax. Zeen provides a very easy way to achieve this without the need to hack anything. Simply enter the following php code at the end of your Zeen child theme’s functions.php file and replace the plugin file location:Example :
function zeen_custom_infinite_post_scripts() {
return array(
‘jetpack/modules/tiled-gallery/tiled-gallery/tiled-gallery.js’,
);
}
add_filter( ‘zeen_infinite_post_ajax’, ‘zeen_custom_infinite_post_scripts’ );I would like to know the file that I need to load on the kadence plugin folder so I can load the Kadence gutenberg blocks when enabling infinite post loading on my theme.
Any help?
All the best,
Fábio.
- The topic ‘Infinite Post loading (Ajax)’ is closed to new replies.