Danův blog

Cyklistika, programování, společnost, kultura

Strana 19 z 44

CSS Timeline

Převzatý článek

Learn how to create a responsive „timeline“ with CSS.

https://danielcak.ambike.com/wp-content/uploads/2021/02/css-timeline.html

jQuery Document Ready Function For WordPress

Převzatý článek

You can set up a jQuery document ready function for use with WordPress and use the jQuery library that WordPress ships with rather than use another one. Here are three ways to use jQuery document ready function with WordPress.

Redirect all pages to a ‘Coming Soon’ Page in WordPress

Převzatý článek

You can redirect all your WordPress pages to a designated Coming Soon page for all non-logged in users with the template_redirect action hook whilst leaving all pages visible to logged in users.

So if the user is not logged in and the page is not the home page then redirect the user to the home page, if you want a different page to direct them to,  change the parameters as below.

So above the as long as the page is not ‘comingsoon’ the non-logged in user will be redirected to it.

Change @WordPress from email address and from name sent out from website

Převzatý článek

WordPress sends a few emails out from a website including password reset emails that have a from email address wordpress@yoursite.com they also have a from name of WordPress.

Two WordPress filters can change these values wp_mail_from and wp_mail_from_name – add the below code in your child themes functions.php and change the appropriate values.

You could also bring in option values already created in the Settings > General page and use the Blogname and Admin Email values…

Loading.io

Loading.io je skvělý zdroj animovaných ikon. Zajímavá je zvláště jejich SVG varianta, stačí je prozkoumat v Chrome Developers Console.

Best Image Gallery & Responsive Photo Gallery – FooGallery

FooGallery – Responsive Photo Gallery, Image Viewer, Justified, Masonry & Carousel

WordPress Admin Bar Tricks

Převzatý článek

According to our latest poll, so far the votes are pretty much split on whether people lovehate, or don’t care about WordPress‘ new Admin Bar. Over time, it looks like „Hate it“ has started to pull ahead, but it doesn’t matter because the Admin Bar Toolbar is here to stay, regardless of opinion. Already there are many awesome ways to make it do virtually whatever you want. So that’s the deal, and in this DigWP post, we round up a ton of tips, tricks, and plugins for ultimately mastering the WordPress Admin Bar.

18 Tips on How to Speed up WordPress

Převzatý článek

WordPress is an amazing CMS platform, but it can also be quite slow if not optimized correctly. In this guide, we will show you how to speed up WordPress by sharing our web performance strategies and recommendations.

Businesses all over the world rely on WordPress to power their websites. It is used by over half of those that use a content management system and according to ManageWP, that is over 74 million websites that are currently using WordPress.

GeoIP – modul pro blokování přístupů

Umožňuje blokaci přistupů a tedy účinnou obranu proti útokům ze zahraničí s výjimkou přístupů z ČR a SK.

Do souboru .htaccess stačí vložit tento kód:

Toto nastavení blokuje požadavky směřující na soubor wp-login.php a xmlrpc.php (nejčastější zdroje útoků).

Kódy států jsou definovány dle standardu ISO 3166-1 (alpha-2).

Takto bude vypadat zápis výjimky pouze pro Českou Republiku:

A takto kombinace výjimek pro CZ, SK, DE:

Easy WP SMTP

Easy WP SMTP by SendLayer – WordPress SMTP and Email Log Plugin

Strana 19 z 44

Powered by WordPress & Theme by Anders Norén