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 [...]
Tag Archives: wordpress
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 meta tag, metatag, no-index, noindex, pods, sphider | Leave a comment
Disabling firstname, lastname, e-mail and site fields on user profile page in wordpress admin
Based on the trick by zeo I found a way to disable editing of the following fields on a user’s profile page in the admin: e-mail first_name last_name url (site) There are for sure better ways to do the matching based upon the regular expressions but hey, it works! Place this code in your functions.php [...]