We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently, the <img> tag for the header image is built manually in independent_publisher_posted_author_card():
<img>
independent_publisher_posted_author_card()
independent-publisher/inc/template-tags.php
Line 491 in 36dd2c2
It would be better to use get_header_image_tag() to build this tag, as that will include the srcset attributes for responsive images automatically.
get_header_image_tag()
The text was updated successfully, but these errors were encountered:
Use get_header_image_tag() for header image output
cb03b44
Fixes /issues/324
raamdev
Successfully merging a pull request may close this issue.
Currently, the
<img>
tag for the header image is built manually inindependent_publisher_posted_author_card()
:independent-publisher/inc/template-tags.php
Line 491 in 36dd2c2
It would be better to use
get_header_image_tag()
to build this tag, as that will include the srcset attributes for responsive images automatically.The text was updated successfully, but these errors were encountered: