Aug 23, 20179:04 AM - edited Aug 23, 20179:05 AM
Member
Pulling featured image into blog post
SOLVE
Hi team
I am having difficulty editing my template for a single blog post to include the featured image.
Here is the page example, and further down is the code for the template. Please can someone help me to add a line that the featured image pulls below the read more tag (if I have one): http://ace.altdigital.co.za/blog/women-digital-lana-strydom
If I am honest, I am not completely sure where it is in your template that you want the image to appear. In order to add the image itself though, the following code should work for you:
You can adjust it there for your needs. Since you are unable to specify an alt tag in the editor for the featured image, i just include the name of the Blog post as the alt tag.
I hope that helps but if you have more questions, feel free to post them.
If I am honest, I am not completely sure where it is in your template that you want the image to appear. In order to add the image itself though, the following code should work for you:
You can adjust it there for your needs. Since you are unable to specify an alt tag in the editor for the featured image, i just include the name of the Blog post as the alt tag.
I hope that helps but if you have more questions, feel free to post them.
Thanks David. What I'd like to do is add a read more tag" to the bog content and then add the featured image below that. If this is the case, where do I: