WordPress.org

Ready to get started?Download WordPress

Forums

Artisteer theme on Jetpack - infinite scroll (2 posts)

  1. agronom93
    Member
    Posted 1 year ago #

    Help to establish infinite scroll on artisteer theme, tried but something is not working, what could be the problem?

    <?php get_header(); ?>
    <div class="art-content-layout">
        <div class="art-content-layout-row">
            <div class="art-layout-cell art-sidebar1">
             <div class="art-layout-bg"></div>
              <?php get_sidebar('default'); ?>
              <div class="cleared"></div>
            </div>
            <div class="art-layout-cell art-content">
    			<?php
    			  get_sidebar('top');
    			  global $post;
    			  if (have_posts()){
    				while (have_posts())
    				{
    					the_post();
    					art_post_wrapper(
    						array(
    								'id' => art_get_post_id(),
    								'class' => art_get_post_class(),
    								'thumbnail' => art_get_post_thumbnail(),
    								'title' => '<a href="'.get_permalink($post->ID).'" rel="bookmark" title="'.get_the_title().'">'.get_the_title().'</a>',
    								'before' => art_get_metadata_icons('date,author,edit', 'header'),
    								'content' => art_get_excerpt(), // 'content' => 'My post content',
    								'after' => art_get_metadata_icons('category,tag,comments', 'footer')
    						)
    					);
    				}
    				// previous_posts_link | next_posts_link
    			  } else {
    				art_post_wrapper(
    					array(
    							'title' => __('Not Found', THEME_NS),
    							'content' => '<p class="center">'
    							.__( 'Apologies, but the page you requested could not be found. Perhaps searching will help.', THEME_NS)
    							. '</p>' . "\r\n" . art_get_search()
    					)
    				);
    			  }
    			  get_sidebar('bottom'); 
    
    			?>
              <div class="cleared"></div>
            </div>
        </div>
    </div>
    <div class="cleared"></div>
    <?php get_footer();

    Tried the instructions, do not get http://jetpack.me/support/infinite-scroll/

  2. Andrew
    Forum Moderator
    Posted 1 year ago #

    Try the Artiseer forums http://www.artisteer.com/?p=forums

Topic Closed

This topic has been closed to new replies.

About this Topic