routes icon indicating copy to clipboard operation
routes copied to clipboard

Simple routing for WordPress

Results 18 routes issues
Sort by recently updated
recently updated
newest added

AltoRouter already provides optional parameters, but Timber doesn't support them because this router strips question marks. I would like to use optional parameters, and maybe it wouldn't be a bad...

I defined the following route: ``` Routes::map('category/:category/:subcategory', function($params) { $category = $params['category']; $subcategory = $params['subcategory']; $query = new \WP_Query(array( 'post_type' => 'post', 'category_name' => $category, 'tax_query' => array( array( 'taxonomy'...

Hi guys, I've been trying to get a custom route for a custom archive page to work with a RSS feed. The page itself works great with pagination etc. Only...

This code: ``` Routes::map('blog/:name', function($params) { die("Name: " . $params['name']); }); ``` Will work with blog/hey and blog/1 but not with blog/1.5.1 How can I fix this please?

Hi all, customer on our end uses this library in its theme. Currenty we try migrating the whole theme to PHP 8.2 but could not find any information if this...

With the `.gitattributes` file present the users of this package doesn't have to download non-essential files which aren't necessary for the package to function. Such as files used for development...

Hi, When updating PHP composer plugins, it automatically updates AltoRouter to v2.0.3. This version of AltoRouter is incompatible with Upstatement Routes v0.9.1. I get the following error: ``` Uncaught TypeError:...

As noted in the issue, the latest version of AltoRouter is incompatible with Upstatement Routes v0.9.1. This PR resolves the error making it compatible.