• Resolved Michael Lenhart

    (@michael-lenhart)


    Hello Guys and Ladies,

    I have created a taxonomy which I called Fakult?t, thats german and means faculty ;-), and I created a taxonomy-archiv, taxonomy-fakult?t.php.
    I create in the Dashboard with the taxonomy Fakult?t numbers and
    if I want to calling the posts with the faculty number 01, it doesn’t work, but if I calling a post with the faculty f01 it works and show me alls posts with f01.
    So my question is, what can I do for using numbers? It seems to be that the wp_query and term can’t find posts with term equal to number.

    This is my Code for the taxonomy-fakult?t.php

    [Excessive code moderated. Please use a pastebin.]

Viewing 1 replies (of 1 total)
  • Thread Starter Michael Lenhart

    (@michael-lenhart)

    The problem was resolved. The issue was the slug by creating a faculty.
    I changed the slug by faculty 01 to faculty-01 and then the wp_query was not able to find the post because it was looking for the term 01 and not faculty-01. So I changed the slug to 01 and it works like a charm.

Viewing 1 replies (of 1 total)
  • The topic ‘Custom Taxonomy archiv page->wp_query not working with numbers’ is closed to new replies.