• Is there any way to make featured image shown in post?
    It’s a nice theme I really like it but the lack of featured image in single post is a demerit

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hey there spiney,

    Hope you’re well! 🙂

    First, create child themes to house all the customisation you will make. Read more about it here: http://codex.wordpress.org/Child_Themes

    Second, get the code here: https://gist.github.com/calvincanas/b1fe3af2d00d329a9f51 and create new file in your child theme folder named single.php then paste the code in that file.

    Code on line 13 – 17 is the one that ouput the featured image.

    Hope it helps! 🙂

    Take care,
    Calvin

    Thread Starter spiney

    (@steeltape)

    Hi, thanks for the fast reply.
    Is there any way I could get an attachment.php as well?

    It’s because I place different ads on single page and attachment page

    Hello spiney,

    Glad it’s working for you! 🙂

    Is there any way I could get an attachment.php as well?

    The default attachment.php came with the theme output image. Tested it on my install. Can you check it?

    Looking forward for your reply! 🙂

    Best Regards,
    Calvin

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Featured Image in Post’ is closed to new replies.