WordPress.org

Making WordPress.org

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#1098 closed defect (fixed)

Bug with linking to point on page https://developer.wordpress.org/themes/basics/template-hierarchy/#page

Reported by: pjfinlay Owned by:
Milestone: Priority: normal
Component: Developer Hub Keywords:
Cc:

Description

Each title on the page has an id that you can link to externally. In the case of page this id is "page" however there is another element on the page with the id "page" this means that you cannot link to this title specifically, and it will instead auto scroll to the top of the page where this other element is. For example I can link to the single post title https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post and any other title on the page but not the "Page" title.

Change History (2)

#1 @SergeyBiryukov
4 years ago

  • Keywords needs-patch removed
  • Resolution set to fixed
  • Status changed from new to closed

Hi @pjfinlay, thanks for the report.

I've changed the heading to "Single Page", which resolved the issue. It's also more consistent with "Single Post".

#2 @SergeyBiryukov
4 years ago

#1221 was marked as a duplicate.

Note: See TracTickets for help on using tickets.