Support » Plugin: hashtagger » process the content load by ajax

  • Resolved malagebidi

    (@malagebidi)


    hi,

    my theme has a infinite scroll funciton in the home page, this first page is fine, but loading the contents of the second page when it is scroll down, the tags are not linked.

    below is some code from my theme template:

      $new_posts = '';
      $post_query_args = $_POST['next_params'].'&post_status=publish';
      $os_query = new WP_Query($post_query_args);
      $posts_per_page = isset($os_query->query['posts_per_page']) ? $os_query->query['posts_per_page'] : get_option('posts_per_page');
    
      ob_start();
      get_template_part( 'v3-content', get_post_format() );
      $new_posts.= ob_get_clean();
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘process the content load by ajax’ is closed to new replies.