من همچین چیزیو میخوام بذارم تو فایل show.full.php
اما متغیرا به درستی عمل نمیکنن
خیلی تغییرات دادم هر جا ام از اینمتفیرا استفاده کردم اوک ج داده اما تو این درست ج نمیده
$
richsnipt_tag['main'] = <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "NewsArticle", "mainEntityOfPage":{ "@type":"WebPage", "@id":"{$full_link}" }, "headline": "{$row['title']}", "image": { "@type": "ImageObject", "url": "{$images[0]}", "height": 800, "width": 800 }, "datePublished": "{langdate( "Y-m-j", $row['date']) . "T" . langdate( "H:i:s", $row['date']) . "+03:30"}", "dateModified": "{langdate( "Y-m-j", $row['date']) . "T" . langdate( "H:i:s", $row['date']) . "+03:30"}", "author": { "@type": "Person", "name": "{$row['autor']}" }, "publisher": { "@type": "Organization", "name": "Tarah-web", "logo": { "@type": "ImageObject", "url": "http://www.tarah-web.com/logo.png", "width": 600, "height": 60 } }, "description": "{$metatags['description']}" } </script>