Hello,
I want to add something above featured image inside single post.
How can I add this? I was looking for featured image inside single.php and rest of the php files, but couldn’t find it.
Can you please help?
Hi,
You need to edit the loop-single.php file for this: http://screencast.com/t/BKApD530Gzs
Please note that this is for default post template for the other you have to edit and look for the featured image code inside the other template files.
Thanks
Hello Lucian,
Thanks for fast reply. It seems that I’m not using loop-single.php
Where can I find other template files?
Hi,
For the others post templates you can find the featured image in the loop-single-1.php file: http://screencast.com/t/W8GGhZRk and
loop-single-2: http://screencast.com/t/TLKcb5aim
single_template_3: http://screencast.com/t/mPPutPdIR
single_template_4: http://screencast.com/t/k5CyTxmWvY8P
Hope this helps!
Thanks
Problem is, I don’t have any of these files!
These are all files I have in root.
http://www.screencast.com/t/k1May66pkL6V
I’m using 3.9.1 version of your theme.
Hi,
If you want to edit the post page you need to edit the single.php file which uses the loop-single.php file.
The featured image in your case is in loop-single.php file which you also have: http://screencast.com/t/uYrYvqV1
You can also send me your site’s URL and point to the page which you want to edit.
Thanks
Hello Lucian,
Thanks for your help! It was kind of a my mistake. I forgot I’ve created child theme, and copied there loop-single.php
So, I’ve made all changed to main loop-single.php and it didn’t have any effect, cuz it was using loop-single.php from the child theme.
I’ve edited loop-single.php in the child theme, and everything is working fine!
Thanks, once again.
Milan