wp-bootstrap-navwalker icon indicating copy to clipboard operation
wp-bootstrap-navwalker copied to clipboard

Dividers

Open ghost opened this issue 13 years ago • 3 comments

The word "Divider" has to be in the "Title Attribute" field or else it won't work. The code seems to say the same thing:

Line 49: $item->attr_title, 'divider'

Therefore, the documents should say:

...a Link Text or Title Attribute of divider...

ghost avatar Sep 16 '13 18:09 ghost

Good eye!

I removed the $item->title, 'divider' code when updating the class for Bootstrap 3.0 in an effort to make the syntax match for all extra elements. I do like being able to simple do this by the link text so I added in back in and the current documentation should now be valid again.

:)

SideQuestDIY avatar Sep 16 '13 19:09 SideQuestDIY

You could have kept it like it was, but change the document/help file...

ghost avatar Sep 16 '13 19:09 ghost

I know, but I chose to do it the other way as that is how I use it personally. lol

SideQuestDIY avatar Sep 16 '13 20:09 SideQuestDIY