-
Upgrading Acorn from 2.x to 5.x
The process is very well written in documentation https://roots.io/acorn/docs/upgrading-acorn/. All went smooth until deploying to staging. I saw this error after deployment: But the question for me was why I have not experienced issue on my localhost. Because I updated only composer dependencies and functions.php, the was no reason to refresh the views automatically. All…
-
Learning CSS – materials
Flexbox https://www.joshwcomeau.com/css/interactive-guide-to-flexbox
-
How to store ACF fields in a repository
Advanced Custom Fields (ACF) is one of the most popular tools for adding custom fields to WordPress. When working on a project where ACF fields need to be stored in a code repository (e.g., Git), there are several ways to manage them. Below, we discuss four main methods: saving JSON files in the theme, saving…
-
Tools for testing page speed
https://tools.pingdom.com https://gtmetrix.com https://www.webpagetest.org https://pagespeed.web.dev Hosting performance PHP performance
-
Linux commands
Helpful Linux commands printenv – print the values of the specified environment variableshttps://man7.org/linux/man-pages/man1/printenv.1.html crontab – crontab program to manage cron tab filescrontab -e – edit the current crontab filehttps://man7.org/linux/man-pages/man1/crontab.1.html
-
Gutenberg blocks packages
The list of Gutenberg blockshttps://qodeinteractive.com/qi-blocks-for-gutenberg/
-
WP Cli packages
hachthewp Profilerhttps://github.com/wp-cli/profile-commandArticle about ithttps://guides.wp-bullet.com/using-wp-cli-wp-profile-to-diagnose-wordpress-performance-issues/ https://code-profiler.com/ – plugins comes with CLI commands for profiling
-
Kadence – add related posts section to CPT template
The Kadence theme is a popular WordPress theme that offers many customization options. One of its options is a related posts section, but it only works on built-in posts. In the article below, I will describe how to add related posts to your custom post type step by step. The article is created with developers…
-
Modyfikacja motywu Astra z poziomu kodu
Zmiana ułożenia sidebaru Niestety tutaj wychodzi brak konsekwencji w nazywaniu opcji i filtr do zmiany układu nazywa się astra_page_layout Są trzy mozliwości: left-sidebar right-sidebar no-sidebar