WordPress.org

Ready to get started?Download WordPress

Forums

WP No Category Base - WPML compatible
[resolved] Problem in extra_permastructs in WP 3.4 (2 posts)

  1. Alexis2004
    Member
    Posted 1 year ago #

    It's necessary to replace

    $wp_rewrite->extra_permastructs['category'][0]

    by

    $wp_rewrite->extra_permastructs['category']['struct']

    in no_category_base_permastruct() function to correctly replace category url which generated by get_term_link() function.

    http://wordpress.org/extend/plugins/no-category-base-wpml/

  2. mines.io
    Member
    Plugin Author

    Posted 1 year ago #

    Thank you for the attached code. A new version of the plugin has been released which should fix the issue.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.