wedocs-plugin icon indicating copy to clipboard operation
wedocs-plugin copied to clipboard

Home URL incorrect

Open oevna opened this issue 8 years ago • 2 comments

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?

oevna avatar Oct 26 '16 20:10 oevna

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.

tareq1988 avatar Nov 01 '16 18:11 tareq1988

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

ivfit avatar Dec 04 '16 09:12 ivfit