Plugin that changes text in the content for the value provided
The whole plugin that saves some text to the database and replace provided values in the content
Plugin that changes text in the content for the value provided Read More »
The whole plugin that saves some text to the database and replace provided values in the content
Plugin that changes text in the content for the value provided Read More »
In this example menu and submenu is created where specific css file is loaded with custom hook WordPress will read the hook name automatically if we provide the right syntax. When we create add_menu_page() we
How to add custom add_action hook to the custom admin settings page Read More »
There are two ways of adding a custom svg icon Solution 1. Use icon ascii code This solution will change icon color to the color prefered by wordpress First we need to change svg binary
How to add custom svg icon to wordpress menu Read More »
To make this plugin we need to follow those steps: Step 1. Create plugin folder, main php file and fill it with standard values. Step 2. Create a menu where custom text can be added
It shows how to prepare text in wordpress plugin to be translated. In this example, settings menu is created for the plugin so that we can see the translation when the language is changed. Step
How to create a wordpress plugin ready for translation Read More »
Na początek musimy sprawdzić czy posiadamy zainstalowane środowisko node.js.Można to zrobić przechodząc do konsoli cmd i wpisać Jeśli pokaże się nr wersji to pomijamy kolejny krok, a jeśli pojawi się błąd to musimy zainstalować node.jsPrzechodzimy
Jak zainstalować SASS z konsolą i node.js Read More »
Plik główny pika-ripple-button.php Plik pika-settings.php z funkcją tworzenia strony z ustawieniami Plik uninstall.php Plik pika-script.js Plik pika-style.css
Tworzenie pluginu ze stroną ustawień i polami do zmiany koloru Read More »
Plugin ma na celu zmianę wyglądu obecnych przycisków tworzonych za pomocą bloków Gutenberg oraz dodanie do nich efektu ripple po kliknięciu. Plik pika-ripple-button.php Plik pika-style.css Plik pika-script.js
Tworzenie pluginu pika-ripple-button Read More »
jQuery to biblioteka javascript, która pozwala programować znacznie szybciej. Aby dołączyć bibliotekę jQuery, należy pobrać link CDN stąd: https://code.jquery.com/ lub pobrać cały plik i umieścić na stronie, choć opcja CDN jest preferowana. Link umieszczamy w