[wp-meta] [Making WordPress.org] #554: Show gravatar on individual speaker page
Making WordPress.org
noreply at wordpress.org
Wed Jul 9 14:49:41 UTC 2014
#554: Show gravatar on individual speaker page
--------------------------+----------------------------
Reporter: andywashere | Owner:
Type: enhancement | Status: new
Priority: normal | Component: wordcamp.org
Resolution: | Keywords: good-first-bug
--------------------------+----------------------------
Comment (by iandunn):
One obstacle here is that the individual speaker pages are posts rather
than shortcodes, so the HTML and CSS are primarily controlled by the theme
template instead of the WordCamp Post Types plugin.
One workaround would be to filter `the_content` and inject the Gravatar
HTML and also enqueue a stylesheet with some basic CSS that the theme
could override, but that's kind of an ugly hack.
A better approach might be to look into the author meta. Some themes will
display the author's Gravatar, so we could possibly hook into that and
display the speaker's Gravatar instead. It probably wouldn't be supported
by all of the themes, though.
That's just off the top of my head, though. Does anyone have a better
idea?
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/554#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list