Make WordPress Core

Opened 17 years ago

Closed 17 years ago

Last modified 4 years ago

#529 closed enhancement (wontfix)

Markup for linking from one post to another

Reported by: mdawaffe Owned by: matt
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:


I know this feature has been requested before (example: http://wordpress.org/support/3/17546 ), and I also know the developers probably have more important things to work on.

That said, it'd be great to have a markup tag available when writing posts that would create soft links from one post to another. Something like:

<wp-link post-id="ID#">a different post</wp-link>

And a filter added to the_content that would convert that markup into a link at runtime. That way, only markup involving the post ID would be saved in the database so if the site url/permalinking structure changed in the future, all the internal post->post links would still work.

Change History (7)

#1 @mdawaffe
17 years ago

  • Patch set to No

#3 @trbecker
17 years ago

This can be done as plugin, can't it? I sugest doing it as plugin to mantain tha code as clean as possible.

[Read below] Shame on me, I didn't read all the issue. Sorry.

edited on: 12-10-04 02:22

edited on: 12-10-04 16:30

#4 @mdawaffe
17 years ago

Plugin? Yes - see link in description and notes in Additional information. I don't doubt that there are other implementations as well.

As for the core: Make it as simple as possible. But no simpler.

If enough people want a feature, it should be standard. I imagine there are exceptions to this sweeping generality, but I think good soft linking is a valuable feature. Whether or not enough people agree with me, I don't know. I do, however, think most people link from post to post; these links should be made as robust as possible, thereby eliminating difficult support issues down the road ("I have to do _what_ with MySQL?")

#5 @2fargon
17 years ago

  • Status changed from new to assigned

Since this can already be done using a plugin, and that is the preferred way of handling specific feature requirements, please try that.
I will leave this as a feature request.

#6 @matt
17 years ago

  • Owner changed from anonymous to matt
  • Resolution changed from 10 to 90
  • Status changed from assigned to closed

Should be plugin.

This ticket was mentioned in Slack in #core-editor by swissspidy. View the logs.

4 years ago

Note: See TracTickets for help on using tickets.