• Resolved pagol

    (@pagol)


    i tried lot of time but not work with my custom theme. it is work fine with any default theme. but now my one work.

    <div class="prot-area">
    <div class="col-two">
      <ul>
        <?php if ( have_posts() ) : ?>
        <?php while ( have_posts() ) : the_post();  ?>
        <li class="figure"><a href="<?php echo get_the_post_thumbnail_url($post_id, 'full'); ?>" class="strip" title="<?php the_title(); ?>" data-strip-caption="<?php the_title(); ?>" data-strip-group="mygroup">
          <?php
    		 if ( has_post_thumbnail() ) {
    	the_post_thumbnail('medium');
    }  ?></a>
        </li>
        <?php endwhile; ?>
      </ul>
    </div>
    <div class="clearfix"></div>
    <div class="pagenav">
    <div class="nav-previous alignleft"><?php next_posts_link( 'Older posts' ); ?></div>
    <div class="nav-next alignright"><?php previous_posts_link( 'Newer posts' ); ?></div>
    </div>
    <?php else : ?>
    <p><?php _e('Sorry, no posts matched your criteria.'); ?></p>
    <?php endif; ?>
    </div>

    i set

    Posts Selector = .prot-area
    Post Selector = .figure
    Navigation Selector = .pagenav
    Next Selector = .nav-next

    Post Selector i change many way. like li, li.figure, .prot-area li .. more way. but none is work.

    any idea why. my everything updated

    https://www.ads-software.com/plugins/malinky-ajax-pagination/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author craigramsay

    (@malinkymedia)

    Could you change your Next Selector to

    .nav-next a

    That should fix it as you need to target the actual anchor.

    If not then send me the URL and I’ll take a look.

    Thanks

    Thread Starter pagol

    (@pagol)

    the load more button visiable now if i put .nav-previous a but when i click load more nothing is load and load more get hide. i changed Paging Type other also.. but result same. is that any of my setting have issue ?

    i dont’t want to post url in public. i can send email. can you send me your email address

    Plugin Author craigramsay

    (@malinkymedia)

    Hi, yes send me an email if you like but it’s possible you just need to change the selector.

    Shouldn’t it be the next selector to load the next set of posts not previous?

    .nav-next a

    If that doesn’t work email me at [email protected].

    Thanks

    Plugin Author craigramsay

    (@malinkymedia)

    Marking as resolved as no response.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘why not load more working’ is closed to new replies.