Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide functions for registering metatags (Trac #3315) #3315

Closed
elgg-gitbot opened this issue Feb 16, 2013 · 2 comments
Closed

Provide functions for registering metatags (Trac #3315) #3315

elgg-gitbot opened this issue Feb 16, 2013 · 2 comments

Comments

@elgg-gitbot
Copy link

Original ticket http://trac.elgg.org/ticket/3315 on 41262987-07-05 by ewinslow, assigned to unknown.

Elgg version: 1.7

For example, I may want to register a different meta description depending what page I'm on

@elgg-gitbot
Copy link
Author

Milestone changed to Elgg 1.9 by brettp on 41609869-06-05

@jdalsem
Copy link
Member

jdalsem commented Oct 23, 2014

There currently is a hook that could be used to add page specific metatags

$head_params = _elgg_views_prepare_head($title);
$vars['head'] = elgg_trigger_plugin_hook('head', 'page', $vars, $head_params);

@jdalsem jdalsem closed this as completed Oct 23, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants