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

Rubrika: WordPress Strana 2 z 10

WordPress je svobodný open source redakční publikační systém napsaný v PHP a MySQL a vyvíjený pod licencí GNU GPL. Je oficiálním nástupcem systému b2/cafelog a má širokou uživatelskou a vývojářskou komunitu. Dle oficiálních statistik je používán jako CMS (z anglického content management system – systém pro správu obsahu) na více než 25 % webových stránek na světě a překonává tak open source CMS jako Joomla či Drupal, které se drží pod třemi procenty.

How to add custom block editor css in WordPress

(Jak přidat vlastní css editoru bloků do WordPressu)

Převzatý článek

So you have changed the style of your WordPress child theme in style.css and see the changes on your WordPress website. But the style of the block editor remains the same when you are creating or updating your posts or pages.

Jak najít RSS feed pro kanál YouTube

RSS zdroj vašeho oblíbeného kanálu Youtube není z nějakého důvodu u kanálu uveden a těžko se hledá. Můžete si pomoci tímto hackem:

https://www.youtube.com/feeds/videos.xml?channel_id=id_kanalu

Za id_kanalu dosaďte jeho skutečné id, které je uvedeno v adrese kanálu za channel/, tedy v tomto případě z adresy https://www.youtube.com/channel/UC4ghMQ16P3acuKKXHTtkS7w je id kanálu UC4ghMQ16P3acuKKXHTtkS7w.

Další možnosti najdete v tomto článku.

Jak ve WordPress přeložit jakýkoliv řetězec

Převzatý článek

V některých případech, když potřebujete změnit překlad nebo přeložit textový řetězec, není vhodné zasahovat do pluginu, šablony nebo jádra. Jednodušším způsobem pak může být úprava překladu pomocí vlastní funkce.

WordPress – předávání parametrů v url

WordPress parametry v url automaticky „odstřihne“. Je třeba přidat do functions.php:

a následně v šabloně použít:

Zdroj

Add Parallax Effect to Background Image by Gutenberg Editor

Převzatý článek

From wordpress 5.0, new visual editor called Gutenberg Editor will be installed as default visual editor of wordpress. (It can be available by activating Gutenberg plugin in wordpress 4.9.) And it can make us add cover image block (background image block) from visual editor. Here, we will explain how to add parallax effect to background image added by Gutenberg.

How to Create a Simple Gutenberg Block Pattern in WordPress

Převzatý článek

As the WordPress Gutenberg block editor evolves, new features are being added to make content creation easier. And block patterns may just be the most exciting addition for both web designers and their clients.
Celý článek

Styling Wide and Full-Width Gutenberg Blocks in WordPress

Převzatý článek

The Gutenberg block editor for WordPress has changed how we create content within the CMS. But it’s also opened up some new possibilities on the front end as well.

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…

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.

Powered by WordPress & Theme by Anders Norén