WordPress.org

Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#15964 closed enhancement (wontfix)

support links in page titles

Reported by: mattsains Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Menus Keywords:
Focuses: Cc:

Description

You can use a hyperlink in a page title to create a custom link in navigation (Eg, a page title of <a href="example.com">Examples</a>)
The problem is that wordpress still puts the link to the wordpress page:

<ul>
<li class="page_item page-item-11"><a href="localhost/example/" title="Example"><a href="http://example.com/">Example</a></a></li> 

Which can screw up themes a bit (see screenshot)

In my humble opinion, Wordpress should detect this kind of page title and not output the "<a href="localhost/example/" title="Example">" link.

I'm using the Greyzed theme

Attachments (1)

links.png (146.3 KB) - added by mattsains 10 years ago.
screenshot

Download all attachments as: .zip

Change History (5)

@mattsains
10 years ago

screenshot

#1 @mattsains
10 years ago

  • Cc mattsains added

#2 @SergeyBiryukov
10 years ago

There's a plugin Page Links To for that.

#3 @mattsains
10 years ago

  • Resolution set to wontfix
  • Status changed from new to closed

oh, indeed! my apologies and thanks :)

#4 @ocean90
10 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.