Skip to:
Content
Pages
Categories
Search
Top
Bottom

Ajax load more


  • mehdinjm
    Participant

    @mehdinjm

    Hello. I want to add a special feature to my site using the ajax load more plugin. I want to load topic replies with ajax by scrolling. I don’t want the visitor to have to go to pages 2, 3 and… to see all the replies. This plugin gives me a shortcode like this:

    
     [ajax_load_more loading_style="infinite fading-blocks" container_type="ul" post_type="reply"] 

    And I have to embed this short code in the function file of the template.

    <?php echo do_shortcode('[ajax_load_more loading_style="infinite fading-blocks" container_type="ul" post_type="reply"]'); ?>

    But this code does not work properly anywhere. Can you guide me? By the way, I am an amateur.

  • You must be logged in to reply to this topic.
Skip to toolbar