Codes utiles

add_filter( 'post_thumbnail_html', 'ravs_hide_featured_image_on_post', 10, 5 );
function ravs_hide_featured_image_on_post( $html, $post_id, $post_thumbnail_id, $size, $attr ){

    if( is_single() )
        $html =''; // hide featured image in post
    return $html;

#button {
    border: none;

If you have found a spel­ling error, please, noti­fy us by selec­ting that text and pres­sing Ctrl+Enter.

Ce site embarque des cookies pour vous offrir la meilleur expérience possible

Spelling error report

The following text will be sent to our editors: