Hacking WordPress, WordPress Tweaks
Add this code into functions.php in order to register your custom sidebar: function my_custom_sidebar() { register_sidebar( array ( ‘name’ => __( ‘Custom’, ‘your-theme-domain’ ), ‘id’ =>...
Optimize WordPress, SSL serificats, WordPress Tweaks
The great way to check is you page SSL secured Source: Why No Padlock? – Why is my SSL web page insecure? Find the culprit! What Is an SSL Certificate and Why You Should Care
Optimize WordPress, WordPress Tweaks
The example of the code in example in autoptimize/autoptimize_helper.php: add_filter(‘autoptimize_filter_noptimize’,’my_ao_noptimize’,10,0); function my_ao_noptimize() { if...
.htacces tweaks, SSL serificats, WordPress Tweaks
To force SSL / https:// on domain add those code to the .htaccess file: RewriteCond %{HTTPS} off # First rewrite to HTTPS: # Don’t put www. here. If it is already there it will be included, if not # the subsequent rule will catch it. RewriteRule .*...
.htacces tweaks, WordPress Tweaks
The following forces any http request to be rewritten using https. For example, the following code forces a request to http://example.com to load https://example.com. It also forces directly linked resources (images, css, etc.) to use https: RewriteEngine On...