• Hello,

    I am trying to customize the Facebook OGP metatags generated by Joost’s excellent WordPress SEO plugin. I can find where I can set the description and the image, but I cannot find where to set the other attributes or even add some that aren’t included by default. My client’s website is for her business so I am trying to add all the appropriate tags. I found this:

    public function type() {
    		if ( is_singular() ) {
    			$type = wpseo_get_value('og_type');
    			if (!$type || $type == '')
    				$type = 'article';
    		} else {
    			$type = 'website';
    		}
    		$type = apply_filters( 'wpseo_opengraph_type', $type );
    		echo "<meta property='og:type' content='".esc_attr( $type )."'/>\n";
    	}

    so the $type = wpseo_get_value('og_type'); part makes me believe I can set a custom type somewhere but where?

    EDIT: Obviously I can just hack the plugin, which I have in fact done, but I would rather use it properly so updating is not a pain.

    Thanks!

Viewing 1 replies (of 1 total)
  • Thread Starter vivojack

    (@vivojack)

    I have also noticed that when I use the “social” tab to set the image for the home page as well as the default image it still selects a thumbnail size version of an image on the first page?

Viewing 1 replies (of 1 total)
  • The topic ‘Customize Facebook OGP tags in WordPress SEO by Yoast plugin’ is closed to new replies.