Topic 5
Схема розділу
-
-
Functions.php file and its capabilities.
-
Laboratory work №5. Basics of PHP development for Wordpress. Information output, variables, conditions, cycles.
1. Create a shortcode named custom_shortcode in the functions.php file
2. The shortcode must implement the following functionality:
Task # in list Task 1 Print all prime numbers between 1 and 50 2 Print the squares of the numbers from 1 to 20 3 Print factorials of numbers from 1 to 10 4 Print cubes of numbers from -10 to 10 5 Print the square roots of numbers from 1 to 10 6 Output the powers of two from 1 to 10
The laboratory report should contain step-by-step steps of laboratory work
-