Multiple non-unique IDs on archive pages

Issue #23 resolved
Phil Johnston created an issue

On the archive pages for the custom post type (wpfc_sermons) the featured image of the sermon displayed for each sermon. However, each image uses the same ID which isn't html standards compliant: http://www.w3.org/TR/html401/struct/global.html#h-7.5.2

Comments (6)

  1. Phil Johnston reporter

    When it is not standards compliant to makes it difficult to create a theme that styles these elements. If you change those in the future to become more standards compliant, my styles will be lost. But I have no other way to reference them at the present.

  2. Phil Johnston reporter

    Also, on a related Wp standards note, I'm not sure what you think about this - but really, featured images should be handled by the theme - rather than the plugin. Featured images are not a feature controlled or created by the plugin - but rather, is a Wordpress function. Featured images themselves are not automatically pushed out except for where the theme calls it to be displayed.

    So if you could, I would remove the featured image from archive and single pages altogether and let the theme pull the image out.

    Many themes pull the featured image out (ie: twentytwelve) and this results in the image being displayed twice for each sermon.

  3. Log in to comment