by WPHW | Nov 29, 2022 | Uncategorized
For this lesson, you will need: Access to an online PHP interpreter. I’ll be using OneCompiler for this example. View my quick overview of OneCompiler A basic primer on math in PHP – These articles should do the trick Tutorials point – Working with PHP...
by WPHW | Nov 29, 2022 | Uncategorized
by WPHW | Nov 29, 2022 | Learning PHP with Wordpress
For this exercise, you will need: Access to an online PHP interpreter. Some good examples are: https://onecompiler.com/php and https://onlinephp.io/ A cup of coffee ☕️ Step 1. Run the example code To get started, go to https://onecompiler.com/php/, and just...
by WPHW | Nov 29, 2022 | Learning PHP with Wordpress
For this exercise, you will need: Access to an online PHP interpreter. I’ll be using OneCompiler for this example. View my quick overview of OneCompiler A cup of coffee ☕️ 1. The PHP tag You’ll notice that first line of your script looks like this...
by WPHW | Sep 4, 2021 | Routing
First add the query param : In your functions.php file add the line function heavy_article_query_vars($query_vars) { $query_vars[] = “kbid”; // the name of the custom query param we want to add return $query_vars; } Next, add the filter function to query...
by WPHW | Jun 22, 2021 | Getting Started With Wordpress
Decide which version of WordPress is right for you Wordpress.org vs WordPress.com Wordpress comes in two flavors. The hosted SAAS (software as a service) version Worpdress.com, and the self-hosted WordPress.org. Both use the same software under the hood, but each...