wedocs-plugin
wedocs-plugin copied to clipboard
Home URL incorrect
The docs are displayed at /blog/docs and your breadcrumb function is using home_url('/') which is / instead of /blog/docs). How can this be resolved without editing your functions.php?
Home means the home page, not the docs home page! Though there could be an another link which points to the docs archive page after the home link, but right now the archive page isn't designed well. So it'll be skipped for this time being.
Home should be the home of documentation, it is related to plugin, not website.
In wedocs_breadcrumbs() function link to Home should be home_url( '/' . $slug . '/' ) instead of home_url( '/' ). Just have to fetch $slug somehow.
Solution for docs archive page is proposed at https://github.com/tareq1988/wedocs-plugin/issues/26