Support » Plugin: WordPress Infinite Scroll - Ajax Load More » Custom Post types not load, works only for pages

  • Resolved foxsk8

    (@foxsk8)


    Here is a problem for custom post types. If i set:

    <?php echo do_shortcode( ‘[ajax_load_more post_type=”piedavajumi”]’ ); ?>

    Load more is not working,

    <?php echo do_shortcode( ‘[ajax_load_more post_type=”page”]’ ); ?>

    It working. Where is a problem? I have post type without taxonomies.

    On other project works with post types and taxonomies.

    https://wordpress.org/plugins/ajax-load-more/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author dcooney

    (@dcooney)

    It doesn’t require taxonomy to display.
    Not sure what the issue could be…

    Are your posts public and published?
    Are you sure thats the slug of the post type?

    I use also Polylang plugin.

    Slug is: piedavajumi

    On past project is set identicaly, but without language plugin.

    On console there is no erros, on html shows only button with spinner and that is all. On pages and posts working good, but not for post types.

    Also on other post types load more is not working. Very strange.

    Plugin Author dcooney

    (@dcooney)

    Ill need a link to help debug.

    Update. That is not working with latest Polylang plugin 1.9 version. https://wordpress.org/plugins/polylang/

    Test it on clean install.

    Update. It works. My bad. Custom post types have no lang support added on settings 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Custom Post types not load, works only for pages’ is closed to new replies.