Opened 8 years ago

Closed 6 years ago

#1405 closed enhancement (wontfix)

Relative root template tag

Reported by: jrabbe Owned by: anonymous
Priority: normal Milestone:
Component: Template Version: 1.5
Severity: normal Keywords:
Cc:

Description

There are some cases where you might not need the full url as specified in the administration interface. For example if you want to use relative urls. As far as I can tell, the only way to get a realtive url (for example in a theme or plugin) which works from site to site, is to write a function which strips the 'http://' and the domain name. A simple extension to the bloginfo() function with 'relativeroot' or something would be welcome.

The need for easily getting relative urls was shown to me in a comment on my blog, and the solution.

Change History (2)

  • Keywords dev-feedback 2nd-opinion added; relative url template tag removed
  • Version changed from 1.5 to 2.1
  • Keywords dev-feedback 2nd-opinion removed
  • Resolution set to wontfix
  • Status changed from new to closed
  • Version changed from 2.1 to 1.5

No activity in almost 2 years.

Feel free to re-open if you have additional information.

Note: See TracTickets for help on using tickets.