Ticket #529 (closed enhancement: wontfix)

Opened 7 years ago

Last modified 7 years ago

Markup for linking from one post to another

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

Description

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

  • Patch set to No

comment:2   matt7 years ago

1

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

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?")

  • 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.

comment:6   matt7 years ago

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

Should be plugin.

Note: See TracTickets for help on using tickets.