The widget produces a breadcrumb trail through the page tree – a single page from each level of the page hierarchy (no nesting, no indenting). This widget is useful for website that may have fairly deep menu`s and a risk of the user getting “lost”.
A Default CSS styling is provided, however this can be switched off. It is also possible to add a separator in the HTML markup (instead of just using CSS to style the menu).
- Uses listed items with minimal markup. The markup is compatible with twentyseventeentheme html markup and wordpress delivered markup.
- Provides default css styling (no spans for separators), with the option to switch the default styling off to use your own. Depending on your existing theme, you may need to adjust your theme`s css. See below.
- Allows specification of a separator if you really wish one. This will be inserted into a span within the link text, so the whole area is clickable. If there is no separator (default) then no span html is issued.
- Install and activate plugin
- Add the widget to the chosen sidebar.
- That`s it – customise the css and background image to taste.
“amr breadcrumb navigation” 是开源软件。 以下人员对此插件做出了贡献。贡献者
- replaced deprecated php widget coding
- will now show in archives and single posts with home (or the text you have specified) as the top
- Tested on 4.0, and will show on home page now to avoid confusion
- Cleaned up deprecated function calls etc, and fixed stylesheet call
- Reworked code to use wordpress multi-widget API
- Added option to include the top level with own naming. Blank will exclude top level.
- Changed css to be included files with regsiter style and enqueue style instead of directly included text
- Changed background image for slightly cleaner look
- Added Russian translation provided by Marcis G. of pc.de
- Added html classes so that successive levels can be styled by the depth of the page. First lvl li will have a css class of lvl1, then lvl2 etc.
- Fixed some minor css errors
- Added option to not have the background image, while still having the plugin style – this helps if using the default theme on Safari – somehow it is hard in safari to get rid of the li:before content that the default theme uses to style the bullets. So in that case, one could just work with it.