Support » Plugin: No Category Base (WPML) » is not compartible with custom feeds

  • Resolved das73

    (@das73)


    Hi,
    I’ve found one small feature – it doesn’t see customized feeds.

    I mean, I can add_feed( 'customfeed', 'my_customfeed_function' ); in the theme and then $wp_rewrite->flush_rules( false ); it.
    And it will not affect on rewrite rules regarding categories, due to there is a fixed list of feeds in the code.
    file no-category-base-wpml.php line 141:
    $category_rewrite['('.$category_nicename.')/(?:feed/)?(feed|rdf|rss|rss2|atom)/?$'] = 'index.php?category_name=$matches[1]&feed=$matches[2]';

    • This topic was modified 1 year, 1 month ago by das73.
    • This topic was modified 1 year, 1 month ago by das73.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘is not compartible with custom feeds’ is closed to new replies.