Tag Archives: wordpress

Checking for ssl (secure http / https) in php

In order to find out how to check for the presence of a secure connection in PHP, I looked into some https related wordpress plugins and noticed that there are several ways to check for this presence. For example, checking for the server port 443, on which on agreement HTTPS traffic should run, assigned by [...]

Posted in tech blerf | Also tagged , , , , , , , , | Leave a comment

Comments don’t show on attachment.php in thematic

Recently I added attachment.php to my childtheme and noticed that the commentform displayed correctly, but the comments never showed. Snippet from attachment.php: thematic_belowpost(); comments_template(); The function call comments_template(); does not work as expected. When thematic’s own functions are used everything works fine:

Posted in tech blerf | Also tagged , , , , , , , | Leave a comment

Pods CMS, sphider en robots

Vandaag kwam ik erachter dat pods CMS pod-pagina’s niet geindexeerd werden door Sphider. Hardnekkig bleef een metatag verschijnen in de head-sectie van de html output: <meta name=”robots” content=”index,follow” /> Na wat rondsnorren in de code zag ik dat deze meta-tag in de functie ‘(theme_naam)_create_robots()’ van het bestand (themenaam)/library/extensions/header-extensions.php geplaatst wordt. De conditie die er voor [...]

Posted in tech blerf | Also tagged , , , , , | Leave a comment