• Resolved bahbahtoonday

    (@bahbahtoonday)


    I have two of the shortcodes running at the same time (one is for the mobile view). The mobile version is updating the URL correctly, but the desktop does not. Scrolling to the current page doesnt work for either.

    
    // Desktop
    <div class="posts row hidden-xs">
            <?php echo do_shortcode('[ajax_load_more seo="true" post_type="post" repeater="default" posts_per_page="10" transition="fade" button_label="Load More" scroll="false" exclude="'.$excluded.'"]');?>
        </div>
    // Mobile
        <div class="posts row hidden-sm hidden-md hidden-lg">
            <?php echo do_shortcode('[ajax_load_more seo="true" post_type="post, featured-articles, videos" repeater="default" posts_per_page="10" transition="fade" button_label="Load More" scroll="false"]');?>
        </div>
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Darren Cooney

    (@dcooney)

    Hi @bahbahtoonday,
    You can only you SEO on a single instance. Other the plugin has no idea which instance it should be using as the primary for URL updates and other functions.

    My suggestion would be to use CSS to adjust the layout for mobile/desktop vs using multiple instances.

    Hope this helps.

    Thread Starter bahbahtoonday

    (@bahbahtoonday)

    That works, thanks.

    • This reply was modified 9 years, 2 months ago by bahbahtoonday.
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘SEOJ Plugin not working’ is closed to new replies.