• I had a problem where the “Load more” button would not load more posts on a category page in non-default-language. I’m using the WPML plugin. I found a fix which required me to add code to the ajax-load-more.php.

    The solution can be found here:
    https://wpml.org/forums/topic/ajax-load-more-wpml-non-default-languages-not-loading/

    public function alm_query_posts() {
    
          if ( isset( $_GET['category'] ) && $_GET['category'] ) {
            unset($_REQUEST['post_id']);
          }
    
    [...]

    Of course that’s not ideal and the change will be lost when the plugin updates.

    Could you integrate it into the plugin?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Bug with WPML on category pages (and solution!)’ is closed to new replies.