[wp-meta] [Making WordPress.org] #1105: Plugin Directory - change plugin page titles
Making WordPress.org
noreply at wordpress.org
Thu Oct 1 07:19:25 UTC 2015
#1105: Plugin Directory - change plugin page titles
--------------------------+------------------------------------
Reporter: joostdevalk | Owner:
Type: enhancement | Status: new
Priority: normal | Component: Plugin Directory
Resolution: | Keywords: dev-feedback has-patch
--------------------------+------------------------------------
Comment (by coffee2code):
The solution, while not difficult, is not as clearcut as it may appear.
The issue is that WordPress.org has a global filter on page titles which
prepends `WordPress › ` to basically every page title everywhere.
The Theme Directory is actually currently exempt from this because it
already explicitly adds that in. But if it is removed or changed (as
proposed in the two initial patches), the global filter will prepend it to
whatever is defined.
Ideally we should come up with a page title format for all of dotorg and
see about adjusting the titles and the global title filter accordingly.
The global filter exists to ensure that all titles identify as
"WordPress". It could be changed to append something like ` —
WordPress`, which would suggest a page title format of:
`%%plugin_name%% — %%section%% — WordPress`
where `%%section%%` is "Plugins" (and elsewhere "Themes", "News",
"Support", etc). If that syntax sucks, then it could be made to only
append if the last segment of the title doesn't already have "WordPress"
in it, which could get us what @joostdevalk proposed. I'm not sure if his
proposal is the ideal page title format for modern times, or something he
settled on relative to what is currently output.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/1105#comment:10>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list