Missing HTML comment tags

It seems that my ISP’s DNS was not refreshing and was caching some stuff. While waiting for them to fix it as a temporary solution I changed my DNS to Google’s public DNS as shown on this page developers.google.com/speed/public-dns/docs/using and everything seems fine.

html entities occur in the_excerpt used as meta description

I think you want to to this on singular post/page, so you don’t think to setup global post object, it is already set up. After that, the problem is that calling get_excerpt will run some filters that add html entities. This is because get_the_excerpt is intended to be used in page content (inside the <body> … Read more

Widget : html 2 dimensional array doesn’t work

Ok, with a quick dirty hack I have achieve my goal : Instead of myCollection[id][myField] I give to the get_field_name‘s function something like this : collection][id][field. So the generated code became : name=”widget-pricetable-ibsciss-widget[2][box][1]Widget : html 2 dimensional array doesn’t work” And my array just look perfect now : array(3) { [“title”]=> string(12) “Global title” [“box”]=> … Read more

Sort appearence order in the_content()

You could try to add the Facebook-Like html code via this filter: /** * Append Facebook Like to the content * * @param string $content * @return string $content */ function custom_the_content( $content ) { $fblike=”<div class=”fb-like” data-layout=”button_count” data-action=”like” data-show-faces=”false” data-share=”false”> </div>”; return $content . $fblike; } add_filter( ‘the_content’, ‘custom_the_content’, 9, 1 ); if the … Read more