Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/vhosts/simplyjane.me/sngine.scriptstribe.com/vendor/gettext/gettext/src/Translations.php on line 284 Pesquisar | ScriptsTribe
The og-image is an essential part of your social media previews. In Sngine, it is possible to dynamically translate the og-image file name based on the active language. This tutorial will guide you through the process of modifying the page_header function to support translated og-image filenames.
Step 1: Locate the page_header Function
Open the file includes/functions.php and locate the...