• Resolved donsenilo1968

    (@donsenilo1968)


    Hello

    Images for WhatsApp don’t work because they are usually to big.
    Is it somehow possible to change the size of the og:image-width and height when clicking on the Button ?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support Muhammad Arslan

    (@wparslan)

    Hey @donsenilo1968

    Thank you for contacting us.

    Yes, you can also add custom tags in the header with the use of a hook ssb_og_tag.

    Just copy and paste the following piece of code to your child theme’s functions.php file.

    
    add_filter( 'ssb_og_tag', 'ssb_og_tag_cb' );
    
    /**
     * Add/Modify the tags of Simple Social Buttons.
     *
     * @param string $tags The existing tags.
     * @return string $updated_tags The updated tags.
     */
    function ssb_og_tag_cb( $tags ) {
    
    	$updated_tags  = $tags . PHP_EOL;
    	$updated_tags .= '<meta name="" content="" />' . PHP_EOL;
    
    	return $updated_tags;
    
    }

    P.S: Don’t forget to change the tag.

    Have a nice day.

Viewing 1 replies (of 1 total)
  • The topic ‘WhatsApp Image’ is closed to new replies.