Forum

Forum - DatingScript

Online dating software

You are not logged in.

#1 2014-11-13 11:34:05

ssassam
Member

I share with you how to customize the display of your site on facebook

Hello,

I share with you how to customize the display of your web site on facebook :

It's very simple to do

Just add the following line of code just before </ head>

<meta property="og:title"<?=(view::getMetaTitle() ? view::getMetaTitle().(uri::getURI() != '' ? ' - ' : '') : '')?><?=(uri::getURI() != '' ? text_helper::entities(config::item('site_title', 'system')) : '')?>">
<meta property="og:description" content="<?=view::getMetaDescription()?>">
<meta property="og:image" content="http://yoursite.com/yourpicture.jpg">
<meta property="og:image:type" content="image/jpg">
<meta property="og:image:width" content="650">
<meta property="og:image:height" content="353">
<meta property="og:url" content="http://yoursite.com"/>

Good luck  smile

Last edited by ssassam (2014-11-13 11:36:54)

Offline

#2 2017-01-09 14:46:57

thesoi6
Member

Re: I share with you how to customize the display of your site on facebook

Hello thank u for sharing

is that when i post a link of my page on facebook and it gets the link with description and image from the profiles of my page?
where i can find the: </ head> in which file?

thank u guys so much

Offline

#3 2017-01-09 15:11:07

TNC
Member

Re: I share with you how to customize the display of your site on facebook

thesoi6 wrote:

Hello thank u for sharing

is that when i post a link of my page on facebook and it gets the link with description and image from the profiles of my page?
where i can find the: </ head> in which file?

thank u guys so much

Here: http://www.datingscript.com/documentati … /templates

Offline

Board footer