Support » Plugin: Social Media Meta Tags » Good job

  • Nice plugin but on image tag I make small fix

    <meta property="og:image" content="<?php if ( has_post_thumbnail() ) {
    	$thumb = wp_get_attachment_image_src( get_post_thumbnail_id($post->ID), 'medium' );
    					echo $thumb[0];
    					}else{
    						echo get_bloginfo('template_url').'/img/logo.png';
    					}  ?>"/>
  • The topic ‘Good job’ is closed to new replies.