WordPress.org

Ready to get started?Download WordPress

Forums

Infinite-Scroll
[resolved] Oxygen Theme Selector Issues (6 posts)

  1. Xanklin73
    Member
    Posted 1 year ago #

    Hello,

    I am using Infinite-Scroll in WordPress 3.4.1 with the Oxygen theme on http://www.xanklin.com, on the page http://xanklin.com/category/features/#.UOcni-T7I4a, but I can't get my combination of selectors to work. What am I missing?

    Content Selector #content
    Posts Selector #hfeed
    Navigation Selector pagination.loop-pagination
    Next Page Selector navigation a:next.page-numbers

    Thanks,
    Dawn

    http://wordpress.org/extend/plugins/infinite-scroll/

  2. aguidis
    Member
    Posted 1 year ago #

    Hi,

    Try those selectors :

    .hfeed
    .hfeed div
    div.pagination
    div.pagination a:first

  3. Xanklin73
    Member
    Posted 1 year ago #

    Hi aguidis,

    Thanks! That combination did the trick!

    Have a great day,
    Dawn :-)

  4. Xanklin73
    Member
    Posted 1 year ago #

    Marking this topic as resolved...

  5. hifichip
    Member
    Posted 1 year ago #

    <?php
    /**
     * Index Template
     *
     * This is the default template.  It is used when a more specific template can't be found to display
     * posts.  It is unlikely that this template will ever be used, but there may be rare cases.
     *
     * @package Oxygen
     * @subpackage Template
     */
    
    get_header(); // Loads the header.php template. ?>
    
    <div class="head2">
    
    Rising Stories
    
    </div> 
    
    	<div class="aside">
    
    		<?php get_template_part( 'menu', 'secondary' ); // Loads the menu-secondary.php template.  ?>
    
    		<?php get_sidebar( 'primary' ); // Loads the sidebar-primary.php template. ?>
    
    	</div>
    
    	<?php do_atomic( 'before_content' ); // oxygen_before_content ?>
    
    	<div class="content-wrap">
    
    		<div id="contentmain">
    
    			<?php do_atomic( 'open_content' ); // oxygen_open_content ?>
    
    </br>
    </br>
    
    			<div class="hfeed">
    
    				<?php if ( have_posts() ) : ?>
    
    					<?php while ( have_posts() ) : the_post(); ?>
    
    						<?php do_atomic( 'before_entry' ); // oxygen_before_entry ?>
    
    <div class="hentry2">
    
    							<div id="post-<?php the_ID(); ?>" class="<?php hybrid_entry_class(); ?>">
    
    							<?php do_atomic( 'open_entry' ); // oxygen_open_entry ?>
    
    							<?php if ( current_theme_supports( 'get-the-image' ) ) {
    
    								get_the_image( array( 'meta_key' => 'Thumbnail', 'size' => 'archive-thumbnail', 'image_class' => 'featured', 'width' => 750, 'height' => 140, 'default_image' => get_template_directory_uri() . '/images/archive-thumbnail-placeholder.gif' ) );							
    
    							} ?>
    
    							<div class="entry-header">
    
    <?php echo apply_atomic_shortcode( 'byline_edit', '<div class="byline byline-edit">' . __( '[entry-edit-link]', 'oxygen' ) . '</div>' ); ?>
    
    								<?php echo apply_atomic_shortcode( 'entry_title', '[entry-title]' ); ?>
    
    </div>
    
    							<?php echo apply_atomic_shortcode( 'byline_category', '<div class="byline byline-cat">' . __( '[entry-terms taxonomy="category" before=""]', 'oxygen' ) . '</div>' ); ?>
    
    							<div class="entry-summary">
    
    								<?php the_excerpt(); ?>
    
    								<?php wp_link_pages( array( 'before' => '<p class="page-links">' . __( 'Pages:', 'oxygen' ), 'after' => '</p>' ) ); ?>
    
    							</div>
    
    							<a class="read-more" href="<?php the_permalink(); ?>"><?php _e( 'Read Article', 'oxygen' ); ?> →</a>
    
    							<?php do_atomic( 'close_entry' ); // oxygen_close_entry ?>
    
    </div>
    
    						</div><!-- .hentry -->
    
    						<?php do_atomic( 'after_entry' ); // oxygen_after_entry ?>
    
    					<?php endwhile; ?>
    
    				<?php else : ?>
    
    					<?php get_template_part( 'loop-error' ); // Loads the loop-error.php template. ?>
    
    				<?php endif; ?>
    
    			</div><!-- .hfeed -->
    
    			<?php do_atomic( 'close_content' ); // oxygen_close_content ?>
    
    			<?php get_template_part( 'loop-nav' ); // Loads the loop-nav.php template. ?>
    
    		</div><!-- #content -->
    
    		<?php do_atomic( 'after_content' ); // oxygen_after_content ?>
    
    <?php get_footer(); // Loads the footer.php template. ?>

    CAN ANYONE HELP OUT WITH RELEVANT COMBINATIONS FOR INFINITE SCROLL TO THIS ABOVE CODE. I AM USING A MODIFIED OXYGEN THEME. MANY THANKS IN ADVANCE.

    REGARDS
    HIFICHIP

  6. hifichip
    Member
    Posted 1 year ago #

    ISSUE SOLVED

    #contentmain
    .hfeed
    a.page-numbers
    .hentry

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic