Skip to content

Select menu as a configurable display option #74

@sushidave

Description

@sushidave

Thank you for this useful plugin.

I am not very Grav savvy but managed to modify the code to get a <select> menu instead of an <ul> list. It brought me to the idea to propose it to you as an configurable option.

These are the two files I copied from /user/plugins/langswitcher/templates/partials to /user/themes/[theme]/templates/partials and modified the code to look as follows:

grav-langswitcher-logic-html-twig

grav-langswitcher-html-twig

However, I don't know how to add the option to the UI, therefore this feature request.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions