• I am trying to use the “AJAX Scroll” plugin, to install it i was tod to:

    In your theme, before calling the “previous_posts_link” or “next_posts_link” functions, declare a global variable “as_elem_id” and store the ID of the content container. (In the default WordPress theme, this is “content”.)

    $as_elem_id = ‘some_value’;

    where <some_value> is the element ID of the post container where the contents will be replaced.

    i do not have a clue on how do this… please help.

    On my theme I have this on the navigation.php page:

    <div class="navigation">
    	<div class="previous"><?php next_posts_link('&larr; Previous Entries') ?></div>
    	<div class="next"> &nbsp; <?php previous_posts_link('Next Entries &rarr;') ?></div>
    </div>

    How would this look like with this global in it?
    Thank you

The topic ‘help with AJAX Scroll’ is closed to new replies.