Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

route, get_title don't work unless permalinks are enabled #2276

Open
garciademarina opened this issue Aug 1, 2018 · 1 comment

Comments

@garciademarina
Copy link
Member

commented Aug 1, 2018

route, get_title don't work unless permalinks are enabled

Add a new route like:

osc_add_route('list',          'list/?(.+)?',    'list/{foobar}',     'plugin/list.php' , false, "custom" , "custom", __('Custom title', 'plugin'));

Breadcrumb class use title at render() function.

@fre2mansur

This comment has been minimized.

Copy link

commented Aug 9, 2018

osc_add_route('list', 'list/?(.+)?/?(.+)?', 'list/{foobar}/{foobar2}', 'plugin/list.php' , false, "custom" , "custom", __('Custom title', 'plugin'));

and its not consider as a second param.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.