Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted May 25, 20168 yr Hi! i've this in my template to put og image in socialnetwork, and this image will be refreshed via cron every 24hrs. <meta property="og:image" content="https://laltroweb.it/_script/thumbgen/_thumbnails/th_https_laltroweb_it.jpg"> how i can put a filemtime in template (then, to refresh in social network cache)? i've try with php and double brackets, but i receive errors :/ <meta property="og:image" content="https://laltroweb.it/_script/thumbgen/_thumbnails/th_https_laltroweb_it.jpg?{{filemtime('https://laltroweb.it/_script/thumbgen/_thumbnails/th_https_laltroweb_it.jpg');}}"> thanks in advance, S.N.
Archived
This topic is now archived and is closed to further replies.