By Valentin Barbu on Sunday, 21 September 2014
Likes 0
Views 644
Votes 0
Hello guys,

I just wanted to let you know that:

<meta property tags

Should be inserted in page <head> section and not in the middle of page source as easyblog does it now.

You guys add them using:

$doc->addCustomTag( '<meta property=

While in order to have it in <head> section you should use instead:

$doc->addHeadLink
Hello Barbu,

Sorry I missed your Skype message earlier but if you are using addCustomTag , it's also adding to the head section of the page. Am I missing anything here?
·
Monday, 22 September 2014 12:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Mark,

Afraid not, using addCustomTag it does not add them in the <head> section, it`s inserting them right in the place where you call addCustomTag, for example if you call that in the end of article content there`s the place where those metas will be inserted.

Regards
·
Monday, 22 September 2014 13:07
·
0 Likes
·
0 Votes
·
0 Comments
·
That's incorrect Barbu. I have tested this locally and addCustomTag always adds the tag into the <head> section of the page. Can you show me a demo code of where you have tested this with?
·
Tuesday, 23 September 2014 02:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Oh sorry Mark, my bad, because of the huge number of css, js files ( a total number of 12 css+js files ) ( hope this will be reduced in future otherwise the page load will be a pain even with compression and other optimizations ) required me to scroll in the page to get to those og metas, and I missed the </head> part

rgds
·
Tuesday, 23 September 2014 03:01
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks for updating Barbu
·
Tuesday, 23 September 2014 03:14
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post