I'm experiencing some trouble with this plugin. At first it didn't work, as I clicked to view older posts on the frontpage the link in the adressbar changes, but the page just moves up and that's it.( (like a refresh)
Then I tried to execute the "Theme support instructions". Unfortunately I'm using a kind of complex theme (Salutation) and I don't have the files that are referred to. For example index.php give the following:
/*
* NOTE: this file is for compatibility.
* Layouts are created in the theme options and "design-{name}.php" files.
* Content is generated by the "template-{context}.php" files.
*/
Then I searched through the files for the div tag that contains: " if (have_posts()) : while (have_posts()) : the_post(); "
I found this in the file "template-page.php"
I edited it to:
if (have_posts()) :
while (have_posts()) : the_post();
?>
<div class="content-page">
<div id="content-sal123"
(I assume this is correct, I'm definitely not an expert)
But it's was still not working. I set showWarning to true in ajax-page-loader.js file
Then as I refreshed my homepage I got the following error:
"Could not bind to searchform……..
Could not find element with id='searchform' or atribute 'action' missing."
It has probably something to do with the second part of the Theme support instructions, however the theme I'm using doesn't use search.php nor does it use searchform.php. I only have template-search.php, but that file doesn't contain the div, form and input elements that are referred to.
Anyone got an idea?