WordPress.org

Ready to get started?Download WordPress

Forums

Trouble with posts in wrong categories (2 posts)

  1. GretarMagg
    Member
    Posted 3 years ago #

    I have a wordpress site (www.vorsabae2.is) running with WPML and the Atahualpa theme. Recently the owner of the website contacted me and said that some category pages in the english section display more records from other categories also. You can see this on this page, http://www.vorsabae2.is/category/stallions?lang=en&lang=en, the first three records are not from this Stallion category.

    I have no clue how this happened but I think its some kind of bug with the WPML and the custom menu... this is not happening on the Icelandic part of the site (the default language).

    Anybody got a clue on how to fix this ?

  2. m.wallink
    Member
    Posted 3 years ago #

    Hi,

    I had the same issue here and solved it by the next code in the top of the loop:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Not realy nice, because it's hard coded, but it works for me.

Topic Closed

This topic has been closed to new replies.

About this Topic