• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Infinite Scroll Display of Posts

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Infinite Scroll Display of Posts

This topic is: not resolved

Tagged: http://identitywebandphoto.com/abby/wordpress/

  • This topic has 3 replies, 2 voices, and was last updated 9 years, 2 months ago by efuller.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • June 25, 2014 at 5:12 pm #111561
    carrieoke13
    Participant

    Hi,
    I am stumped. I've gotten Jetpack's infinite scroll working with a heavily customized Minimum Pro theme. The front page is a custom portfolio archive. When the button is clicked, it will display 6 more entries, but for some reason I cannot get the 6 new entries that get loaded styled exactly like the original six that are displayed on the home page. The only issue I have remaining is getting the title of the post UNDER the featured image, instead of on top of it.

    I've used Brad Dalton's excellent code to move the title under featured images in single posts:

    // Featured Image Before Post Title
    add_action( 'genesis_entry_header', 'single_post_featured_image', 5 );
    
    function single_post_featured_image() {
    	
    	if ( ! is_singular( 'post' ) )
    		return;
    	
    	$img = genesis_get_image( array( 'format' => 'html', 'size' => genesis_get_option( 'image_size' ), 'attr' => array( 'class' => 'post-image' ) ) );
    	printf( '<a href="%s" title="%s">%s</a>', get_permalink(), the_title_attribute( 'echo=0' ), $img );
    	
    }

    I tried adding is_paged to this to see if that would affect the posts that are loading, but it didn't. I just can't figure out what template is being used for those additional posts when they are pulled in.

    Here's the URL: http://identitywebandphoto.com/abby/wordpress/

    Thanks for any help!

    July 20, 2014 at 11:24 am #115054
    efuller
    Member

    It looks like you got this working?


    I am a web developer

    July 20, 2014 at 11:26 am #115055
    carrieoke13
    Participant

    Actually, I never could get the titles to display in the same way. So we ended up using the regular paging instead.

    July 20, 2014 at 11:27 am #115056
    efuller
    Member

    Ahhh..Ok.


    I am a web developer

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble