WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 6 months ago

#19902 new feature request

blog_url() and get_blog_url() template tags — at Initial Version

Reported by: johnjamesjacoby Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 3.3.1
Component: Permalinks Keywords: has-patch 2nd-opinion
Focuses: Cc:

Description

With usage of WordPress as a CMS increasing, the blog is not always the focal point. It would be great if there were template tags available to get the blog UR, basically a wrapper for getting the options if it's set to a WordPress page, and defaulting to home_url( '/' ) if not.

Patched against r19759 (trunk)

Change History (1)

@johnjamesjacoby3 years ago

Note: See TracTickets for help on using tickets.