Viewing 1 replies (of 1 total)
  • Go to plugins folder

    /plugins/custom-post-type-permalinks/CPTP/Module/Permalink.php

    find this line

    if ( false !== strpos( $permalink, ‘%’ . $taxonomy . ‘%’ ) ) {

    Replace

    $terms = get_the_terms( $post_id, $taxonomy );

    With

    // Get taxonomy terms
    $terms = wp_get_object_terms($post_id, $taxonomy,’orderby=term_order’);

    You are wellcome , i just fixed it for myself today after 3 fucking hours of debugging.

Viewing 1 replies (of 1 total)

The topic ‘Problem with category without parent’ is closed to new replies.