Currently the module can display a view's menu item item title, but not all page views have a menu item.

This adds support for displaying the view's display title if the menu title is blank.

Comments

imclean created an issue. See original summary.

imclean’s picture

Status: Active » Needs review
grndlvl’s picture

I also ran into this issue and ended up making a couple of changes for this to work as title wasn't available with out actually setting the display.

imclean’s picture

The title still seems to be there even without setting the display. You can access the property directly instead of using get_option().

The view object appears to contain properties for all displays, unless I've done something differently.

grndlvl’s picture

imclean

Nope, it wasn't there. Anyways the proposed solution is more appropriate.

Thanks for checking in.

knalstaaf’s picture

Category: Feature request » Bug report
Status: Needs review » Reviewed & tested by the community

#4 works for me.