How to exclude categories from Category widget in functions.php

Add the following function in functions.php of your active (child?) theme and adjust the category ID numbers: // Hide categories from WordPress category widget function mo_exclude_widget_categories($args){ $exclude = “1,3,4”; // add category IDs here $args[“exclude”] = $exclude; return $args; } … Read More

0
How to set HSTS headers in functions.php

In cases where .htaccess changes is not possible and there’s a WordPress in use the HSTS headers can be set using the following function: // HSTS Headers add_action( ‘send_headers’, ‘mo_strict_transport_security’ ); function mo_strict_transport_security() { header( ‘Strict-Transport-Security: max-age=15552001; includeSubDomains; preload’ ); } … Read More

0
How to set HSTS headers with .htaccess

There are more “degrees” of HSTS and the headers can be defined in .htaccess as follows: 1 – Just set the HSTS headers and max-age as standard requires: Header always set Strict-Transport-Security “max-age=31536000”   2 – Add the HTTPS environment … Read More

0
How to redirect HTTP to HTTPS traffic with .htaccess

Open the .htaccess file in the root of your web and add these rules: # HTTPS Redirect RewriteEngine On RewriteCond %{SERVER_PORT} ^80$ RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]   The “RewriteEngine On” is needed only once in the .htaccess file, so if … Read More

0
Fastest Share Buttons Demo

Welcome to the Fastest Share Buttons demo page! The share buttons above ⇑ gets displayed when the option “Display fixed share bar, before the content” in activated,   Below ⇓ is the result of the shortcode  inserted in this text:   The … Read More

0
Fastest Share Buttons Settings

First download the plugin, Then install it on your website, Now you’re ready for configuration: Fastest Share Buttons Settings are divided in 5 sections: 1. Fastest Share Buttons display locations 2. Fastest Share Buttons selection 3. Fastest Share Buttons styling 4. Compatiblity management 5. Options … Read More

0
Fastest Share Buttons for WordPress

An extremely fast and mobile friendly social share plugin – no JS, no external API, with SVG icons, cache compatible and highly customizable with more than 20 options. Download plugin Just want to see the Demo? Go here! Just want … Read More

0