Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter wesch3

    (@wesch3)

    Hash,
    I used the WPBakery post cards, which comes with the theme, and did an infinite scroll on my home page. I then defined local scroll links for my other pages. I redirected those pages to my home page-via local scroll link, so they would load correctly. Changed all main menu items to local scroll links, so it doesn’t try to reload page. Works good with no plugins.

    Thread Starter wesch3

    (@wesch3)

    Darren,

    The default template returns a link which is the title and the first 4 or 5 lines of page html. I do not know how to edit the default template in order to pull in my pages. I have a very simple site with only a background image with text. Can you tell me how to pull in these items in the repeater. I do not need a link, I want the new page to infinite scroll my other 3 pages with no load more button, just scrolling. If you had a sample template of a repeater pulling in pages, not post or links, it would be helpful. Like I said, I have no idea how to adapt my pages to the template. My repeater seems like it should be a very simple one. Just a few lines to pull in a simple page.

    Thread Starter wesch3

    (@wesch3)

    Darren,

    It might be best to start with the default template.

    Thread Starter wesch3

    (@wesch3)

    Darren,

    Thanks for getting back.
    I am using a template I got off the forum.

    <li class="three-column<?php if (!has_post_thumbnail()) { ?> no-img<?php } ?>">

    <a href="<?php the_permalink(); ?>">

    <div class="img-content img-fallback">

    <?php if ( has_post_thumbnail() ) { the_post_thumbnail('large'); }?>

    </div>

    <div class="text-content">

    <span class="date"><?php echo get_the_date(); ?></span>

    <h2><?php the_title(); ?></h2>

    <?php the_excerpt(); ?>

    <span class="btn">

    <?php esc_html_e( 'Read more', 'text-domain' ); ?><i class="icon-right-large"></i>

    </span>

    </div>

        </a>

    </li>


    And here is the url to my page that has the short code.
    [ redundant link deleted ]
    I have little experience with html but I get by.
    My site is very simple and I thought infinite scroll would beef it up.
    Any help would be appreciated.

Viewing 4 replies - 1 through 4 (of 4 total)