WordPress.org

Forums

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

  1. Alexis2004
    Member
    Posted 2 years 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 2 years 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

  • WP No Category Base - WPML compatible
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.