Open garciademarina opened 6 years ago
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.
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.
route, get_title don't work unless permalinks are enabled
Add a new route like:
Breadcrumb class use title at render() function.