Created
October 9, 2014 14:55
-
-
Save mrpsiho/4f210f7f254e409a774d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_rewrite_rule('sushi-cats/([^/]*)/metro/([^/]*)/?$','index.php?product_cat=$matches[1]&metro=$matches[2]','top'); | |
add_rewrite_rule('sushi-cats/(sushi|roll|set)/metro/([^/]*)/?$','index.php?product_cat=$matches[1]&metro=$matches[2]','top'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment