Support » Plugin: Yoast SEO » Set Image Size Used to Medium except for the Organization logo

  • Resolved kds26

    (@kds26)


    Hi

    I found this code here https://webgilde.com/en/wordpress-seo-facebook-image-open-graph/

    add_filter(‘wpseo_opengraph_image_size’, ‘mysite_opengraph_image_size’);
    function mysite_opengraph_image_size($val) {
    return ‘facebook’;
    }

    I have changed it to
    return ‘medium’;

    Which works and uses the medium image as my facebook image however the image that I have set as my organization logo I would like to use the original size. Do you know how this can be achieved? Any help would be appreciated. Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Jerlyn

    (@jerparx)

    Hi @kds26 ,

    Unfortunately, we can’t offer support on custom code as we don’t want to take the risk that we break your website by suggesting incorrect or incomplete code. Maybe someone watching these forums can assist you further, but if your topic is inactive for 7 days, we’ll mark it as resolved to keep the overview.

    Plugin Support Carl B

    (@devnihil)

    We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue.

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