Skip to content

The 'Shortcodes' header and the 'Hooks' > 'shortcodes' subheader use the same href anchor #33

Open
@Stijn-B

Description

@Stijn-B

The 'Shortcodes' header (img 1) and 'Hooks' > 'shortcodes' subheader (img 2) both use the same href anchor (https://elderguide.com/tech/elderjs/#shortcodes). Because the 'Hooks' one appears first on the page, when trying to navigate to the 'Shortcodes' header you are directed to the 'Hooks' > 'shortcodes' subheader instead.

A possible fix could be to change the ids/anchors of the 'Hooks' subheaders from <name> to <name>-hook (changing the Shortcodes hook anchor to #shortcodes-hook.
They are however generated by the {{output_hook_list}} shortcode and I don't know how to update this.

image 1
image

image 2
image

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