Fixing OpenSSL on WordPress Windows PHP 5.6+

Background: i ran into OpenSSL errors during the Disqus plugin setup. there’s tons of hits suggesting various solutions, below is the very simple solution that worked for me… Sample error messages: SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed<br /> Failed to enable crypto in ... TL;DR: download latest cacert.pem place it in a pertinent folder (e.g. $\wp-includes\certificates) edit your php.ini > openssl.cafile={full path to cacert.pem}

WordPress – show all Tags in Cloud

wordpress defaults to only showing the first 45 tags tweak this file => \wp-includes\widgets\class-wp-widget-tag-cloud.php add the “number=0” parameter to this code: /** * Filter the taxonomy used in the Tag Cloud widget. * * @since 2.8.0 * @since 3.0.0 Added taxonomy drop-down. * * @see wp_tag_cloud() * * @param array $current_taxonomy The taxonomy to use in the tag cloud. Default 'tags'. */ $tag_cloud = wp_tag_cloud( apply_filters( 'widget_tag_cloud_args', array( 'taxonomy' => $current_taxonomy, 'echo' => false, 'number' => 0 ) ) );  

WordPress Append HashTag to PermaLink

Motivation: Running a site with a big banner header — of course this decision must be weighed itself — on a user screen with low vertical res (e.g. 1024 x 768), the homepage would only show the header link of the first post summary (we’re also using “Add Posts to Page” plugin, with it’s ‘read more’ summary function)… clicking on the post would then nav to relatively same thing, staring at a big banner.