badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Featured image in single post

Tagged: 

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #56661
    mpons.mt
    Participant

    Hi dear friends of ThemeHorse,
    I don’t find a way to show the featured image in the single post of Wowsome theme. Do you have any simple code to introduce in one of the php file to make such display possible ?
    Thank you

    #56698

    Hi,

    Go to theme main directory and go to header.php file line no 150 you will see below line of code:

    </header><!-- #masthead -->

    below above code paste below code which will display the featured image into you single post.

    <?php if ( has_post_thumbnail() && (is_page() || is_single()) ) {
        the_post_thumbnail();
    } ?>

    Note: Creating child theme is a best practice to customize the theme code.

    Thank you!

    #56709
    mpons.mt
    Participant

    Hi,
    Thank you for your reply. But I wanted to have the featured image dispayed in the text area but not in the header. Do you have some code to enter in one of the php file to have the featured image dispayed in the text area of the single post.
    Thank you

    #57003

    Hi,

    Why you need some code? when you can simply attach same featured image via media from the content editor.

    Thank you!

    #57029
    mpons.mt
    Participant

    Hi,
    Right, very simple.
    Thank you so much

    #57031

    You are welcome anytime @mpons-mt

    #112542
    winstonarmitage7
    Participant

    Bidding Estimate offers top notch cost estimating services to help contractors and businesses bid with confidence. They provide accurate material takeoffs and project estimates, saving you time and reducing guesswork. Whether you’re a builder or a subcontractor, their expert team ensures you get precise numbers to win more bids.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.